]> git.pld-linux.org Git - packages/kodi.git/blobdiff - xbmc.spec
- release 5 (by relup.sh)
[packages/kodi.git] / xbmc.spec
index c9b333b0c91473e471844b80e820ec38c512a7bd..605646e0394db476c80a1824d5abffddd18b8bf1 100644 (file)
--- a/xbmc.spec
+++ b/xbmc.spec
@@ -6,21 +6,22 @@
 #  - split to subpackages?
 #
 # Conditional build:
+%bcond_without cec     # build without cec support
 %bcond_without goom    # build without goom visualisation
-%bcond_with    hal                     # build with HAL
+%bcond_with    hal     # build with HAL
 
 Summary:       XBMC is a free and open source media-player and entertainment hub
 Name:          xbmc
 Version:       12.2
-Release:       2
+Release:       5
 License:       GPL v2+ and GPL v3+
 Group:         Applications/Multimedia
 Source0:       http://mirrors.xbmc.org/releases/source/%{name}-%{version}.tar.gz
 # Source0-md5: 489f3877decae4e265ece54f9eaef0ba
+Patch0:                ffmpeg2.patch
 URL:           http://xbmc.org/
 BuildRequires: Mesa-libGLU-devel
 BuildRequires: OpenGL-devel
-BuildRequires: SDL-devel
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRequires: alsa-lib-devel
@@ -43,15 +44,17 @@ BuildRequires:      gettext-autopoint
 BuildRequires: gettext-devel
 BuildRequires: glew-devel
 BuildRequires: gperf
-%if %{with hal}
-BuildRequires: hal-devel
-%endif
+%{?with_hal:BuildRequires:     hal-devel}
 BuildRequires: jasper-devel
+BuildRequires: jre
 BuildRequires: libass-devel
-BuildRequires: libbluray-devel
+BuildRequires: libbluray-devel >= 0.2.1
+BuildRequires: libcap-devel
 BuildRequires: libcdio-devel
-BuildRequires: libcec-devel
+%{?with_cec:BuildRequires:     libcec-devel}
+%ifarch i686 pentium4 athlon %{x8664}
 BuildRequires: libcrystalhd-devel
+%endif
 BuildRequires: libgcrypt-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libmad-devel
@@ -78,7 +81,6 @@ BuildRequires:        nasm
 %endif
 BuildRequires: openssl-devel
 BuildRequires: pcre-cxx-devel
-BuildRequires: pcre-devel
 BuildRequires: pkgconfig
 BuildRequires: pulseaudio-devel
 BuildRequires: python-devel >= 2.4
@@ -87,6 +89,8 @@ BuildRequires:        rpmbuild(macros) >= 1.566
 # used internally
 BuildRequires: sed >= 4.0
 BuildRequires: sqlite3-devel
+BuildRequires: swig
+BuildRequires: taglib-devel >= 1.8
 BuildRequires: tinyxml-devel
 BuildRequires: udev-devel
 BuildRequires: unzip
@@ -121,6 +125,7 @@ forecast functions, together third-party plugins.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 ./bootstrap
@@ -134,7 +139,8 @@ forecast functions, together third-party plugins.
        --disable-afpclient \
        --disable-airtunes \
        %{__enable_disable goom} \
-       %{__enable_disable hal}
+       %{__enable_disable hal} \
+       %{__enable_disable libcec}
 
 LIBS="-lpthread"
 %{__make} V=1
This page took 0.070881 seconds and 4 git commands to generate.