23 lines
777 B
Text
23 lines
777 B
Text
# Template file for 'xvba-video'
|
|
pkgname=xvba-video
|
|
version=0.7.8
|
|
revision=2
|
|
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
|
|
}
|