void-packages/srcpkgs/xvba-video/template

24 lines
786 B
Plaintext
Raw Normal View History

2014-09-14 16:17:36 +02:00
# Template file for 'xvba-video'
pkgname=xvba-video
version=0.7.8
2014-10-05 00:03:26 +02:00
revision=2
2014-09-14 16:17:36 +02:00
wrksrc="${pkgname}-${version}.bin"
depends="libva catalyst"
short_desc="AMDs XvBA backend for VA-API hardware video acceleration"
2014-10-05 00:03:26 +02:00
maintainer="John Galt <johngaltfirstrun@gmail.com>"
2014-09-14 16:17:36 +02:00
license="Proprietary AMD license"
homepage="http://www.amd.com"
only_for_archs="i686 x86_64"
repository="nonfree"
2014-09-14 16:17:36 +02:00
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
}