summaryrefslogtreecommitdiff
path: root/libva-vdpau-driver/Pkgfile
blob: 5b2c6bc0325773f0ac2ba0e7cb14d159d24dfbff (plain)
    1 # Description: VDPAU back-end for NVIDIA and VIA chipsets.
    2 # URL: http://freedesktop.org/wiki/Software/vaapi
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Packager: Danny Rawlins, crux at romster dot me
    5 # Depends on: libva libvdpau
    6 
    7 name=libva-vdpau-driver
    8 version=0.7.4
    9 release=4
   10 source=(http://www.freedesktop.org/software/vaapi/releases/$name/$name-$version.tar.bz2
   11 	glx.patch libva.patch vdpau.patch)
   12 
   13 build() {
   14 	cd $name-$version
   15 
   16 	patch -p1 -i $SRC/glx.patch
   17 	patch -p1 -i $SRC/libva.patch
   18 	patch -p1 -i $SRC/vdpau.patch
   19 
   20 	./configure \
   21 		--prefix=/usr \
   22 		--enable-glx
   23 
   24 	make
   25 	make DESTDIR=$PKG install
   26 
   27 	# required for nouveau driver
   28 	ln -s vdpau_drv_video.so $PKG/usr/lib/dri/nouveau_drv_video.so
   29 }

Generated by cgit