New package: xvba-video

This commit is contained in:
John Galt 2014-09-14 07:17:36 -07:00
parent 8b32f49cc5
commit ec0001f51d
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Template file for 'xvba-video'
pkgname=xvba-video
version=0.7.8
revision=1
wrksrc="${pkgname}-${version}.bin"
depends="libva catalyst"
short_desc="AMDs XvBA backend for VA-API hardware video acceleration"
maintainer="John Galt<johngaltfirstrun@gmail.com>"
license="Proprietary AMD license"
homepage="http://www.amd.com"
only_for_archs="i686 x86_64"
nonfree=yes
distfiles="https://launchpad.net/ubuntu/+archive/primary/+files/xvba-video_0.7.8.orig.tar.gz"
checksum=e4bea33edaf73b1c164f76295ac77fc1fb9f4c4a8269fc756937f00454bfd50f
do_install() {
mkdir -p ${DESTDIR}/usr/lib/dri
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
install -m755 x86/* ${DESTDIR}/usr/lib/dri/
elif [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
install -m755 x64/* ${DESTDIR}/usr/lib/dri/
fi
}