summaryrefslogtreecommitdiff
path: root/libva-vdpau-driver/Pkgfile
blob: 72682cf5d3a7a71c6cfa6cb3e21293e2f8a4d756 (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 # Depends on: libva
    5 
    6 name=libva-vdpau-driver
    7 version=0.7.4
    8 release=5
    9 source=(https://www.freedesktop.org/software/vaapi/releases/$name/$name-$version.tar.bz2
   10 	libva-vdpau-driver-0.7.4-glext-missing-definition.patch
   11 	libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
   12 	libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
   13 
   14 build() {
   15 	cd $name-$version
   16 
   17 	patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
   18 	patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
   19 	patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
   20 
   21 	./configure \
   22 		--prefix=/usr \
   23 		--enable-glx
   24 
   25 	make
   26 	make DESTDIR=$PKG install
   27 
   28 	# required for nouveau driver
   29 	ln -s vdpau_drv_video.so $PKG/usr/lib/dri/nouveau_drv_video.so
   30 }

Generated by cgit