blob: 176dd72ee13c14561aa9dfd453ac275a89eacad0 (
plain)
1 # Description: VDPAU back-end for NVIDIA and VIA chipsets.
2 # URL: http://freedesktop.org/wiki/Software/vaapi
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: libva-32 libvdpau-32 libva-vdpau-driver
5
6 name=libva-vdpau-driver-32
7 version=0.7.4
8 release=7
9 source=(https://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-$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 libva-vdpau-driver-$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 --libdir=/usr/lib32 \
31 --enable-glx
32
33 make
34 make DESTDIR=$PKG install
35 }
|