[arch-commits] Commit in libva-vdpau-driver/repos/extra-x86_64 (9 files)
Maxime Gauduin
alucryd at archlinux.org
Sun Dec 6 09:55:46 UTC 2020
Date: Sunday, December 6, 2020 @ 09:55:46
Author: alucryd
Revision: 402920
archrelease: copy trunk to extra-x86_64
Added:
libva-vdpau-driver/repos/extra-x86_64/PKGBUILD
(from rev 402919, libva-vdpau-driver/trunk/PKGBUILD)
libva-vdpau-driver/repos/extra-x86_64/libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch
(from rev 402919, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch)
libva-vdpau-driver/repos/extra-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
(from rev 402919, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
libva-vdpau-driver/repos/extra-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
(from rev 402919, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-glext-missing-definition.patch)
libva-vdpau-driver/repos/extra-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
(from rev 402919, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch)
Deleted:
libva-vdpau-driver/repos/extra-x86_64/PKGBUILD
libva-vdpau-driver/repos/extra-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
libva-vdpau-driver/repos/extra-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
libva-vdpau-driver/repos/extra-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
---------------------------------------------------------+
PKGBUILD | 109 +++++++-------
libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch | 24 +++
libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch | 58 +++----
libva-vdpau-driver-0.7.4-glext-missing-definition.patch | 32 ++--
libva-vdpau-driver-0.7.4-libvdpau-0.8.patch | 22 +-
5 files changed, 136 insertions(+), 109 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-06 09:55:37 UTC (rev 402919)
+++ PKGBUILD 2020-12-06 09:55:46 UTC (rev 402920)
@@ -1,53 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=libva-vdpau-driver
-pkgver=0.7.4
-pkgrel=4
-pkgdesc='VDPAU backend for VA API'
-arch=(x86_64)
-url=https://freedesktop.org/wiki/Software/vaapi
-license=(GPL)
-depends=(
- libgl
- libva
- libvdpau
- libx11
-)
-makedepends=(mesa)
-source=(
- https://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/extra-x86_64/PKGBUILD (from rev 402919, libva-vdpau-driver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-06 09:55:46 UTC (rev 402920)
@@ -0,0 +1,56 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=libva-vdpau-driver
+pkgver=0.7.4
+pkgrel=5
+pkgdesc='VDPAU backend for VA API'
+arch=(x86_64)
+url=https://freedesktop.org/wiki/Software/vaapi
+license=(GPL)
+depends=(
+ libgl
+ libvdpau
+ libx11
+)
+makedepends=(
+ libva
+ mesa
+)
+source=(
+ https://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
+ libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch
+)
+b2sums=('b9cd0bbbe1e638ad29363cd0d8c6452de222023017283ce81f138730c7ba3396f3ffca40478746cab4b93a8855e73de405aa783e44e6c1179c5e347bd7eff657'
+ '3c295a68cb0976f976880f13296c703c3b75abdd3311b790c132ba233e9d26975686d8b618cdda594b1aa2e5cbadee850bf2e08cc35ca2c7ee11fe10c535d91c'
+ 'f1bc6e3840769ce4a5e53d85867a854ddfc780e670ca095541b9f2465ca0c96f3c7ed00da596f88d0c60aa749afcaf734670ada449c8a87e27f999c74539bc78'
+ '5a5a12aff1f93769d480525140e7a0d61f4db64e57f1f956d778d1ab8be881b209779030ce14b8fee53dd4cbb6a7c59a0c9297ad0c92548268c840ea0f5910b0'
+ '3a7daab7f6144837e50cabd06d30709bf7fc3218e226953471f2908efad2da78cb5035f9443642381460f6ffacd0eb0c9accf7e4084fcdf12e6942c6603dbb9a')
+
+prepare() {
+ cd libva-vdpau-driver-${pkgver}
+
+ patch -Np1 -i ../libva-vdpau-driver-0.7.4-glext-missing-definition.patch
+ patch -Np1 -i ../libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
+ patch -Np1 -i ../libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
+ patch -Np1 -i ../libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.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/extra-x86_64/libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch (from rev 402919, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch)
===================================================================
--- libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch (rev 0)
+++ libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch 2020-12-06 09:55:46 UTC (rev 402920)
@@ -0,0 +1,24 @@
+diff -rupN libva-vdpau-driver-0.7.4.orig/src/vdpau_video.c libva-vdpau-driver-0.7.4/src/vdpau_video.c
+--- libva-vdpau-driver-0.7.4.orig/src/vdpau_video.c 2020-12-06 10:48:03.320569841 +0100
++++ libva-vdpau-driver-0.7.4/src/vdpau_video.c 2020-12-06 10:50:45.437401497 +0100
+@@ -927,8 +927,6 @@ VAStatus
+ vdpau_CreateSurfaceFromV4L2Buf(
+ VADriverContextP ctx,
+ int v4l2_fd,
+- struct v4l2_format *v4l2_fmt,
+- struct v4l2_buffer *v4l2_buf,
+ VASurfaceID *surface
+ )
+ {
+diff -rupN libva-vdpau-driver-0.7.4.orig/src/vdpau_video.h libva-vdpau-driver-0.7.4/src/vdpau_video.h
+--- libva-vdpau-driver-0.7.4.orig/src/vdpau_video.h 2020-12-06 10:48:03.317236508 +0100
++++ libva-vdpau-driver-0.7.4/src/vdpau_video.h 2020-12-06 10:50:45.417401454 +0100
+@@ -274,8 +274,6 @@ VAStatus
+ vdpau_CreateSurfaceFromV4L2Buf(
+ VADriverContextP ctx,
+ int v4l2_fd,
+- struct v4l2_format *v4l2_fmt,
+- struct v4l2_buffer *v4l2_buf,
+ VASurfaceID *surface
+ ) attribute_hidden;
+
Deleted: libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
===================================================================
--- libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch 2020-12-06 09:55:37 UTC (rev 402919)
+++ libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch 2020-12-06 09:55:46 UTC (rev 402920)
@@ -1,29 +0,0 @@
->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/extra-x86_64/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch (from rev 402919, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch)
===================================================================
--- libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch (rev 0)
+++ libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch 2020-12-06 09:55:46 UTC (rev 402920)
@@ -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
+
Deleted: libva-vdpau-driver-0.7.4-glext-missing-definition.patch
===================================================================
--- libva-vdpau-driver-0.7.4-glext-missing-definition.patch 2020-12-06 09:55:37 UTC (rev 402919)
+++ libva-vdpau-driver-0.7.4-glext-missing-definition.patch 2020-12-06 09:55:46 UTC (rev 402920)
@@ -1,16 +0,0 @@
---- 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/extra-x86_64/libva-vdpau-driver-0.7.4-glext-missing-definition.patch (from rev 402919, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-glext-missing-definition.patch)
===================================================================
--- libva-vdpau-driver-0.7.4-glext-missing-definition.patch (rev 0)
+++ libva-vdpau-driver-0.7.4-glext-missing-definition.patch 2020-12-06 09:55:46 UTC (rev 402920)
@@ -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
Deleted: libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
===================================================================
--- libva-vdpau-driver-0.7.4-libvdpau-0.8.patch 2020-12-06 09:55:37 UTC (rev 402919)
+++ libva-vdpau-driver-0.7.4-libvdpau-0.8.patch 2020-12-06 09:55:46 UTC (rev 402920)
@@ -1,11 +0,0 @@
---- 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/extra-x86_64/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch (from rev 402919, libva-vdpau-driver/trunk/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch)
===================================================================
--- libva-vdpau-driver-0.7.4-libvdpau-0.8.patch (rev 0)
+++ libva-vdpau-driver-0.7.4-libvdpau-0.8.patch 2020-12-06 09:55:46 UTC (rev 402920)
@@ -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