[arch-commits] Commit in libva-vdpau-driver/repos (10 files)
Maxime Gauduin
alucryd at archlinux.org
Sun Oct 29 21:37:34 UTC 2017
Date: Sunday, October 29, 2017 @ 21:37:29
Author: alucryd
Revision: 308613
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libva-vdpau-driver/repos/staging-i686/
libva-vdpau-driver/repos/staging-i686/PKGBUILD
(from rev 308612, libva-vdpau-driver/trunk/PKGBUILD)
libva-vdpau-driver/repos/staging-i686/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
(from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
libva-vdpau-driver/repos/staging-i686/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
(from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-glext-missing-definition.patch)
libva-vdpau-driver/repos/staging-i686/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
(from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch)
libva-vdpau-driver/repos/staging-x86_64/
libva-vdpau-driver/repos/staging-x86_64/PKGBUILD
(from rev 308612, libva-vdpau-driver/trunk/PKGBUILD)
libva-vdpau-driver/repos/staging-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
(from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
libva-vdpau-driver/repos/staging-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
(from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-glext-missing-definition.patch)
libva-vdpau-driver/repos/staging-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
(from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch)
------------------------------------------------------------------------+
staging-i686/PKGBUILD | 44 ++++++++++
staging-i686/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch | 29 ++++++
staging-i686/libva-vdpau-driver-0.7.4-glext-missing-definition.patch | 16 +++
staging-i686/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch | 11 ++
staging-x86_64/PKGBUILD | 44 ++++++++++
staging-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch | 29 ++++++
staging-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch | 16 +++
staging-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch | 11 ++
8 files changed, 200 insertions(+)
Copied: libva-vdpau-driver/repos/staging-i686/PKGBUILD (from rev 308612, libva-vdpau-driver/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-10-29 21:37:29 UTC (rev 308613)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+pkgname=libva-vdpau-driver
+pkgver=0.7.4
+pkgrel=3
+pkgdesc='VDPAU backend for VA API'
+arch=('i686' 'x86_64')
+url='http://freedesktop.org/wiki/Software/vaapi'
+license=('GPL')
+depends=('glibc' 'libgl' 'libva' 'libvdpau' 'libx11')
+makedepends=('mesa')
+source=("http://freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-${pkgver}.tar.bz2"
+ 'libva-vdpau-driver-0.7.4-glext-missing-definition.patch'
+ 'libva-vdpau-driver-0.7.4-libvdpau-0.8.patch'
+ 'libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch')
+sha256sums=('155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9'
+ '776bfe4c101cdde396d8783029b288c6cd825d0cdbc782ca3d94a5f9ffb4558c'
+ '5e567b026b97dc0e207b6c05410cc1b7b77a58ceb5046801d0ea1a321cba3b9d'
+ '1ae32b8e5cca1717be4a63f09e8c6bd84a3e9b712b933816cdb32bb315dbda98')
+
+prepare() {
+ cd libva-vdpau-driver-${pkgver}
+
+ patch -p1 -i ../libva-vdpau-driver-0.7.4-glext-missing-definition.patch
+ patch -p1 -i ../libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
+ patch -p1 -i ../libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
+}
+
+build() {
+ cd libva-vdpau-driver-${pkgver}
+
+ ./configure \
+ --prefix='/usr'
+ make
+}
+
+package() {
+ cd libva-vdpau-driver-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: libva-vdpau-driver/repos/staging-i686/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch (from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
===================================================================
--- staging-i686/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch (rev 0)
+++ staging-i686/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch 2017-10-29 21:37:29 UTC (rev 308613)
@@ -0,0 +1,29 @@
+>From fda3706eb74ba5ad874853969f3df3e372739c8d Mon Sep 17 00:00:00 2001
+From: "Xiang, Haihao" <haihao.xiang at intel.com>
+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 <haihao.xiang at intel.com>
+---
+ 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
+--- a/src/vdpau_dump.c
++++ b/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
+
Copied: libva-vdpau-driver/repos/staging-i686/libva-vdpau-driver-0.7.4-glext-missing-definition.patch (from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-glext-missing-definition.patch)
===================================================================
--- staging-i686/libva-vdpau-driver-0.7.4-glext-missing-definition.patch (rev 0)
+++ staging-i686/libva-vdpau-driver-0.7.4-glext-missing-definition.patch 2017-10-29 21:37:29 UTC (rev 308613)
@@ -0,0 +1,16 @@
+--- a/src/utils_glx.h~ 2012-10-05 16:02:58.000000000 +0100
++++ b/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 <GL/gl.h>
++ 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
Copied: libva-vdpau-driver/repos/staging-i686/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch (from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch)
===================================================================
--- staging-i686/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch (rev 0)
+++ staging-i686/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch 2017-10-29 21:37:29 UTC (rev 308613)
@@ -0,0 +1,11 @@
+--- a/src/vdpau_decode.c
++++ b/src/vdpau_decode.c
+@@ -1289,7 +1289,7 @@
+ driver_data,
+ obj_context->vdp_decoder,
+ obj_surface->vdp_surface,
+- (VdpPictureInfo)&obj_context->vdp_picture_info,
++ (VdpPictureInfo *)&obj_context->vdp_picture_info,
+ obj_context->vdp_bitstream_buffers_count,
+ obj_context->vdp_bitstream_buffers
+ );
Copied: libva-vdpau-driver/repos/staging-x86_64/PKGBUILD (from rev 308612, libva-vdpau-driver/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-10-29 21:37:29 UTC (rev 308613)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+pkgname=libva-vdpau-driver
+pkgver=0.7.4
+pkgrel=3
+pkgdesc='VDPAU backend for VA API'
+arch=('i686' 'x86_64')
+url='http://freedesktop.org/wiki/Software/vaapi'
+license=('GPL')
+depends=('glibc' 'libgl' 'libva' 'libvdpau' 'libx11')
+makedepends=('mesa')
+source=("http://freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-${pkgver}.tar.bz2"
+ 'libva-vdpau-driver-0.7.4-glext-missing-definition.patch'
+ 'libva-vdpau-driver-0.7.4-libvdpau-0.8.patch'
+ 'libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch')
+sha256sums=('155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9'
+ '776bfe4c101cdde396d8783029b288c6cd825d0cdbc782ca3d94a5f9ffb4558c'
+ '5e567b026b97dc0e207b6c05410cc1b7b77a58ceb5046801d0ea1a321cba3b9d'
+ '1ae32b8e5cca1717be4a63f09e8c6bd84a3e9b712b933816cdb32bb315dbda98')
+
+prepare() {
+ cd libva-vdpau-driver-${pkgver}
+
+ patch -p1 -i ../libva-vdpau-driver-0.7.4-glext-missing-definition.patch
+ patch -p1 -i ../libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
+ patch -p1 -i ../libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
+}
+
+build() {
+ cd libva-vdpau-driver-${pkgver}
+
+ ./configure \
+ --prefix='/usr'
+ make
+}
+
+package() {
+ cd libva-vdpau-driver-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: libva-vdpau-driver/repos/staging-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch (from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
===================================================================
--- staging-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch (rev 0)
+++ staging-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch 2017-10-29 21:37:29 UTC (rev 308613)
@@ -0,0 +1,29 @@
+>From fda3706eb74ba5ad874853969f3df3e372739c8d Mon Sep 17 00:00:00 2001
+From: "Xiang, Haihao" <haihao.xiang at intel.com>
+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 <haihao.xiang at intel.com>
+---
+ 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
+--- a/src/vdpau_dump.c
++++ b/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
+
Copied: libva-vdpau-driver/repos/staging-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch (from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-glext-missing-definition.patch)
===================================================================
--- staging-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch (rev 0)
+++ staging-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch 2017-10-29 21:37:29 UTC (rev 308613)
@@ -0,0 +1,16 @@
+--- a/src/utils_glx.h~ 2012-10-05 16:02:58.000000000 +0100
++++ b/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 <GL/gl.h>
++ 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
Copied: libva-vdpau-driver/repos/staging-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch (from rev 308612, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch)
===================================================================
--- staging-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch (rev 0)
+++ staging-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch 2017-10-29 21:37:29 UTC (rev 308613)
@@ -0,0 +1,11 @@
+--- a/src/vdpau_decode.c
++++ b/src/vdpau_decode.c
+@@ -1289,7 +1289,7 @@
+ driver_data,
+ obj_context->vdp_decoder,
+ obj_surface->vdp_surface,
+- (VdpPictureInfo)&obj_context->vdp_picture_info,
++ (VdpPictureInfo *)&obj_context->vdp_picture_info,
+ obj_context->vdp_bitstream_buffers_count,
+ obj_context->vdp_bitstream_buffers
+ );
More information about the arch-commits
mailing list