[arch-commits] Commit in lib32-libva-vdpau-driver/repos (5 files)
Felix Yan
fyan at archlinux.org
Sat Oct 3 04:18:19 UTC 2015
Date: Saturday, October 3, 2015 @ 06:18:19
Author: fyan
Revision: 142840
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libva-vdpau-driver/repos/multilib-x86_64/
lib32-libva-vdpau-driver/repos/multilib-x86_64/PKGBUILD
(from rev 142839, lib32-libva-vdpau-driver/trunk/PKGBUILD)
lib32-libva-vdpau-driver/repos/multilib-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
(from rev 142839, lib32-libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
lib32-libva-vdpau-driver/repos/multilib-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
(from rev 142839, lib32-libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-glext-missing-definition.patch)
lib32-libva-vdpau-driver/repos/multilib-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
(from rev 142839, lib32-libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch)
---------------------------------------------------------+
PKGBUILD | 44 ++++++++++++++
libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch | 29 +++++++++
libva-vdpau-driver-0.7.4-glext-missing-definition.patch | 16 +++++
libva-vdpau-driver-0.7.4-libvdpau-0.8.patch | 11 +++
4 files changed, 100 insertions(+)
Copied: lib32-libva-vdpau-driver/repos/multilib-x86_64/PKGBUILD (from rev 142839, lib32-libva-vdpau-driver/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD (rev 0)
+++ multilib-x86_64/PKGBUILD 2015-10-03 04:18:19 UTC (rev 142840)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
+# Contributor: Ionut Biru <ibiru at archlinux dot org>
+
+pkgname=lib32-libva-vdpau-driver
+pkgver=0.7.4
+pkgrel=5
+pkgdesc="VDPAU backend for VA API (32-bit)"
+arch=('x86_64')
+url="http://freedesktop.org/wiki/Software/vaapi"
+license=('GPL')
+depends=('lib32-libva' 'lib32-libvdpau' 'lib32-libgl')
+makedepends=('lib32-mesa')
+source=("http://freedesktop.org/software/vaapi/releases/${pkgname#lib32-}/${pkgname#lib32-}-${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")
+sha512sums=('89f98dc1d7d590fb68f440dd1e37e025d64a621324e013e85dd1367681c07b09132fd2089539fc5b48934624648887a8a97539b4f07ddf9f56a8a456ad030094'
+ '5be5b00e3bc6df790bf1f0cde9606053ef70ee3c36f97dd1ba2eaa38251ce86124586a34c5e3d7fc20c331f9894b23ec22e7ae9d007aa15940221f2547ee64ee'
+ '0890112bed4013de70272972be14f608b22935938160f65a2165cca715c1e8ec7e8c92c5b5c66c655932d1adbaf0aad2f979f0d541890daee385e544a6890f82'
+ 'f60e84f88eca17e762e3d5a53404d0215bca27051c02ff3e4441ad2c2897c0c04297b8e7b4693c37404bde95d7b5d7a6392b4c17ab1ece5f1bd78e6af376b301')
+
+prepare() {
+ cd ${pkgname#lib32-}-${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() {
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ cd ${pkgname#lib32-}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname#lib32-}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Copied: lib32-libva-vdpau-driver/repos/multilib-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch (from rev 142839, lib32-libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
===================================================================
--- multilib-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch (rev 0)
+++ multilib-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch 2015-10-03 04:18:19 UTC (rev 142840)
@@ -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: lib32-libva-vdpau-driver/repos/multilib-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch (from rev 142839, lib32-libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-glext-missing-definition.patch)
===================================================================
--- multilib-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch (rev 0)
+++ multilib-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch 2015-10-03 04:18:19 UTC (rev 142840)
@@ -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: lib32-libva-vdpau-driver/repos/multilib-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch (from rev 142839, lib32-libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch)
===================================================================
--- multilib-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch (rev 0)
+++ multilib-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch 2015-10-03 04:18:19 UTC (rev 142840)
@@ -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