[arch-commits] Commit in vdpau-video/trunk (PKGBUILD vaDriverInit-func-fix.patch)

Ionut Biru ibiru at archlinux.org
Fri Aug 6 17:35:08 EDT 2010


    Date: Friday, August 6, 2010 @ 17:35:08
  Author: ibiru
Revision: 86916

upgpkg: vdpau-video 0.6.10-2
update to 0.6.10

Added:
  vdpau-video/trunk/vaDriverInit-func-fix.patch
Modified:
  vdpau-video/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   15 +++++++++------
 vaDriverInit-func-fix.patch |   19 +++++++++++++++++++
 2 files changed, 28 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-06 21:34:31 UTC (rev 86915)
+++ PKGBUILD	2010-08-06 21:35:08 UTC (rev 86916)
@@ -1,7 +1,7 @@
 # $Id$
 # Maintainer: Ionut Biru <ibiru at archlinux.org>
 pkgname=vdpau-video
-pkgver=0.6.9
+pkgver=0.6.10
 pkgrel=2
 pkgdesc="VDPAU backend for VA API"
 arch=('i686' 'x86_64')
@@ -9,15 +9,18 @@
 license=('GPL')
 depends=('libva' 'libvdpau')
 makedepends=('mesa')
-source=(http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/$pkgname-$pkgver.tar.gz)
-options=('force')
-md5sums=('0aa9a5d444f1c661ad4f5bde1a89dcba')
+options=('!libtool')
+source=(http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/$pkgname-latest.tar.gz
+        vaDriverInit-func-fix.patch)
+md5sums=('938c8c02da6fe650866ca627ef834121'
+         '9e0ab0bc4abae263d0bcc822af3f0ee5')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
-
+  patch -Np0 -i $srcdir/vaDriverInit-func-fix.patch
+  autoreconf -fi
   ./configure --prefix=/usr --enable-glx
-  make || return 1
+  make
   make DESTDIR="$pkgdir" install
 }
 

Added: vaDriverInit-func-fix.patch
===================================================================
--- vaDriverInit-func-fix.patch	                        (rev 0)
+++ vaDriverInit-func-fix.patch	2010-08-06 21:35:08 UTC (rev 86916)
@@ -0,0 +1,19 @@
+--- configure.ac	2010-07-08 11:51:15.000000000 +0300
++++ configure.ac~	2010-08-06 20:45:35.998833001 +0300
+@@ -179,11 +179,11 @@
+                           ${VA_MICRO_VERSION:-0} "*" 100     + \
+                           ${VA_SDS_VERSION:-0}`
+ VA_DRIVER_INIT_FUNC="__vaDriverInit_${VA_MAJOR_VERSION}_${VA_MINOR_VERSION}"
+-if test $va_full_version_int -ge 00310005; then
+-    VA_DRIVER_INIT_FUNC="${VA_DRIVER_INIT_FUNC}_${VA_MICRO_VERSION}_sds${VA_SDS_VERSION}"
+-else
+-    VA_DRIVER_INIT_FUNC="${VA_DRIVER_INIT_FUNC}_sds"
+-fi
++#if test $va_full_version_int -ge 00310005; then
++#    VA_DRIVER_INIT_FUNC="${VA_DRIVER_INIT_FUNC}_${VA_MICRO_VERSION}_sds${VA_SDS_VERSION}"
++#else
++#    VA_DRIVER_INIT_FUNC="${VA_DRIVER_INIT_FUNC}_sds"
++#fi
+ if test "$ac_cv_libva_sds_extensions" = "yes"; then
+     AC_DEFINE_UNQUOTED([VA_DRIVER_INIT_FUNC], [$VA_DRIVER_INIT_FUNC], [Define driver entry-point])
+ else



More information about the arch-commits mailing list