summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-14 02:15:33 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-14 02:15:33 (GMT)
commit0e7e4259ea370e4ff9003424fdc4cd9219256a36 (patch)
tree731119c7de6c3c59bffe3a48f1da95c4302eca30 /abs/extra
parentde48df133ac6cd529267d28073ba62d4e580ec06 (diff)
parentccd7ad0ca24806610bed586b2b1ed09c930f950f (diff)
downloadlinhes_pkgbuild-0e7e4259ea370e4ff9003424fdc4cd9219256a36.zip
linhes_pkgbuild-0e7e4259ea370e4ff9003424fdc4cd9219256a36.tar.gz
linhes_pkgbuild-0e7e4259ea370e4ff9003424fdc4cd9219256a36.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/libva/PKGBUILD16
-rw-r--r--abs/extra/libva/libva-dont-install-tests.patch22
-rw-r--r--abs/extra/vdpau-video/PKGBUILD26
-rw-r--r--abs/extra/vdpau-video/enable-glx.patch12
4 files changed, 59 insertions, 17 deletions
diff --git a/abs/extra/libva/PKGBUILD b/abs/extra/libva/PKGBUILD
index 16cb53c..dcd999f 100644
--- a/abs/extra/libva/PKGBUILD
+++ b/abs/extra/libva/PKGBUILD
@@ -1,20 +1,24 @@
-# $Id: PKGBUILD 96203 2010-10-19 09:46:04Z ibiru $
+# $Id$
# Maintainer : Ionut Biru <ibiru@archlinux.org>
pkgname=libva
-pkgver=1.0.6
+pkgver=1.0.7
pkgrel=1
pkgdesc="Video Acceleration (VA) API for Linux"
arch=('i686' 'x86_64')
url="http://freedesktop.org/wiki/Software/vaapi"
license=('MIT')
-depends=('libgl' 'libdrm' 'libxfixes')
+depends=('libgl' 'libdrm>=2.4.23' 'libxfixes')
makedepends=('mesa')
optdepends=('vdpau-video: VDPAU backend for VA API')
options=('!libtool')
-source=(http://cgit.freedesktop.org/libva/snapshot/${pkgname}-${pkgver}.tar.bz2)
+source=(http://cgit.freedesktop.org/libva/snapshot/${pkgname}-${pkgver}.tar.bz2
+ libva-dont-install-tests.patch)
+md5sums=('3903b0463e2892f8afbd631daa5619ae'
+ '0a9bd14c36545c0e9819dfe32ea80f41')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np0 -i "${srcdir}/libva-dont-install-tests.patch"
./autogen.sh
./configure --prefix=/usr \
--enable-i965-driver \
@@ -29,6 +33,4 @@ package() {
}
# vim:set ts=2 sw=2 et:
-md5sums=('c4680eb0d9004c72cd6e4de45cf479cf'
- '88f1142a1f437f2de7d8e9fd50c5b33c')
-md5sums=('c4680eb0d9004c72cd6e4de45cf479cf')
+
diff --git a/abs/extra/libva/libva-dont-install-tests.patch b/abs/extra/libva/libva-dont-install-tests.patch
index 0c3d120..43e4cba 100644
--- a/abs/extra/libva/libva-dont-install-tests.patch
+++ b/abs/extra/libva/libva-dont-install-tests.patch
@@ -1,16 +1,19 @@
---- test/basic/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
-+++ test/basic/Makefile.am 2010-03-10 13:36:50.449834525 -0500
+Don't install some useeless tests programs
+
+
+--- test/basic/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
++++ test/basic/Makefile.am 2010-03-10 13:36:50.449834525 -0500
@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-bin_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
+check_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
- test_07 test_08 test_09 test_10 test_11
+ test_07 test_08 test_09 test_10 test_11
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA
---- test/decode/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
-+++ test/decode/Makefile.am 2010-03-10 13:37:09.636843464 -0500
+--- test/decode/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
++++ test/decode/Makefile.am 2010-03-10 13:37:09.636843464 -0500
@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -20,8 +23,8 @@
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA
---- test/encode/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
-+++ test/encode/Makefile.am 2010-03-10 13:37:26.701846294 -0500
+--- test/encode/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
++++ test/encode/Makefile.am 2010-03-10 13:37:26.701846294 -0500
@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -31,8 +34,8 @@
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA
---- test/putsurface/Makefile.am~ 2010-03-10 13:18:55.270697040 -0500
-+++ test/putsurface/Makefile.am 2010-03-10 13:38:08.106713556 -0500
+--- test/putsurface/Makefile.am~ 2010-03-10 13:18:55.270697040 -0500
++++ test/putsurface/Makefile.am 2010-03-10 13:38:08.106713556 -0500
@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -42,4 +45,3 @@
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA
-
diff --git a/abs/extra/vdpau-video/PKGBUILD b/abs/extra/vdpau-video/PKGBUILD
new file mode 100644
index 0000000..d98b7c8
--- /dev/null
+++ b/abs/extra/vdpau-video/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 94611 2010-10-08 19:13:12Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+pkgname=vdpau-video
+pkgver=0.7.3.pre4
+pkgrel=1
+pkgdesc="VDPAU backend for VA API"
+arch=('i686' 'x86_64')
+url="http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/"
+license=('GPL')
+depends=('libva' 'libvdpau')
+makedepends=('mesa')
+options=('!libtool')
+source=(http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/${pkgname}-${pkgver}.tar.gz)
+ #enable-glx.patch)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+# patch -Np1 -i $srcdir/enable-glx.patch
+ autoreconf -fi
+ ./configure --prefix=/usr --enable-glx
+ make
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('704421ffd5b2ba33b1e1260fb7af9d4a')
diff --git a/abs/extra/vdpau-video/enable-glx.patch b/abs/extra/vdpau-video/enable-glx.patch
new file mode 100644
index 0000000..79263d2
--- /dev/null
+++ b/abs/extra/vdpau-video/enable-glx.patch
@@ -0,0 +1,12 @@
+diff -Nur vdpau-video-0.7.2.orig/configure.ac vdpau-video-0.7.2/configure.ac
+--- vdpau-video-0.7.2.orig/configure.ac 2010-10-08 00:09:53.000000000 -0700
++++ vdpau-video-0.7.2/configure.ac 2010-10-08 11:34:00.536686684 -0700
+@@ -203,7 +203,7 @@
+ # error "VA-API version >= 0.30.0-sds$LIBVA_GLX_SDS_VERSION_0_30 is required"
+ # endif
+ #elif VA_MAJOR_VERSION == 0 && VA_MINOR_VERSION == 31
+- # if !defined(VA_SDS_VERSION) || (VA_SDS_VERSION < $LIBVA_GLX_SDS_VERSION_0_31)
++ # if !VA_CHECK_VERSION(0,31,0)
+ # error "VA-API version >= 0.31.0-sds$LIBVA_GLX_SDS_VERSION_0_31 is required"
+ # endif
+ #else