libva-vdpau-driver: contrib -> opt

This commit is contained in:
Danny Rawlins 2013-08-07 22:42:26 +10:00
parent 9452933b26
commit 17fddf255b
4 changed files with 50 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,2 @@
aa5f63941036c18e928cd0444ec58310 glx.patch
5ec6d452d2dd307434ea3d32da49c3e5 libva-vdpau-driver-0.7.4.tar.bz2

View File

@ -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
}

View File

@ -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;