# Description: VDPAU back-end for NVIDIA and VIA chipsets. # URL: http://freedesktop.org/wiki/Software/vaapi # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu # Depends on: libva1-32 libva-vdpau-driver name=libva-vdpau-driver-32 version=0.7.4 release=6 source=(https://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-$version.tar.bz2 libva-vdpau-driver-0.7.4-glext-missing-definition.patch libva-vdpau-driver-0.7.4-libvdpau-0.8.patch libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch libva-vdpau-driver-0.7.4-sigfpe-crash.patch libva-vdpau-driver-0.7.4-include-linux-videodev2.h.patch) build() { cd libva-vdpau-driver-$version patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-glext-missing-definition.patch patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-sigfpe-crash.patch patch -p1 -i $SRC/libva-vdpau-driver-0.7.4-include-linux-videodev2.h.patch sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac autoreconf -i PKG_CONFIG_PATH="/usr/lib32/libva1/pkgconfig" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --enable-glx make make DESTDIR=$PKG install mv $PKG/usr/lib32/libva1/* $PKG/usr/lib32/ rmdir $PKG/usr/lib32/libva1 }