void-packages/srcpkgs/xvba-video/template
Enno Boland 59cc3e0d45 replace nonfree=yes with repository=nonfree.
This way it is possible to set up package specific repositories for
i.e. specific devices.
2014-11-05 14:15:25 +01:00

23 lines
786 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"
repository="nonfree"
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
}