diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2012-11-18 23:19:03 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2012-11-18 23:20:48 +1100 |
commit | faf387049e83c09e808878192bcc07b2c87a7d03 (patch) | |
tree | a83e8ecfa34a4aef0d564678e7366a6b09d460ea /libva-vdpau-driver | |
parent | 32951d03d81b919a4a6f0ff531d715b490e2d3bc (diff) | |
download | contrib-faf387049e83c09e808878192bcc07b2c87a7d03.tar.gz contrib-faf387049e83c09e808878192bcc07b2c87a7d03.tar.xz |
[notify]: vdpau-video 0.7.3 -> libva-vdpau-driver 0.7.4
Diffstat (limited to 'libva-vdpau-driver')
-rw-r--r-- | libva-vdpau-driver/.footprint | 7 | ||||
-rw-r--r-- | libva-vdpau-driver/.md5sum | 2 | ||||
-rw-r--r-- | libva-vdpau-driver/Pkgfile | 24 | ||||
-rw-r--r-- | libva-vdpau-driver/glx.patch | 17 |
4 files changed, 50 insertions, 0 deletions
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 <GL/glxext.h> + #include <vdpau/vdpau.h> + ++#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 <GL/gl.h> ++ 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; |