[arch-commits] Commit in (xvba-video-open)

2013-06-22 Thread Laurent Carlier
Date: Saturday, June 22, 2013 @ 08:09:35
  Author: lcarlier
Revision: 93006

Moved to aur

Deleted:
  xvba-video-open/



[arch-commits] Commit in xvba-video-open/trunk (4 files)

2013-02-17 Thread Laurent Carlier
Date: Sunday, February 17, 2013 @ 11:00:15
  Author: lcarlier
Revision: 84372

upgpkg: xvba-video-open 0.8.0-2

Add patchs from opensuse

Added:
  xvba-video-open/trunk/fix-build-with-glext.h-version-85.patch
  xvba-video-open/trunk/xvba-video-0.8.0-glx-fix.patch
  xvba-video-open/trunk/xvba-video-h264-level51.patch
Modified:
  xvba-video-open/trunk/PKGBUILD

-+
 PKGBUILD|   22 +---
 fix-build-with-glext.h-version-85.patch |   17 +++
 xvba-video-0.8.0-glx-fix.patch  |   12 ++
 xvba-video-h264-level51.patch   |   33 ++
 4 files changed, 81 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-02-17 02:30:26 UTC (rev 84371)
+++ PKGBUILD2013-02-17 10:00:15 UTC (rev 84372)
@@ -4,7 +4,7 @@
 
 pkgname=xvba-video-open
 pkgver=0.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc=OSS version of xvba-video lib to enable hw video acceleration on 
AMD's HD series of GFX cards
 arch=('i686' 'x86_64')
 url=http://www.splitted-desktop.com/~gbeauchesne/xvba-video/;
@@ -13,13 +13,24 @@
 makedepends=('mesa')
 options=(!libtool)
 
source=(ftp://ftp.archlinux.org/other/community/xvba-video-open/xvba-video-${pkgver}.tar.gz
-http://developer.amd.com/downloads/xvba-sdk-0.74-404001.tar.gz)
+
http://developer.amd.com/wordpress/media/2012/10/xvba-sdk-0.74-404001.tar.gz
+xvba-video-h264-level51.patch
+xvba-video-0.8.0-glx-fix.patch
+fix-build-with-glext.h-version-85.patch)
 md5sums=('d9ddec2e7f02c1fa533773918e88e311'
- 'b8f56bc55aa70cb19dd12857fdc184cc')
+ 'b8f56bc55aa70cb19dd12857fdc184cc'
+ 'bce1de0a8b274049568453a53e8fce6a'
+ '5dc283eab46418eeef8e8be7c028a2ba')
 
 build() {
   cd ${srcdir}/xvba-video-${pkgver}
 
+  # patch from opensuse (thanks vi0l0!)
+  patch -Np1 -i ../xvba-video-h264-level51.patch
+  patch -Np1 -i ../xvba-video-0.8.0-glx-fix.patch
+  
+  patch -Np1 -i ../fix-build-with-glext.h-version-85.patch
+
   export CPPFLAGS=${CPPFLAGS} -I${srcdir}/include
   
   ./configure --disable-debug --enable-libxvba-dlopen --prefix=/usr
@@ -31,3 +42,8 @@
 
   make DESTDIR=${pkgdir} install
 }
+md5sums=('d9ddec2e7f02c1fa533773918e88e311'
+ 'b8f56bc55aa70cb19dd12857fdc184cc'
+ 'bce1de0a8b274049568453a53e8fce6a'
+ '5dc283eab46418eeef8e8be7c028a2ba'
+ '69e8a9027affbaf7066e35bc97b3a984')

Added: fix-build-with-glext.h-version-85.patch
===
--- fix-build-with-glext.h-version-85.patch (rev 0)
+++ fix-build-with-glext.h-version-85.patch 2013-02-17 10:00:15 UTC (rev 
84372)
@@ -0,0 +1,17 @@
+diff -ru xvba-video-0.8.0/src/utils_glx.h 
xvba-video-0.8.0.patched/src/utils_glx.h
+--- xvba-video-0.8.0/src/utils_glx.h   2011-06-14 13:07:13.0 +0200
 xvba-video-0.8.0.patched/src/utils_glx.h   2013-02-17 10:53:34.589818821 
+0100
+@@ -25,6 +25,13 @@
+ #include GL/glext.h
+ #include GL/glx.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
++
+ #ifndef GL_FRAMEBUFFER_BINDING
+ #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT
+ #endif

Added: xvba-video-0.8.0-glx-fix.patch
===
--- xvba-video-0.8.0-glx-fix.patch  (rev 0)
+++ xvba-video-0.8.0-glx-fix.patch  2013-02-17 10:00:15 UTC (rev 84372)
@@ -0,0 +1,12 @@
+diff -ur xvba-video-0.8.0/src/xvba_image.c 
xvba-video-0.8.0-patched/src/xvba_image.c
+--- xvba-video-0.8.0/src/xvba_image.c  2011-06-14 13:07:13.0 +0200
 xvba-video-0.8.0-patched/src/xvba_image.c  2012-07-22 14:55:14.186667413 
+0200
+@@ -423,7 +423,7 @@
+ }
+ 
+ #if USE_GLX
+-const HWImageHooks hw_image_hooks_glx attribute_hidden;
++extern const HWImageHooks hw_image_hooks_glx attribute_hidden;
+ #endif
+ 
+ // Commit image to the HW

Added: xvba-video-h264-level51.patch
===
--- xvba-video-h264-level51.patch   (rev 0)
+++ xvba-video-h264-level51.patch   2013-02-17 10:00:15 UTC (rev 84372)
@@ -0,0 +1,33 @@
+diff -rup xvba-video.orig/src/xvba_buffer.c xvba-video/src/xvba_buffer.c
+--- xvba-video.orig/src/xvba_buffer.c  2011-09-08 03:17:28.0 +0200
 xvba-video/src/xvba_buffer.c   2012-07-03 21:38:04.851465348 +0200
+@@ -368,23 +368,18 @@ translate_VAPictureParameterBufferH264(
+ obj_context-picture_height
+ );
+ 
+-/* Check for H.264 content over HP@L4.1 */
++/* Check for wrongly coded H264 Level 41
++   

[arch-commits] Commit in xvba-video-open/repos (10 files)

2013-02-17 Thread Laurent Carlier
Date: Sunday, February 17, 2013 @ 11:00:33
  Author: lcarlier
Revision: 84373

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  xvba-video-open/repos/community-testing-i686/
  xvba-video-open/repos/community-testing-i686/PKGBUILD
(from rev 84372, xvba-video-open/trunk/PKGBUILD)
  
xvba-video-open/repos/community-testing-i686/fix-build-with-glext.h-version-85.patch
(from rev 84372, 
xvba-video-open/trunk/fix-build-with-glext.h-version-85.patch)
  xvba-video-open/repos/community-testing-i686/xvba-video-0.8.0-glx-fix.patch
(from rev 84372, xvba-video-open/trunk/xvba-video-0.8.0-glx-fix.patch)
  xvba-video-open/repos/community-testing-i686/xvba-video-h264-level51.patch
(from rev 84372, xvba-video-open/trunk/xvba-video-h264-level51.patch)
  xvba-video-open/repos/community-testing-x86_64/
  xvba-video-open/repos/community-testing-x86_64/PKGBUILD
(from rev 84372, xvba-video-open/trunk/PKGBUILD)
  
xvba-video-open/repos/community-testing-x86_64/fix-build-with-glext.h-version-85.patch
(from rev 84372, 
xvba-video-open/trunk/fix-build-with-glext.h-version-85.patch)
  xvba-video-open/repos/community-testing-x86_64/xvba-video-0.8.0-glx-fix.patch
(from rev 84372, xvba-video-open/trunk/xvba-video-0.8.0-glx-fix.patch)
  xvba-video-open/repos/community-testing-x86_64/xvba-video-h264-level51.patch
(from rev 84372, xvba-video-open/trunk/xvba-video-h264-level51.patch)

--+
 community-testing-i686/PKGBUILD  |   49 
++
 community-testing-i686/fix-build-with-glext.h-version-85.patch   |   17 +++
 community-testing-i686/xvba-video-0.8.0-glx-fix.patch|   12 ++
 community-testing-i686/xvba-video-h264-level51.patch |   33 ++
 community-testing-x86_64/PKGBUILD|   49 
++
 community-testing-x86_64/fix-build-with-glext.h-version-85.patch |   17 +++
 community-testing-x86_64/xvba-video-0.8.0-glx-fix.patch  |   12 ++
 community-testing-x86_64/xvba-video-h264-level51.patch   |   33 ++
 8 files changed, 222 insertions(+)

Copied: xvba-video-open/repos/community-testing-i686/PKGBUILD (from rev 84372, 
xvba-video-open/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-02-17 10:00:33 UTC (rev 84373)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Laurent Carlier lordhea...@gmail.com
+# Contributor: Jesse Jaara gmail.com: jesse.jaara
+
+pkgname=xvba-video-open
+pkgver=0.8.0
+pkgrel=2
+pkgdesc=OSS version of xvba-video lib to enable hw video acceleration on 
AMD's HD series of GFX cards
+arch=('i686' 'x86_64')
+url=http://www.splitted-desktop.com/~gbeauchesne/xvba-video/;
+license=('GPL2')
+depends=('catalyst-utils' 'libva')
+makedepends=('mesa')
+options=(!libtool)
+source=(ftp://ftp.archlinux.org/other/community/xvba-video-open/xvba-video-${pkgver}.tar.gz
+
http://developer.amd.com/wordpress/media/2012/10/xvba-sdk-0.74-404001.tar.gz
+xvba-video-h264-level51.patch
+xvba-video-0.8.0-glx-fix.patch
+fix-build-with-glext.h-version-85.patch)
+md5sums=('d9ddec2e7f02c1fa533773918e88e311'
+ 'b8f56bc55aa70cb19dd12857fdc184cc'
+ 'bce1de0a8b274049568453a53e8fce6a'
+ '5dc283eab46418eeef8e8be7c028a2ba')
+
+build() {
+  cd ${srcdir}/xvba-video-${pkgver}
+
+  # patch from opensuse (thanks vi0l0!)
+  patch -Np1 -i ../xvba-video-h264-level51.patch
+  patch -Np1 -i ../xvba-video-0.8.0-glx-fix.patch
+  
+  patch -Np1 -i ../fix-build-with-glext.h-version-85.patch
+
+  export CPPFLAGS=${CPPFLAGS} -I${srcdir}/include
+  
+  ./configure --disable-debug --enable-libxvba-dlopen --prefix=/usr
+  make PYTHON=python2
+}
+
+package() {
+  cd ${srcdir}/xvba-video-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+}
+md5sums=('d9ddec2e7f02c1fa533773918e88e311'
+ 'b8f56bc55aa70cb19dd12857fdc184cc'
+ 'bce1de0a8b274049568453a53e8fce6a'
+ '5dc283eab46418eeef8e8be7c028a2ba'
+ '69e8a9027affbaf7066e35bc97b3a984')

Copied: 
xvba-video-open/repos/community-testing-i686/fix-build-with-glext.h-version-85.patch
 (from rev 84372, xvba-video-open/trunk/fix-build-with-glext.h-version-85.patch)
===
--- community-testing-i686/fix-build-with-glext.h-version-85.patch  
(rev 0)
+++ community-testing-i686/fix-build-with-glext.h-version-85.patch  
2013-02-17 10:00:33 UTC (rev 84373)
@@ -0,0 +1,17 @@
+diff -ru xvba-video-0.8.0/src/utils_glx.h 
xvba-video-0.8.0.patched/src/utils_glx.h
+--- xvba-video-0.8.0/src/utils_glx.h   2011-06-14 13:07:13.0 +0200
 xvba-video-0.8.0.patched/src/utils_glx.h   2013-02-17 10:53:34.589818821 
+0100
+@@ -25,6 +25,13 @@
+ #include GL/glext.h
+ #include GL/glx.h
+ 
++#if