diff options
author | sibel <lesibel@free.fr> | 2010-09-08 08:33:17 +0200 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2010-09-08 08:33:17 +0200 |
commit | d8e3600056b92f1f4da3580c7f91b9f624acef23 (patch) | |
tree | 2addb573f491656c9c1440cc99b8b22b52a21a51 /extra/xbmc/Pkgfile | |
parent | c2de2bedd5c9d28cf52f75fd27aa02aa4685baff (diff) | |
download | nutyx-extra-d8e3600056b92f1f4da3580c7f91b9f624acef23.tar.gz nutyx-extra-d8e3600056b92f1f4da3580c7f91b9f624acef23.tar.bz2 nutyx-extra-d8e3600056b92f1f4da3580c7f91b9f624acef23.tar.xz nutyx-extra-d8e3600056b92f1f4da3580c7f91b9f624acef23.zip |
Ajustement de make de libcaptury
Diffstat (limited to 'extra/xbmc/Pkgfile')
-rw-r--r-- | extra/xbmc/Pkgfile | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/extra/xbmc/Pkgfile b/extra/xbmc/Pkgfile new file mode 100644 index 000000000..85794bc34 --- /dev/null +++ b/extra/xbmc/Pkgfile @@ -0,0 +1,71 @@ +# Description: Media Center +# URL: http://xbmc.org +# Maintainer: NutyX core team +# Packager: lesibel at free dot fr +# Depends on: xscreensaver, cmake, boost, gperf, nasm, libvdpau, unzip, zip, unrar, devicekit-power, bzip2, curl, enca, faac, faad2, liba52, alsa-lib, flac, freetype, fontconfig, fribidi, glew, dbus, hal, jasper, libcdio, libgl, libmad, libmms, libjpeg, libogg, libmpeg2, libvorbis, mysqlclient, libsamplerate, xorg-libxinerama, xorg-libxrandr, xorg-libxtst, xorg-xdpyinfo, mesa3d, lzo, sdl_image, sdl_mixer, sdl-sound, tiff, ffmpeg, samba3, wavpack + + +name=xbmc +version=9.11 +release=1 + +source=(http://freefr.dl.sourceforge.net/project/xbmc/XBMC%20Source%20Code/Camelot%20-%209.11/xbmc-9.11.tar.gz + use_cdio_system_headers_on_non_win32.patch + FEH.sh + libpng14.patch + xbmc-9.11-wavpack.patch + xbmc-9.11-TexturePacker-parallel-build.patch) + +build() { + cd $SRC/$name-$version + + patch -Np1 -i $SRC/use_cdio_system_headers_on_non_win32.patch + patch -Np1 -i $SRC/libpng14.patch + patch -Np1 -i $SRC/xbmc-9.11-TexturePacker-parallel-build.patch + patch -Np1 -i $SRC/xbmc-9.11-wavpack.patch + + sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/nutyx-version:' xbmc/utils/SystemInfo.cpp + sed -i 's: ftell64: dll_ftell64:' xbmc/cores/DllLoader/exports/wrapper.c + sed -i 's|cinfo.scale_denom = GetJpegScale();|cinfo.scale_denom = GetJpegScale(); cinfo.scale_num = 1;|' xbmc/lib/cximage-6.0/CxImage/ximajpg.cpp + + export SVN_REV="-ARCH" + + ./bootstrap + + ./configure --prefix=/usr \ + --enable-vdpau \ + --disable-pulse \ + --disable-external-liba52 \ + --disable-external-libdts \ + --enable-external-libmpeg2 \ + --enable-external-libogg \ + --enable-external-libwavpack \ + --disable-external-libass \ + --disable-external-ffmpeg \ + --disable-external-python \ + --disable-debug + + make + make prefix=$PKG/usr install + + sed -i -e 's/\/usr\/share\/xbmc/\/opt\/xbmc/' $PKG/usr/bin/xbmc + + # License(s) + install -dm755 $PKG/usr/share/licenses/$name + + for licensef in LICENSE.GPL README.linux copying.txt; do + mv $PKG/usr/share/xbmc/${licensef} \ + $PKG/usr/share/licenses/$name + done + + rm -r $PKG/usr/share/xsessions + + sed -i "s#Exec=xbmc#Exec=/usr/bin/xbmc#" $PKG/usr/share/applications/xbmc.desktop + + mkdir $PKG/opt/ + mv $PKG/usr/share/xbmc $PKG/opt + + rm -r $PKG/opt/xbmc/skin/PM3.HD + + find $PKG -type f -exec strip {} \; >/dev/null 2>/dev/null +} |