From fca51d2c6854d17ced220a16d7b00a16493d3d3a Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 5 May 2014 19:52:37 +0000
Subject: libvpx: update to 1.3.0

---
 abs/extra/libvpx/PKGBUILD | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/abs/extra/libvpx/PKGBUILD b/abs/extra/libvpx/PKGBUILD
index 09c994f..0fad7b8 100644
--- a/abs/extra/libvpx/PKGBUILD
+++ b/abs/extra/libvpx/PKGBUILD
@@ -1,20 +1,23 @@
-# $Id: PKGBUILD 158895 2012-05-12 18:37:10Z ibiru $
+# $Id$
 # Maintainer: Ionut Biru <ibiru@archlinux.org>
+
 pkgname=libvpx
-pkgver=1.1.0
+pkgver=1.3.0
 pkgrel=1
-pkgdesc="The VP8 Codec SDK"
+pkgdesc='The VP8 Codec SDK'
 arch=('i686' 'x86_64')
-url="http://www.webmproject.org/"
+url='http://www.webmproject.org/'
 license=('BSD')
 depends=('glibc')
-makedepends=('yasm')
-source=(http://webm.googlecode.com/files/$pkgname-v$pkgver.tar.bz2)
-sha1sums=('356af5f770c50cd021c60863203d8f30164f6021')
+makedepends=('yasm' 'git')
+source=($pkgname::git+http://code.google.com/p/webm.libvpx#tag=v$pkgver)
+md5sums=('SKIP')
 
 build() {
-    cd "$pkgname-v$pkgver"
-    ./configure --prefix=/usr --enable-vp8 \
+    cd $pkgname
+    ./configure --prefix=/usr \
+        --enable-vp8 \
+        --enable-vp9 \
         --enable-runtime-cpu-detect \
         --enable-shared \
         --enable-postproc \
@@ -25,7 +28,7 @@ build() {
 }
 
 package() {
-    cd "$pkgname-v$pkgver"
+    cd $pkgname
     make DIST_DIR="$pkgdir/usr" install
-    install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+    install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
-- 
cgit v0.12

