Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ddefa92e11f641812d04cf3a1ff4685b0315de36
commit ddefa92e11f641812d04cf3a1ff4685b0315de36 Author: James Buren <[email protected]> Date: Mon Dec 31 07:48:55 2012 -0600 libva-xvba-driver-0.8.0-1-x86_64 * new package diff --git a/source/x11-extra/libva-xvba-driver/FrugalBuild b/source/x11-extra/libva-xvba-driver/FrugalBuild new file mode 100644 index 0000000..f99518f --- /dev/null +++ b/source/x11-extra/libva-xvba-driver/FrugalBuild @@ -0,0 +1,29 @@ +# Compiling Time: 0.12 SBU +# Maintainer: DeX77 <[email protected]> + +pkgname=libva-xvba-driver +pkgver=0.8.0 +pkgrel=1 +pkgdesc="XVBA backend for VA API" +archs=('i686' 'x86_64' '!arm') +url="http://freedesktop.org/wiki/Software/vaapi" +license=('GPL') +depends=('libva' 'catalyst') +makedepends=('xvba-sdk' 'mesa-libgl-headers') +groups=('x11-extra') +_F_archive_name="xvba-driver" +source=(http://cgit.freedesktop.org/vaapi/$_F_archive_name/snapshot/$_F_archive_name-$pkgver.tar.gz fixes.patch) +up2date="Flasttar http://cgit.freedesktop.org/vaapi/$_F_archive_name/" +sha1sums=('fb61a1d93288e9ee71be0b4d8d8d8857348d1abc' \ + '6819fad66d05b6ab958590a59974339aef2df8fc') + +build() +{ + Fcd + Fpatchall + Fautoreconf + Fmake --disable-debug --enable-glx --enable-libxvba-dlopen + Fmakeinstall +} + +# optimization OK diff --git a/source/x11-extra/libva-xvba-driver/fixes.patch b/source/x11-extra/libva-xvba-driver/fixes.patch new file mode 100644 index 0000000..1820e97 --- /dev/null +++ b/source/x11-extra/libva-xvba-driver/fixes.patch @@ -0,0 +1,64 @@ +diff -ur a/configure.ac b/configure.ac +--- a/configure.ac 2011-06-14 06:21:10.000000000 -0500 ++++ b/configure.ac 2012-12-31 07:36:20.683649741 -0600 +@@ -26,7 +26,7 @@ + AC_CONFIG_SRCDIR([Makefile.am]) + AC_CANONICAL_TARGET + AM_INIT_AUTOMAKE +-AM_CONFIG_HEADER([src/config.h]) ++AC_CONFIG_HEADERS([src/config.h]) + + LIBVA_SDS_VERSION_0_29=libva_sds_version_0_29 + LIBVA_SDS_VERSION_0_30=libva_sds_version_0_30 +diff -ur a/src/utils_glx.h b/src/utils_glx.h +--- a/src/utils_glx.h 2011-06-14 06:21:10.000000000 -0500 ++++ b/src/utils_glx.h 2012-12-31 07:45:09.156630290 -0600 +@@ -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 +diff -ur a/src/xvba_gate.h b/src/xvba_gate.h +--- a/src/xvba_gate.h 2011-06-14 06:21:10.000000000 -0500 ++++ b/src/xvba_gate.h 2012-12-31 07:45:07.875630338 -0600 +@@ -26,6 +26,13 @@ + + #if USE_GLX + #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 + #endif + + #define XVBA_FAKE XVBA_FOURCC('F','A','K','E') +diff -ur a/src/xvba_video_glx.h b/src/xvba_video_glx.h +--- a/src/xvba_video_glx.h 2011-06-14 06:21:10.000000000 -0500 ++++ b/src/xvba_video_glx.h 2012-12-31 07:45:04.788630451 -0600 +@@ -25,6 +25,14 @@ + #include <va/va_backend.h> + #include <GL/gl.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 ++ + #include <pthread.h> + #include "object_heap.h" + #include "xvba_video_x11.h" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
