]> git.pld-linux.org Git - packages/kodi.git/commitdiff
- updated to 10.0
authorw.kier <w.kier@pld-linux.org>
Wed, 22 Dec 2010 18:44:16 +0000 (18:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  added patch to compile against python 2.7
  executables moved to _libdir/xbmc

Changed files:
    xbmc.spec -> 1.15

xbmc.spec

index 4d570988d1e29eab3f76aa11fc6e8f38794e8c77..cd9dfb025e300d53e221905f246f0403e9e6adb2 100644 (file)
--- a/xbmc.spec
+++ b/xbmc.spec
@@ -2,20 +2,27 @@
 # TODO:
 #  - fix build flags - some files are compiled with -O3 and without rpm*flags
 #  - fix linking argument order
-#  - fix install - add DESTDIR support
-#  - don't put binary in %{_datadir} and fix start scripts
+#  - fix nvidia vs. libXrandr >= 1.2 conflict (nvidia drivers still supports 
+#    only libXrandr 1.1 - with no gamma support)
+#  - add and/or fix users/groups permissions
+#  - didvide to subpackages?
+#  - check how it works with external python libraries
 #
+# Conditional build:
+%bcond_with     external_python
+
 Summary:       XBMC
 Name:          xbmc
-Version:       9.11
+Version:       10.0
 Release:       0.1
 License:       GPL v3
 Group:         Applications/Multimedia
 Source0:       http://downloads.sourceforge.net/project/xbmc/XBMC%20Source%20Code/Camelot%20-%209.11/%{name}-%{version}.tar.gz
-# Source0-md5: 9a68ac1e2f44a54cc3803fcdb1265767
+# Source0-md5: 728fb514e5f43f27bb880305061b4e72
 URL:           http://xbmc.org
 Patch0:                %{name}-nobash.patch
-Patch1:                %{name}-libpng14.patch
+Patch1:         %{name}-python27.patch
+Patch2:                %{name}-libpng14.patch
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRequires: a52dec-libs-devel
@@ -29,7 +36,6 @@ BuildRequires:        cmake
 BuildRequires: curl-devel
 BuildRequires: dbus-devel
 BuildRequires: enca-devel
-BuildRequires: esound-devel
 BuildRequires: faac-devel
 BuildRequires: faad2-devel
 BuildRequires: ffmpeg-devel
@@ -38,6 +44,7 @@ BuildRequires:        fontconfig-devel
 BuildRequires: freetype-devel
 BuildRequires: fribidi-devel
 BuildRequires: gawk
+BuildRequires:  gettext-autopoint
 BuildRequires: gettext-devel
 BuildRequires: glew-devel
 BuildRequires: gperf
@@ -49,6 +56,8 @@ BuildRequires:        libcdio-devel
 BuildRequires: libdts-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libmad-devel
+BuildRequires:  libmicrohttpd-devel
+BuildRequires:  libmodplug-devel
 BuildRequires: libmms-devel
 BuildRequires: libmpeg2-devel
 BuildRequires: libogg-devel
@@ -65,6 +74,7 @@ BuildRequires:        mysql-devel
 BuildRequires: nasm
 %endif
 BuildRequires: openssl-devel
+BuildRequires:  pcre-cxx-devel
 BuildRequires: pkgconfig
 BuildRequires: pulseaudio-devel
 BuildRequires: python-devel
@@ -82,6 +92,7 @@ BuildRequires:        zip
 BuildRequires: zlib-devel
 Requires:      lsb-release
 Requires:      xorg-app-xdpyinfo
+Requires:      /usr/bin/glxinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -90,20 +101,21 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %setup -q
 %patch0 -p1
 %patch1 -p1
+#%patch2 -p1
 
 %build
 ./bootstrap
 %configure \
        --disable-debug \
        --enable-external-libraries \
-       --enable-external-python
+       --%{?with_external_python:en}%{!?with_external_python:dis}able-external-python
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       prefix=$RPM_BUILD_ROOT%{_prefix}
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -115,8 +127,9 @@ rm -rf $RPM_BUILD_ROOT
 #%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
-%attr(755,root,root) %{_datadir}/%{name}/xbmc.bin
-%attr(755,root,root) %{_datadir}/%{name}/xbmc-xrandr
+%attr(755,root,root) %{_libdir}/%{name}
+%{_docdir}/%{name}
 %{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/%{name}.png
+%{_iconsdir}/hicolor/256x256/apps/%{name}.png
+%{_iconsdir}/hicolor/48x48/apps/%{name}.png
 %{_datadir}/xsessions/XBMC.desktop
This page took 0.180146 seconds and 4 git commands to generate.