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