xbmc: enable vdpau support.

This commit is contained in:
Juan RP 2011-11-03 09:17:50 +01:00
parent 5332923974
commit c345968973
1 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'xbmc'
pkgname=xbmc
version=10.1
revision=4
revision=5
distfiles="http://mirrors.xbmc.org/releases/source/xbmc-$version.tar.gz"
short_desc="XBMC Media Center"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -62,6 +62,7 @@ Add_dependency run bzip2
Add_dependency run libsamplerate
Add_dependency run libmms
Add_dependency run libva
Add_dependency run libvdpau
Add_dependency run dbus ">=0"
Add_dependency run udisks ">=0"
@ -117,6 +118,7 @@ Add_dependency build openssl-devel
Add_dependency build libmad-devel
Add_dependency build fontconfig-devel
Add_dependency build libXrender-devel
Add_dependency build libXinerama-devel
Add_dependency build libsamplerate-devel
Add_dependency build libmms-devel
Add_dependency build enca-devel
@ -124,9 +126,9 @@ Add_dependency build bzip2-devel
Add_dependency build boost-devel
Add_dependency build libcurl-devel
Add_dependency build libva-devel
Add_dependency build libvdpau-devel
do_build()
{
do_configure() {
export SVN_REV="-XBPS"
sed -i -e "/^AM_GNU_GETTEXT_VERSION.*$/d" lib/cpluff/configure.ac
sed -i -e 's:/usr/bin/lsb_release -d:/bin/true:' xbmc/utils/SystemInfo.cpp
@ -136,12 +138,14 @@ do_build()
./bootstrap
./configure --prefix=/usr --disable-hal --disable-webserver \
--disable-debug --disable-external-python --enable-goom \
--enable-mid LDFLAGS=
--enable-mid --enable-vdpau --enable-vaapi
}
do_build() {
make ${makejobs}
}
post_install()
{
post_install() {
make prefix=${DESTDIR}/usr install
vinstall tools/Linux/xbmc.desktop 644 usr/share/applications