]> git.pld-linux.org Git - packages/xbmc.git/blobdiff - xbmc.spec
- added libcrystalhd-devel to shorten TODO
[packages/xbmc.git] / xbmc.spec
index 0a2ad844b54e7a6e80c7862835783a752fa04dc3..c9b333b0c91473e471844b80e820ec38c512a7bd 100644 (file)
--- a/xbmc.spec
+++ b/xbmc.spec
@@ -2,25 +2,22 @@
 # TODO:
 #  - fix build flags - some files are compiled with -O3 and without rpm*flags
 #  - fix linking argument order
-#  - fix nvidia vs. libXrandr >= 1.2 conflict (nvidia drivers still supports
-#    only libXrandr 1.1 - with no gamma support; it causes application crash
-#    on XRRSetCrtcGamma function called by SDL_SetVideoMode)
 #  - add and/or fix users/groups permissions
 #  - split to subpackages?
 #
 # Conditional build:
-%bcond_without goom
-%bcond_with    hal
+%bcond_without goom    # build without goom visualisation
+%bcond_with    hal                     # build with HAL
 
-Summary:       XBMC
+Summary:       XBMC is a free and open source media-player and entertainment hub
 Name:          xbmc
-Version:       11.0
-Release:       1
-License:       GPL v3
+Version:       12.2
+Release:       2
+License:       GPL v2+ and GPL v3+
 Group:         Applications/Multimedia
-Source0:       http://mirrors.xbmc.org/releases/source/xbmc-%{version}.tar.gz
-# Source0-md5: 9e8a26ee25173c7268abea7f1d82d428
-URL:           http://xbmc.org
+Source0:       http://mirrors.xbmc.org/releases/source/%{name}-%{version}.tar.gz
+# Source0-md5: 489f3877decae4e265ece54f9eaef0ba
+URL:           http://xbmc.org/
 BuildRequires: Mesa-libGLU-devel
 BuildRequires: OpenGL-devel
 BuildRequires: SDL-devel
@@ -53,6 +50,8 @@ BuildRequires:        jasper-devel
 BuildRequires: libass-devel
 BuildRequires: libbluray-devel
 BuildRequires: libcdio-devel
+BuildRequires: libcec-devel
+BuildRequires: libcrystalhd-devel
 BuildRequires: libgcrypt-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libmad-devel
@@ -69,6 +68,7 @@ BuildRequires:        libssh-devel
 BuildRequires: libtiff-devel
 BuildRequires: libtool
 BuildRequires: libva-devel
+BuildRequires: libva-glx-devel
 BuildRequires: libvdpau-devel
 BuildRequires: libvorbis-devel
 BuildRequires: lzo-devel
@@ -87,6 +87,7 @@ BuildRequires:        rpmbuild(macros) >= 1.566
 # used internally
 BuildRequires: sed >= 4.0
 BuildRequires: sqlite3-devel
+BuildRequires: tinyxml-devel
 BuildRequires: udev-devel
 BuildRequires: unzip
 BuildRequires: xorg-lib-libX11-devel
@@ -106,10 +107,6 @@ BuildRequires:     zlib-devel
 #http://mirrors.xbmc.org/build-deps/darwin-libs/libshairport-1.2.0.20310_lib.tar.gz
 #https://github.com/albertz/shairport
 #BuildRequires: libshairport
-#http://www.broadcom.com/support/crystal_hd/
-#BuildRequires:        crystalhd-devel
-#http://libcec.pulse-eight.com/
-#BuildRequires:        libcec-devel >= 1.1.0
 Requires:      /usr/bin/glxinfo
 Requires:      SDL >= 1.2.14-5
 Requires:      lsb-release
@@ -117,6 +114,10 @@ Requires:  xorg-app-xdpyinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+XBMC media center is a free cross-platform media-player jukebox and
+entertainment hub. XBMC can play a spectrum of of multimedia formats,
+and featuring playlist, audio visualizations, slideshow, and weather
+forecast functions, together third-party plugins.
 
 %prep
 %setup -q
@@ -126,21 +127,20 @@ BuildRoot:        %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %configure \
        --disable-debug \
        --enable-external-libraries \
+       --enable-pulse \
        --enable-udev \
-       --disable-libcec \
        --disable-libusb \
        --disable-nfs \
        --disable-afpclient \
        --disable-airtunes \
-       --disable-crystalhd \
        %{__enable_disable goom} \
        %{__enable_disable hal}
-       
+
+LIBS="-lpthread"
 %{__make} V=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
This page took 0.132423 seconds and 5 git commands to generate.