From 4ab80d71d38d8aa06f9bd01639fdb9357faa80e1 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 15 Dec 2014 18:43:07 +0000
Subject: libva: update 1.4.1

---
 abs/extra/libva/PKGBUILD      | 32 ++++++++++++++------------------
 abs/extra/libva/libva.install |  5 -----
 2 files changed, 14 insertions(+), 23 deletions(-)
 delete mode 100644 abs/extra/libva/libva.install

diff --git a/abs/extra/libva/PKGBUILD b/abs/extra/libva/PKGBUILD
index 5840a77..dad11fd 100644
--- a/abs/extra/libva/PKGBUILD
+++ b/abs/extra/libva/PKGBUILD
@@ -1,33 +1,29 @@
-# $Id: PKGBUILD 161866 2012-06-16 00:18:39Z ibiru $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# $Id$
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
 
 pkgname=libva
-pkgver=1.0.16 
+pkgver=1.4.1
 pkgrel=1
-pkgdesc="Video Acceleration (VA) API for Linux"
+pkgdesc='Video Acceleration (VA) API for Linux'
 arch=('i686' 'x86_64')
-url="http://freedesktop.org/wiki/Software/vaapi"
+url='http://freedesktop.org/wiki/Software/vaapi'
 license=('MIT')
-depends=('libegl' 'libgl' 'libdrm' 'libxfixes')
+depends=('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)
+optdepends=('libva-vdpau-driver: backend for Nvidia and AMD cards'
+            'libva-intel-driver: backend for Intel cards')
+source=(http://freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('8e3e7096750c14d1f98da807df7c1ba5')
 
 build() {
-  cd "$pkgname-$pkgver"
-  ./autogen.sh
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
-  install -m644 -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
-
-# vim:set ts=2 sw=2 et:
-md5sums=('49d74e1e4f8a4937af7a62d457f61106')
diff --git a/abs/extra/libva/libva.install b/abs/extra/libva/libva.install
deleted file mode 100644
index 4d8b8e2..0000000
--- a/abs/extra/libva/libva.install
+++ /dev/null
@@ -1,5 +0,0 @@
-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
-}
-- 
cgit v0.12

