diff --git a/srcpkgs/libva-vdpau-driver/patches/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch b/srcpkgs/libva-vdpau-driver/patches/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch new file mode 100644 index 00000000000..0d68ab2abc4 --- /dev/null +++ b/srcpkgs/libva-vdpau-driver/patches/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch @@ -0,0 +1,29 @@ +>From fda3706eb74ba5ad874853969f3df3e372739c8d Mon Sep 17 00:00:00 2001 +From: "Xiang, Haihao" +Date: Fri, 21 Jun 2013 12:55:30 +0800 +Subject: [PATCH] VAEncH264VUIBufferType and VAEncH264SEIBufferType are + dropped from VA API + +The driver doesn't use them indeed + +Signed-off-by: Xiang, Haihao +--- + src/vdpau_dump.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/vdpau_dump.c b/src/vdpau_dump.c +index 899888b..610e7cd 100644 +--- src/vdpau_dump.c ++++ src/vdpau_dump.c +@@ -59,8 +59,6 @@ const char *string_of_VABufferType(VABufferType type) + _(VAEncSequenceParameterBufferType); + _(VAEncPictureParameterBufferType); + _(VAEncSliceParameterBufferType); +- _(VAEncH264VUIBufferType); +- _(VAEncH264SEIBufferType); + #endif + #if VA_CHECK_VERSION(0,31,1) + _(VAQMatrixBufferType); +-- +1.7.9.5 + diff --git a/srcpkgs/libva-vdpau-driver/patches/libva-vdpau-driver-0.7.4-glext-missing-definition.patch b/srcpkgs/libva-vdpau-driver/patches/libva-vdpau-driver-0.7.4-glext-missing-definition.patch new file mode 100644 index 00000000000..221b9608fe4 --- /dev/null +++ b/srcpkgs/libva-vdpau-driver/patches/libva-vdpau-driver-0.7.4-glext-missing-definition.patch @@ -0,0 +1,16 @@ +--- ./src/utils_glx.h~ 2012-10-05 16:02:58.000000000 +0100 ++++ ./src/utils_glx.h 2012-10-19 08:44:12.469642440 +0100 +@@ -48,6 +48,13 @@ + typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int); + #endif + ++#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 ++ + #ifndef GL_FRAMEBUFFER_BINDING + #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT + #endif diff --git a/srcpkgs/libva-vdpau-driver/template b/srcpkgs/libva-vdpau-driver/template new file mode 100644 index 00000000000..feb47fa4698 --- /dev/null +++ b/srcpkgs/libva-vdpau-driver/template @@ -0,0 +1,14 @@ +# Template file for 'libva-vdpau-driver' +pkgname=libva-vdpau-driver +version=0.7.4 +revision=1 +replaces="vdpau-video>=0" +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="libva-devel libvdpau-devel MesaLib-devel" +short_desc="A VDPAU-based backend for VA-API" +maintainer="Juan RP " +license="GPL-2" +homepage="http://freedesktop.org/wiki/Software/vaapi" +distfiles="http://www.freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$version.tar.bz2" +checksum=155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9 diff --git a/srcpkgs/vdpau-video/template b/srcpkgs/vdpau-video/template deleted file mode 100644 index c06a8ee3d54..00000000000 --- a/srcpkgs/vdpau-video/template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'vdpau-video' -pkgname=vdpau-video -version=0.7.3 -revision=3 -build_style=gnu-configure -makedepends="pkg-config libva-devel libvdpau-devel MesaLib-devel" -short_desc="A VDPAU-based backend for VA-API" -maintainer="Juan RP " -license="GPL-2" -homepage="http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/" -distfiles="${homepage}/$pkgname-$version.tar.gz" -checksum=28f66adc7d87a513a765dd79fda469e895b76692173d2aa79a26f4a618f91266