[arch-commits] Commit in libva/repos (3 files)
Ionut Biru
ibiru at archlinux.org
Thu Jun 7 19:25:28 UTC 2012
Date: Thursday, June 7, 2012 @ 15:25:27
Author: ibiru
Revision: 160974
archrelease: copy trunk to testing-x86_64
Added:
libva/repos/testing-x86_64/
libva/repos/testing-x86_64/PKGBUILD
(from rev 160973, libva/trunk/PKGBUILD)
libva/repos/testing-x86_64/libva.install
(from rev 160973, libva/trunk/libva.install)
---------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
libva.install | 5 +++++
2 files changed, 38 insertions(+)
Copied: libva/repos/testing-x86_64/PKGBUILD (from rev 160973, libva/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-06-07 19:25:27 UTC (rev 160974)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+
+pkgname=libva
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Video Acceleration (VA) API for Linux"
+arch=('i686' 'x86_64')
+url="http://freedesktop.org/wiki/Software/vaapi"
+license=('MIT')
+depends=('libegl' 'libgl' 'libdrm' 'libxfixes')
+makedepends=('mesa')
+optdepends=('vdpau-video: vdpau back-end for nvidia'
+ 'libva-driver-intel: back-end for intel cards')
+options=('!libtool')
+install=libva.install
+source=(http://cgit.freedesktop.org/libva/snapshot/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('b22179bd44137e91d5c77a43a0cb8063')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -m644 -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: libva/repos/testing-x86_64/libva.install (from rev 160973, libva/trunk/libva.install)
===================================================================
--- testing-x86_64/libva.install (rev 0)
+++ testing-x86_64/libva.install 2012-06-07 19:25:27 UTC (rev 160974)
@@ -0,0 +1,5 @@
+post_upgrade() {
+ if [ "$(vercmp $2 1.0.15-1)" -lt 0 ]; then
+ echo 'Starting with libva version 1.0.15, the intel back-end is now in libva-driver-intel.'
+ fi
+}
More information about the arch-commits
mailing list