1
0
forked from ports/contrib

[notify]: vdpau-video 0.7.3 -> libva-vdpau-driver 0.7.4

This commit is contained in:
Danny Rawlins 2012-11-18 23:19:03 +11:00
parent 32951d03d8
commit faf387049e
5 changed files with 26 additions and 5 deletions

View File

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

View File

@ -1,17 +1,20 @@
# Description: VDPAU back-end for NVIDIA and VIA chipsets.
# URL: http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/
# 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=vdpau-video
version=0.7.3
name=libva-vdpau-driver
version=0.7.4
release=1
source=(http://www.splitted-desktop.com/~gbeauchesne/$name/$name-$version.tar.gz)
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

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;

View File

@ -1 +0,0 @@
18870e007ecdc50a528861fa55556364 vdpau-video-0.7.3.tar.gz