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