xbmc: enable VA-API support, misc changes.

This commit is contained in:
Juan RP 2011-08-11 22:44:16 +02:00
parent ecdc3ae645
commit 812347e10f
1 changed files with 16 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'xbmc'
pkgname=xbmc
version=10.1
revision=2
revision=3
distfiles="http://mirrors.xbmc.org/releases/source/xbmc-$version.tar.gz"
build_style=custom-install
short_desc="XBMC Media Center"
@ -62,6 +62,14 @@ Add_dependency run libXrender
Add_dependency run bzip2
Add_dependency run libsamplerate
Add_dependency run libmms
Add_dependency run libva
Add_dependency run dbus ">=0"
Add_dependency run udisks ">=0"
Add_dependency run upower ">=0"
Add_dependency run hicolor-icon-theme
Add_dependency run desktop-file-utils
Add_dependency run mesa-demos # required glxinfo
Add_dependency build pkg-config
Add_dependency build gperf
@ -116,13 +124,7 @@ Add_dependency build enca-devel
Add_dependency build bzip2-devel
Add_dependency build boost-devel
Add_dependency build libcurl-devel
Add_dependency full dbus ">=0"
Add_dependency full udisks ">=0"
Add_dependency full upower ">=0"
Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils
Add_dependency full mesa-demos # required glxinfo
Add_dependency build libva-devel
do_build()
{
@ -143,12 +145,11 @@ post_install()
{
make prefix=${DESTDIR}/usr install
# Fix files containing invalid chars "&".
find ${DESTDIR} -type f | while read f; do
if $(echo "$f"|grep -q "&"); then
newf=$(echo "$f"|sed -e "s|&|and|g")
mv "$f" "$newf"
fi
done
vinstall tools/Linux/xbmc.desktop 644 usr/share/applications
vinstall tools/Linux/xbmc-48x48.png 644 usr/share/pixmaps xbmc.png
vinstall xbmc-xrandr 755 usr/share/xbmc
vinstall tools/TexturePacker/TexturePacker 755 usr/share/xbmc
rm -f ${DESTDIR}/usr/share/icons/hicolor/icon-theme.cache
}