From 0d7ac2841784a53f03cddf5e6548d2016b94f3fa Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 7 Feb 2017 13:57:00 +0000
Subject: libvpx: update to 1.6.1

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

diff --git a/abs/extra/libvpx/PKGBUILD b/abs/extra/libvpx/PKGBUILD
index f4aa2d1..17af63a 100644
--- a/abs/extra/libvpx/PKGBUILD
+++ b/abs/extra/libvpx/PKGBUILD
@@ -1,10 +1,11 @@
 # $Id$
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
 
 pkgname=libvpx
-pkgver=1.5.0
-pkgrel=4
+pkgver=1.6.1
+pkgrel=1
 pkgdesc='VP8 and VP9 codec'
 arch=('i686' 'x86_64')
 url='http://www.webmproject.org/'
@@ -12,37 +13,35 @@ license=('BSD')
 depends=('glibc' 'gcc-libs')
 makedepends=('yasm' 'git')
 provides=('libvpx.so')
-source=($pkgname-$pkgver.tar.gz::https://github.com/webmproject/libvpx/archive/v$pkgver.tar.gz
-        0001-Fix-for-issue-1114-compile-error.patch)
-md5sums=('0c662bc7525afe281badb3175140d35c'
-         'a03e318d5d92270ed826b55d6d9dc828')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # https://bugs.chromium.org/p/webm/issues/detail?id=1114
-  patch -Np1 -i ../0001-Fix-for-issue-1114-compile-error.patch
-}
+source=("libvpx-${pkgver}.tar.gz::https://github.com/webmproject/libvpx/archive/v${pkgver}.tar.gz")
+sha256sums=('cda8bb6f0e4848c018177d3a576fa83ed96d762554d7010fe4cfb9d70c22e588')
 
 build() {
-  cd $pkgname-$pkgver
+  cd libvpx-${pkgver}
 
-  ./configure --prefix=/usr \
-    --enable-vp8 \
-    --enable-vp9 \
-    --enable-vp9-highbitdepth \
+  ./configure \
+    --prefix='/usr' \
     --enable-runtime-cpu-detect \
     --enable-shared \
-    --enable-postproc \
     --enable-pic \
-    --enable-experimental --enable-spatial-svc \
     --disable-install-docs \
-    --disable-install-srcs
+    --disable-install-srcs \
+    --enable-vp8 \
+    --enable-postproc \
+    --enable-vp9 \
+    --enable-vp9-highbitdepth \
+    --enable-experimental \
+    --enable-spatial-svc
+
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DIST_DIR="$pkgdir/usr" install
-  install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd libvpx-${pkgver}
+
+  make DIST_DIR="${pkgdir}"/usr install
+
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx/
 }
+
+# vim: ts=2 sw=2 et:
-- 
cgit v0.12

