diff --git a/libva-vdpau-driver/.footprint b/libva-vdpau-driver/.footprint new file mode 100644 index 000000000..ae061bae0 --- /dev/null +++ b/libva-vdpau-driver/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/dri/ +lrwxrwxrwx root/root usr/lib/dri/nvidia_drv_video.so -> vdpau_drv_video.so +lrwxrwxrwx root/root usr/lib/dri/s3g_drv_video.so -> vdpau_drv_video.so +-rwxr-xr-x root/root usr/lib/dri/vdpau_drv_video.la +-rwxr-xr-x root/root usr/lib/dri/vdpau_drv_video.so diff --git a/libva-vdpau-driver/.md5sum b/libva-vdpau-driver/.md5sum new file mode 100644 index 000000000..efaa80b3e --- /dev/null +++ b/libva-vdpau-driver/.md5sum @@ -0,0 +1,2 @@ +aa5f63941036c18e928cd0444ec58310 glx.patch +5ec6d452d2dd307434ea3d32da49c3e5 libva-vdpau-driver-0.7.4.tar.bz2 diff --git a/libva-vdpau-driver/Pkgfile b/libva-vdpau-driver/Pkgfile new file mode 100644 index 000000000..820f2125e --- /dev/null +++ b/libva-vdpau-driver/Pkgfile @@ -0,0 +1,24 @@ +# Description: VDPAU back-end for NVIDIA and VIA chipsets. +# URL: http://freedesktop.org/wiki/Software/vaapi +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Danny Rawlins, monster dot romster at gmail dot com +# Depends on: libva libvdpau + +name=libva-vdpau-driver +version=0.7.4 +release=1 +source=(http://www.freedesktop.org/software/vaapi/releases/$name/$name-$version.tar.bz2 + glx.patch) + +build() { + cd $name-$version + + patch -p1 -i $SRC/glx.patch + + ./configure \ + --prefix=/usr \ + --enable-glx + + make + make DESTDIR=$PKG install +} diff --git a/libva-vdpau-driver/glx.patch b/libva-vdpau-driver/glx.patch new file mode 100644 index 000000000..7143d8bb0 --- /dev/null +++ b/libva-vdpau-driver/glx.patch @@ -0,0 +1,17 @@ +diff -ur a/src/utils_glx.h b/src/utils_glx.h +--- a/src/utils_glx.h 2012-10-05 10:02:58.000000000 -0500 ++++ b/src/utils_glx.h 2012-10-26 22:00:13.039341049 -0500 +@@ -27,6 +27,13 @@ + #include + #include + ++#if GL_GLEXT_VERSION >= 85 ++/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED ++ block and is not defined if GL_VERSION_1_3 is defined in ++ Redefine the type here as an interim solution */ ++typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); ++#endif ++ + /* GL_NV_vdpau_interop */ + #if GL_GLEXT_VERSION < 64 + typedef GLintptr GLvdpauSurfaceNV;