summaryrefslogtreecommitdiffstats
path: root/abs/extra/libvpx
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-02-07 13:57:00 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-02-07 13:57:00 (GMT)
commit0d7ac2841784a53f03cddf5e6548d2016b94f3fa (patch)
tree033181fd7d014f4afbfad52ff00b961cd137b806 /abs/extra/libvpx
parente4134c31d949738e675d2d388838fd294bd79633 (diff)
downloadlinhes_pkgbuild-0d7ac2841784a53f03cddf5e6548d2016b94f3fa.zip
linhes_pkgbuild-0d7ac2841784a53f03cddf5e6548d2016b94f3fa.tar.gz
linhes_pkgbuild-0d7ac2841784a53f03cddf5e6548d2016b94f3fa.tar.bz2
libvpx: update to 1.6.1
Diffstat (limited to 'abs/extra/libvpx')
-rw-r--r--abs/extra/libvpx/PKGBUILD51
1 files 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: