summaryrefslogtreecommitdiff
path: root/libva-vdpau-driver/Pkgfile
blob: a58b8e3cfd9568da43d9514b41987012cf2d4e80 (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 libvdpau
    5 
    6 name=libva-vdpau-driver
    7 version=0.7.4
    8 release=7
    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 	libva-vdpau-driver-0.7.4-sigfpe-crash.patch
   14 	libva-vdpau-driver-0.7.4-include-linux-videodev2.h.patch)
   15 
   16 build() {
   17 	cd $name-$version
   18 
   19 	patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
   20 	patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
   21 	patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
   22 	patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-sigfpe-crash.patch
   23 	patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-include-linux-videodev2.h.patch
   24 
   25 	sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac
   26 	autoreconf -i
   27 
   28 	./configure \
   29 		--prefix=/usr \
   30 		--enable-glx
   31 
   32 	make
   33 	make DESTDIR=$PKG install
   34 }

Generated by cgit