1 |
|
|
2 |
%define name xbmc |
%define name xbmc |
3 |
%define branch_release dharma |
%define branch_release Eden |
4 |
%define extra_feature pvr |
%define extra_feature pvr |
5 |
%define version 10.1 |
%define version 11.0 |
6 |
%define snap 0 |
%define snap 0 |
7 |
%define rel 5 |
%define pre rc2 |
8 |
|
%define rel 1 |
9 |
|
|
10 |
%if %snap |
%if %snap |
11 |
%define branch %branch_release.%extra_feature |
%define branch %branch_release.%extra_feature |
15 |
|
|
16 |
%define branchr %([ "%branch" ] && echo .%branch | tr - _) |
%define branchr %([ "%branch" ] && echo .%branch | tr - _) |
17 |
|
|
|
# There are some compatibility issues with the various python addons which |
|
|
# are mostly tested against bundled python only, and there are too many of |
|
|
# them to be checked out and fixed by us for system python compatibility. |
|
|
# Additional issues are caused by the bundled python having several system |
|
|
# calls redirected through xbmc VFS layer, which doesn't currently work when |
|
|
# using the system python. Usage of system python can probably be safely |
|
|
# re-enabled when XBMC upstream migrates away from python 2.4 and fixes the |
|
|
# issues regarding external python (this is planned). -Anssi 11/2010 |
|
|
%define system_python 0 |
|
|
|
|
|
# using system python2.7+ reportedly causes problems with |
|
|
# getcwd() and chdir() calls from python |
|
|
# http://trac.xbmc.org/ticket/8658 |
|
|
%define system_python 0 |
|
|
|
|
18 |
Summary: XBMC Media Center - media player and home entertainment system |
Summary: XBMC Media Center - media player and home entertainment system |
19 |
Name: %{name} |
Name: %{name} |
20 |
Version: %{version} |
Version: %{version} |
21 |
%if %snap |
%if %snap |
22 |
Release: %mkrel 0.svn%snap%branchr.%rel |
Release: %mkrel 0.git%snap%branchr.%rel |
|
# REV=$(git log -1 origin/Dharma | grep git-svn-id | sed -ne 's,^.*@\([^ ]\+\).*$,\1,p') |
|
|
# git archive --prefix=xbmc-dharma-$REV/ origin/Dharma | xz > xbmc-dharma-$REV.tar.xz |
|
23 |
Source: %{name}-%branch_release-%snap.tar.xz |
Source: %{name}-%branch_release-%snap.tar.xz |
24 |
%else |
%else |
25 |
|
%if %pre |
26 |
|
Release: %mkrel 0.%pre%branchr.%rel |
27 |
|
Source: %{name}-%{version}-%{branch_release}_%{pre}.tar.gz |
28 |
|
%else |
29 |
Release: %mkrel 1.%branch.%rel |
Release: %mkrel 1.%branch.%rel |
30 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
31 |
%endif |
%endif |
32 |
|
%endif |
33 |
URL: http://xbmc.org/ |
URL: http://xbmc.org/ |
34 |
|
|
|
# needed modules when using bundled python (versions are those expected by the Makefiles): |
|
|
Source11: http://www.effbot.org/downloads/Imaging-1.1.7.tar.gz |
|
|
Source12: http://pysqlite.googlecode.com/files/pysqlite-2.5.6.tar.gz |
|
|
|
|
35 |
# bring snapshot up-to-date with pvr branch |
# bring snapshot up-to-date with pvr branch |
36 |
# https://github.com/opdenkamp/xbmc/tree/Dharma-pvr |
# https://github.com/opdenkamp/xbmc |
37 |
Patch0: xbmc-10.0-opdenkamp-pvr-fdb057b7754.patch |
# git diff 4246dffa9896d0c66dc79a97c2d3c8a3d4c4a183..opdenkamp/Eden-pvr |
38 |
|
# rediffed with already-applied hunks removed |
39 |
# bring snapshot up-to-date with main branch (patches rediffed for pvr): |
Patch0: xbmc-Eden-pvr-rc1.1.patch |
|
# already up-to-date |
|
|
#Patch18: xbmc-dharma-r35305-r%svnsnap.patch |
|
|
|
|
|
# VDPAU backports from upstream master |
|
|
Patch31: 0001-changed-split-CDVDVideoCodecFFmpeg-GetPicture.patch |
|
|
Patch32: 0002-fixed-VDPAU-temporal-deinterlacer-was-not-provided-e.patch |
|
|
Patch33: 0003-changed-allow-VDPAU-reverse-telecine-when-deinterlac.patch |
|
|
Patch34: 0004-fixed-VDPAU-reverse-telecine.patch |
|
|
Patch35: 0005-changed-enable-VDPAU-temporal-deinterlacer-when-temp.patch |
|
|
Patch36: 0006-fixed-flush-VDPAU-video-surfaces-and-picture-queue-w.patch |
|
|
Patch37: 0007-fixed-picture.iDuration-0-comparison.patch |
|
|
Patch38: 0008-fixed-vdpau-needs-to-memset-its-DVDVideoPicture-stru.patch |
|
|
|
|
|
# backports from upstream master |
|
|
Patch40: 0001-added-note-in-linux-crashlog-if-gdb-is-not-installed.patch |
|
|
Patch41: 0001-Added-9763-Fix-64-bit-WiiRemote-connection-issues-Th.patch |
|
|
|
|
|
# adapt to the current FFmpeg API (upstream patches) |
|
|
Patch101: 0001-changed-use-the-new-ffmpeg-decoding-functions.patch |
|
|
Patch102: 0002-changed-replace-use-of-deprecated-CH_-and-SampleForm.patch |
|
|
Patch103: 0003-changed-use-the-new-ffmpeg-parser-function.patch |
|
|
Patch104: 0004-changed-use-av_metadata_get-instead-of-the-deprecate.patch |
|
|
Patch105: 0005-changed-replace-deprecated-use-of-CODEC_TYPE_-defini.patch |
|
|
Patch106: 0006-fixed-build-with-recent-external-ffmpeg-fixes-11259.patch |
|
|
Patch107: 0007-removed-use-of-AVFormatParameters-when-encoding.patch |
|
|
Patch108: 0008-Fix-compile-against-latest-ffmpeg.patch |
|
|
Patch109: 0009-remove-hurry_up-in-VDPAU.cpp.patch |
|
|
Patch110: 0010-fixed-use-ffmpeg-cpu-autodetection-for-audio-and-ove.patch |
|
|
Patch111: 0011-added-import-av_set_string3-from-libavutil.patch |
|
|
Patch112: 0012-removed-unused-function-CDVDFileInfo-GetFileMetaData.patch |
|
40 |
|
|
41 |
# Disable updates of the default skin. Our one is the PVR version, while the |
# Disable updates of the default skin. Our one is the PVR version, while the |
42 |
# one in the XBMC.org addon repository would be the vanilla one (Confluence |
# one in the XBMC.org addon repository would be the vanilla one (Confluence |
43 |
# is currently not in the addon repository, though, as of 2010-10). |
# is currently not in the addon repository, though, as of 2012-03). |
44 |
Patch201: xbmc-disable-confluence-update.patch |
Patch201: xbmc-disable-confluence-update.patch |
45 |
|
|
46 |
# Workaround http://www.nvnews.net/vbulletin/showthread.php?t=156665 |
# fix build with libpng 1.5 |
47 |
# by forcing SDL to use alsa when pulse is disabled and nvidia proprietary |
# https://github.com/xbmc/xbmc/pull/601 |
48 |
# driver version 260.x.y older than 260.19.21 is active. |
# patch of Zenkibou @ 2012-01-14 |
49 |
Patch202: 0001-added-workaround-for-crash-with-nonpulse-nvidia260.patch |
Patch210: xbmc-libpng-1.5.patch |
|
|
|
|
# forkpty and openpty are in -lutil |
|
|
Patch203: 0001-fixed-undefined-symbols-in-internal-python.patch |
|
|
|
|
|
# Ensure backward-compatibility with pvr-testing2 and prevent future compatibility |
|
|
# issues with trunk Addons database format |
|
|
Patch204: 0001-changed-use-the-legacy-pvr-testing2-addon-database.patch |
|
|
|
|
|
# Do not use avg_frame_rate for mkv files on 2010.1 and older, instead |
|
|
# use time_base if needed (fixes MicroDVD subtitles with 23.976 H.264 mkv) |
|
|
Patch205: xbmc-old-libavformat-mkv-subs.patch |
|
|
|
|
|
# build faad support with internal headers, but do not build the |
|
|
# internal library; use system lib with dlopen instead; |
|
|
# this allows keeping it as an optional external library |
|
|
Patch206: xbmc-hack-ext-faad-with-int-headers.patch |
|
|
|
|
|
# adapt PVR patch to the current FFmpeg API |
|
|
Patch207: xbmc-pvr-new-ffmpeg.patch |
|
|
|
|
|
# use libpng12.pc instead of libpng.pc (incompatible API) |
|
|
Patch208: xbmc-use-libpng12.patch |
|
|
|
|
|
# link WiiRemote event client to -lbluetooth, for missing symbol 'hci_get_route' |
|
|
# (fixes build) |
|
|
Patch209: xbmc-wiiremote-link-bluetooth.patch |
|
|
|
|
|
# CVE fixes for the internal python |
|
|
Patch301: 0001-fixed-CVE-2007-2052-in-internal-python-Mandriva.patch |
|
|
Patch302: 0002-fixed-CVE-2007-4965-in-internal-python-upstream.patch |
|
|
Patch303: 0003-fixed-CVE-2008-1679-in-internal-python-upstream.patch |
|
|
Patch304: 0004-fixed-CVE-2008-1887-in-internal-python-upstream.patch |
|
|
Patch305: 0005-fixed-CVE-2008-1721-in-internal-python-upstream.patch |
|
|
Patch306: 0006-fixed-CVE-2008-2315-in-internal-python-Gentoo.patch |
|
|
Patch307: 0007-fixed-CVE-2008-3142-in-internal-python-Gentoo.patch |
|
|
Patch308: 0008-fixed-CVE-2008-3144-in-internal-python-Gentoo.patch |
|
|
Patch309: 0009-fixed-CVE-2008-4864-in-internal-python-Mandriva.patch |
|
|
Patch310: 0010-fixed-CVE-2008-5031-in-internal-python-upstream.patch |
|
|
Patch311: 0011-fixed-CVE-2010-1634-in-internal-python-Mandriva.patch |
|
|
Patch312: 0012-fixed-CVE-2010-2089-in-internal-python-Mandriva.patch |
|
|
Patch313: 0013-fixed-CVE-2009-2625-in-internal-python-Mandriva.patch |
|
|
Patch314: 0014-fixed-CVE-2010-3492-in-internal-python-Mandriva.patch |
|
|
Patch315: 0015-fixed-CVE-2010-3493-in-internal-python-Mandriva.patch |
|
50 |
|
|
51 |
|
# Make the MythTV PVR client buildable: |
52 |
|
Patch211: 0001-fixed-undefined-symbols-in-MythTV-PVR-client.patch |
53 |
|
|
54 |
# nosefart audio plugin and RSXS-0.9 based screensavers are GPLv2 only |
# nosefart audio plugin and RSXS-0.9 based screensavers are GPLv2 only |
55 |
# libhts, libhdhomerun and several eventclients are GPLv3+ |
# several eventclients are GPLv3+ (in subpackages) |
56 |
|
# libhdhomerun is LGPLv3+ with an exception (always ok to link against it) |
57 |
# the rest is GPLv2+ |
# the rest is GPLv2+ |
58 |
License: GPLv3+ and GPLv2+ and GPLv2 |
# both GPLv2+ and GPLv2 are mentioned because plugins are not part of core |
59 |
|
# xbmc and therefore e.g. /usr/bin/xbmc is wholly GPLv2+ (with LGPLv3+ part |
60 |
|
# allowed by a license exception) |
61 |
|
License: GPLv2+ and GPLv2 and (LGPLv3+ with exceptions) |
62 |
Group: Video |
Group: Video |
63 |
BuildRoot: %{_tmppath}/%{name}-root |
BuildRoot: %{_tmppath}/%{name}-root |
64 |
BuildRequires: boost-devel |
BuildRequires: boost-devel |
82 |
BuildRequires: fontconfig-devel |
BuildRequires: fontconfig-devel |
83 |
BuildRequires: fribidi-devel |
BuildRequires: fribidi-devel |
84 |
BuildRequires: sqlite3-devel |
BuildRequires: sqlite3-devel |
85 |
BuildRequires: libpng12-devel |
BuildRequires: libpng-devel |
86 |
BuildRequires: libpcre-devel |
BuildRequires: libpcre-devel |
87 |
BuildRequires: libcdio-devel |
BuildRequires: libcdio-devel |
88 |
BuildRequires: libmms-devel |
BuildRequires: libmms-devel |
122 |
BuildRequires: rtmp-devel |
BuildRequires: rtmp-devel |
123 |
BuildRequires: bluray-devel |
BuildRequires: bluray-devel |
124 |
BuildRequires: bluez-devel |
BuildRequires: bluez-devel |
125 |
|
BuildRequires: udev-devel |
126 |
|
BuildRequires: yajl-devel |
127 |
|
BuildRequires: nfs-devel |
128 |
|
BuildRequires: afpclient-devel |
129 |
|
BuildRequires: libplist-devel |
130 |
|
BuildRequires: shairport-devel |
131 |
|
# TODO (doktor5000) BuildRequires: cec-devel |
132 |
BuildRequires: cmake |
BuildRequires: cmake |
133 |
BuildRequires: gperf |
BuildRequires: gperf |
134 |
BuildRequires: zip |
BuildRequires: zip |
135 |
%ifarch %ix86 |
%ifarch %ix86 |
136 |
BuildRequires: nasm |
BuildRequires: nasm |
137 |
%endif |
%endif |
|
%if !%system_python |
|
|
# python-imaging |
|
|
BuildRequires: lcms-devel |
|
|
%endif |
|
138 |
Requires: lsb-release |
Requires: lsb-release |
139 |
# dlopened (existence check required by rpm5 as it doesn't use stderr): |
# dlopened (existence check required by rpm5 as it doesn't use stderr): |
140 |
%define dlopenreq() %([ -e %{_libdir}/lib%{1}.so ] && rpm -qf --qf '%%{name}' $(readlink -f %{_libdir}/lib%{1}.so) 2>/dev/null || echo %{name}) |
%define dlopenreq() %([ -e %{_libdir}/lib%{1}.so ] && rpm -qf --qf '%%{name}' $(readlink -f %{_libdir}/lib%{1}.so) 2>/dev/null || echo %{name}) |
147 |
Requires: %dlopenreq vorbisfile |
Requires: %dlopenreq vorbisfile |
148 |
Requires: %dlopenreq modplug |
Requires: %dlopenreq modplug |
149 |
Requires: %dlopenreq rtmp |
Requires: %dlopenreq rtmp |
150 |
|
Requires: %dlopenreq mpeg2 |
151 |
|
Requires: %dlopenreq ass |
152 |
|
Requires: %dlopenreq bluray |
153 |
|
Requires: %dlopenreq nfs |
154 |
|
Requires: %dlopenreq afpclient |
155 |
|
Requires: %dlopenreq plist |
156 |
|
Requires: %dlopenreq shairport |
157 |
|
# TODO (doktor5000) Requires: %dlopenreq cec |
158 |
# not nearly as common as the above, so just suggest instead for now: |
# not nearly as common as the above, so just suggest instead for now: |
|
Suggests: %dlopenreq bluray |
|
159 |
Suggests: %dlopenreq crystalhd |
Suggests: %dlopenreq crystalhd |
160 |
# for FEH.py, to check current configuration is ok for xbmc: |
# for FEH.py, to check current configuration is ok for xbmc: |
161 |
Requires: xdpyinfo |
Requires: xdpyinfo |
163 |
# for FEH.py to allow it to give an error message (should be available already |
# for FEH.py to allow it to give an error message (should be available already |
164 |
# on most systems): |
# on most systems): |
165 |
Requires: pygtk2 |
Requires: pygtk2 |
|
%if %system_python |
|
166 |
# for xbmc python scripts: |
# for xbmc python scripts: |
167 |
Requires: python-imaging |
Requires: python-imaging |
168 |
Requires: python-sqlite2 |
# Packages not shipped in core: |
|
%endif |
|
|
# Packages not shipped by Mandriva: |
|
|
Suggests: %{_lib}faad2_2 |
|
169 |
Suggests: %{_lib}lame0 |
Suggests: %{_lib}lame0 |
|
Suggests: %{_lib}dca0 |
|
170 |
Suggests: %{_lib}dvdcss2 |
Suggests: %{_lib}dvdcss2 |
171 |
|
|
172 |
# Packages have been merged |
# Packages have been merged |
189 |
engine, XBMC feels very natural to use from the couch and is the |
engine, XBMC feels very natural to use from the couch and is the |
190 |
ideal solution for your home theater. |
ideal solution for your home theater. |
191 |
|
|
192 |
This is the stable version of XBMC from the dharma release branch, |
This is the stable version of XBMC from the %branch_release release branch, |
193 |
with PVR support added from opdenkamp Dharma-pvr branch. Support for |
with PVR support added from opdenkamp %branch_release-pvr branch. Support for |
194 |
RAR files and XBMS protocol is not included due to license issues. |
RAR files is not included due to license issues. |
195 |
|
|
196 |
%package eventclients-common |
%package eventclients-common |
197 |
Summary: Common files for XBMC eventclients |
Summary: Common files for XBMC eventclients |
198 |
Group: Video |
Group: Video |
199 |
|
License: GPLv2+ |
200 |
%py_requires |
%py_requires |
201 |
|
|
202 |
%description eventclients-common |
%description eventclients-common |
208 |
%package eventclients-devel |
%package eventclients-devel |
209 |
Summary: Development files for XBMC eventclients |
Summary: Development files for XBMC eventclients |
210 |
Group: Development/C |
Group: Development/C |
211 |
|
License: GPLv2+ |
212 |
|
|
213 |
%description eventclients-devel |
%description eventclients-devel |
214 |
XBMC is an award-winning free and open source software media player |
XBMC is an award-winning free and open source software media player |
219 |
%package eventclient-wiiremote |
%package eventclient-wiiremote |
220 |
Summary: Wii Remote eventclient for XBMC |
Summary: Wii Remote eventclient for XBMC |
221 |
Group: Video |
Group: Video |
222 |
|
License: GPLv3+ |
223 |
Requires: %{name}-eventclients-common = %{version}-%{release} |
Requires: %{name}-eventclients-common = %{version}-%{release} |
224 |
|
|
225 |
%description eventclient-wiiremote |
%description eventclient-wiiremote |
231 |
%package eventclient-j2me |
%package eventclient-j2me |
232 |
Summary: J2ME eventclient for XBMC |
Summary: J2ME eventclient for XBMC |
233 |
Group: Video |
Group: Video |
234 |
|
License: GPLv2+ |
235 |
Requires: python-pybluez |
Requires: python-pybluez |
236 |
Requires: %{name}-eventclients-common = %{version}-%{release} |
Requires: %{name}-eventclients-common = %{version}-%{release} |
237 |
|
|
245 |
%package eventclient-ps3 |
%package eventclient-ps3 |
246 |
Summary: PS3 eventclients for XBMC |
Summary: PS3 eventclients for XBMC |
247 |
Group: Video |
Group: Video |
248 |
|
License: GPLv2+ |
249 |
Requires: python-pybluez |
Requires: python-pybluez |
250 |
Requires: %{name}-eventclients-common = %{version}-%{release} |
Requires: %{name}-eventclients-common = %{version}-%{release} |
251 |
# requires via zeroconf.py, only used by xbmc-ps3d: |
# requires via zeroconf.py, only used by xbmc-ps3d: |
262 |
%package eventclient-xbmc-send |
%package eventclient-xbmc-send |
263 |
Summary: PS3 eventclient for XBMC |
Summary: PS3 eventclient for XBMC |
264 |
Group: Video |
Group: Video |
265 |
|
License: GPLv2+ |
266 |
Requires: %{name}-eventclients-common = %{version}-%{release} |
Requires: %{name}-eventclients-common = %{version}-%{release} |
267 |
|
|
268 |
%description eventclient-xbmc-send |
%description eventclient-xbmc-send |
275 |
%if %snap |
%if %snap |
276 |
%setup -q -n %name-%branch_release-%snap |
%setup -q -n %name-%branch_release-%snap |
277 |
%else |
%else |
278 |
|
%if %pre |
279 |
|
%setup -q -n %{name}-%{version}-%{branch_release}_%{pre} |
280 |
|
%else |
281 |
%setup -q |
%setup -q |
282 |
%endif |
%endif |
283 |
|
%endif |
284 |
%apply_patches |
%apply_patches |
285 |
# otherwise backups end up in binary rpms |
# otherwise backups end up in binary rpms |
286 |
find -type f \( -name '*.00??' -o -name '*.00??~' \) -print -delete |
find -type f \( -name '*.00??' -o -name '*.00??~' \) -print -delete |
289 |
find -type f \( -iname '*.so' -o -iname '*.dll' -o -iname '*.exe' \) -delete |
find -type f \( -iname '*.so' -o -iname '*.dll' -o -iname '*.exe' \) -delete |
290 |
|
|
291 |
# GPLv2 only |
# GPLv2 only |
292 |
rm -r xbmc/lib/cmyth/Win32/include/mysql |
rm -r lib/cmyth/Win32/include/mysql |
293 |
# BSD 4-clause |
# BSD 4-clause |
294 |
rm -r xbmc/cores/DllLoader/exports/emu_socket |
rm -r xbmc/cores/DllLoader/exports/emu_socket |
295 |
|
|
|
# rm disabled stuff to detect possible bugs |
|
|
rm -rf xbmc/cores/dvdplayer/Codecs/{libdts,liba52} xbmc/cores/paplayer/AC3Codec/liba52 |
|
|
|
|
296 |
# win32 only |
# win32 only |
297 |
rm -rf system/players/dvdplayer/etc/fonts |
rm -rf system/players/dvdplayer/etc/fonts |
298 |
|
|
|
%if !%system_python |
|
|
cp %{SOURCE11} lib/addons/script.module.pil |
|
|
cp %{SOURCE12} lib/addons/script.module.pysqlite |
|
|
|
|
|
# we need to fix the lookup directories (otherwise setup.py queries |
|
|
# incorrect information from the bundled python) |
|
|
tar -xzf %{SOURCE11} -C lib/addons/script.module.pil |
|
|
sed -ri 's|^([A-Z0-9]+_ROOT =) None|\1 "%{_libdir}", "%{_includedir}"|' lib/addons/script.module.pil/Imaging-*/setup.py |
|
|
%endif |
|
|
|
|
299 |
%build |
%build |
300 |
%if %snap |
%if %snap |
301 |
export GIT_REV=%snap |
export GIT_REV=%snap |
308 |
# and are not using libtool |
# and are not using libtool |
309 |
%define _disable_ld_no_undefined 1 |
%define _disable_ld_no_undefined 1 |
310 |
|
|
|
# Seems libpng12.patch is not enough, -lpng is hardcoded in several places. |
|
|
# Hack around it (Anssi 12/2011) |
|
|
mkdir -p libpng12 |
|
|
ln -snf %{_libdir}/libpng12.so libpng12/libpng.so |
|
|
export LDFLAGS="%ldflags -L$PWD/libpng12" |
|
|
# and hack a libpng-config for rsxs configure as well: |
|
|
ln -snf %{_bindir}/libpng12-config libpng12/libpng-config |
|
|
export PATH="$PWD/libpng12:$PATH" |
|
|
|
|
311 |
# Workaround configure using git to override GIT_REV (TODO: fix it properly) |
# Workaround configure using git to override GIT_REV (TODO: fix it properly) |
312 |
export ac_cv_prog_HAVE_GIT="no" |
export ac_cv_prog_HAVE_GIT="no" |
313 |
|
|
315 |
--disable-debug \ |
--disable-debug \ |
316 |
--disable-ccache \ |
--disable-ccache \ |
317 |
--enable-external-libraries \ |
--enable-external-libraries \ |
|
%if !%system_python |
|
|
--disable-external-python \ |
|
|
%endif |
|
318 |
--disable-non-free \ |
--disable-non-free \ |
319 |
--disable-dvdcss \ |
--disable-dvdcss \ |
|
--disable-faac \ |
|
320 |
--enable-goom \ |
--enable-goom \ |
321 |
--with-lirc-device=/var/run/lirc/lircd |
--with-lirc-device=/var/run/lirc/lircd |
322 |
|
|
323 |
# non-free = unrar + xbms |
# non-free = unrar |
324 |
# dvdcss is handled via dlopen when disabled |
# dvdcss is handled via dlopen when disabled |
|
# faac is always handled via libavcodec |
|
325 |
|
|
326 |
%make |
%make |
327 |
%make -C tools/EventClients wiimote |
%make -C tools/EventClients wiimote |
328 |
|
|
|
%if !%system_python |
|
|
for dir in lib/addons/script.module.*; do |
|
|
%make -C $dir |
|
|
done |
|
|
%endif |
|
|
|
|
329 |
%install |
%install |
330 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
331 |
%makeinstall_std |
%makeinstall_std |
375 |
done |
done |
376 |
# Euphoria references rsxs PNG class, but it is never used at runtime, |
# Euphoria references rsxs PNG class, but it is never used at runtime, |
377 |
# so it results in no errors due to RTLD_LAZY being used by xbmc module loader. |
# so it results in no errors due to RTLD_LAZY being used by xbmc module loader. |
378 |
# _imaging*.so and _sqlite.so are python modules that exist when using bundled python |
case $file:$symbol in */Euphoria.xbs:_ZN3PNG*) continue; esac |
|
case $file:$symbol in */Euphoria.xbs:_ZN3PNG*|*/_imaging*.so:*|*/_sqlite.so:*) continue; esac |
|
379 |
# the symbol was not found |
# the symbol was not found |
380 |
undefined="${undefined}$file: $symbol\n" |
undefined="${undefined}$file: $symbol\n" |
381 |
done |
done |
401 |
%dir %{_libdir}/xbmc/system/players |
%dir %{_libdir}/xbmc/system/players |
402 |
%dir %{_libdir}/xbmc/system/players/dvdplayer |
%dir %{_libdir}/xbmc/system/players/dvdplayer |
403 |
%dir %{_libdir}/xbmc/system/players/paplayer |
%dir %{_libdir}/xbmc/system/players/paplayer |
|
%dir %{_libdir}/xbmc/system/python |
|
404 |
%{_libdir}/xbmc/xbmc.bin |
%{_libdir}/xbmc/xbmc.bin |
405 |
%{_libdir}/xbmc/xbmc-xrandr |
%{_libdir}/xbmc/xbmc-xrandr |
406 |
%dir %{_libdir}/xbmc/addons/* |
%dir %{_libdir}/xbmc/addons/* |
408 |
%{_libdir}/xbmc/addons/*/*.pvr |
%{_libdir}/xbmc/addons/*/*.pvr |
409 |
%{_libdir}/xbmc/addons/*/*.vis |
%{_libdir}/xbmc/addons/*/*.vis |
410 |
%{_libdir}/xbmc/addons/*/*.xbs |
%{_libdir}/xbmc/addons/*/*.xbs |
|
%{_libdir}/xbmc/addons/script.module.*/*.xml |
|
411 |
%{_libdir}/xbmc/system/ImageLib-*-linux.so |
%{_libdir}/xbmc/system/ImageLib-*-linux.so |
412 |
%{_libdir}/xbmc/system/hdhomerun-*-linux.so |
%{_libdir}/xbmc/system/hdhomerun-*-linux.so |
413 |
|
%{_libdir}/xbmc/system/libcmyth-*-linux.so |
414 |
%{_libdir}/xbmc/system/libcpluff-*-linux.so |
%{_libdir}/xbmc/system/libcpluff-*-linux.so |
415 |
%{_libdir}/xbmc/system/libexif-*-linux.so |
%{_libdir}/xbmc/system/libexif-*-linux.so |
416 |
%{_libdir}/xbmc/system/libid3tag-*-linux.so |
%{_libdir}/xbmc/system/libid3tag-*-linux.so |
424 |
%ifarch %ix86 |
%ifarch %ix86 |
425 |
%{_libdir}/xbmc/system/players/paplayer/SNESAPU-*-linux.so |
%{_libdir}/xbmc/system/players/paplayer/SNESAPU-*-linux.so |
426 |
%endif |
%endif |
|
%{_libdir}/xbmc/system/python/python*-*-linux.so |
|
|
%if !%system_python |
|
|
%{_libdir}/xbmc/addons/script.module.pil/* |
|
|
%{_libdir}/xbmc/addons/script.module.pysqlite/* |
|
|
%{_libdir}/xbmc/system/python/python*.zip |
|
|
%endif |
|
427 |
%dir %{_datadir}/xbmc |
%dir %{_datadir}/xbmc |
428 |
%{_datadir}/xbmc/addons |
%{_datadir}/xbmc/addons |
429 |
%{_datadir}/xbmc/FEH.py |
%{_datadir}/xbmc/FEH.py |