diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-01-28 14:53:25 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-01-28 14:53:25 (GMT) |
commit | 96fff570566a08ceeaf1bca468373d55df778369 (patch) | |
tree | d940c8979e9899816692d8229d001a71426d0a1a /abs/extra/libvpx/PKGBUILD | |
parent | 8d42f3d34ba7f5110f417b902042b08e366ac65f (diff) | |
download | linhes_pkgbuild-96fff570566a08ceeaf1bca468373d55df778369.zip linhes_pkgbuild-96fff570566a08ceeaf1bca468373d55df778369.tar.gz linhes_pkgbuild-96fff570566a08ceeaf1bca468373d55df778369.tar.bz2 |
libvpx: update to 1.5.0
Diffstat (limited to 'abs/extra/libvpx/PKGBUILD')
-rw-r--r-- | abs/extra/libvpx/PKGBUILD | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/abs/extra/libvpx/PKGBUILD b/abs/extra/libvpx/PKGBUILD index 3534b18..f4aa2d1 100644 --- a/abs/extra/libvpx/PKGBUILD +++ b/abs/extra/libvpx/PKGBUILD @@ -3,8 +3,8 @@ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> pkgname=libvpx -pkgver=1.4.0 -pkgrel=2 +pkgver=1.5.0 +pkgrel=4 pkgdesc='VP8 and VP9 codec' arch=('i686' 'x86_64') url='http://www.webmproject.org/' @@ -12,25 +12,37 @@ license=('BSD') depends=('glibc' 'gcc-libs') makedepends=('yasm' 'git') provides=('libvpx.so') -source=($pkgname::git+http://code.google.com/p/webm.libvpx#tag=v$pkgver) -md5sums=('SKIP') +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 +} build() { - cd $pkgname + cd $pkgname-$pkgver + ./configure --prefix=/usr \ --enable-vp8 \ --enable-vp9 \ + --enable-vp9-highbitdepth \ --enable-runtime-cpu-detect \ --enable-shared \ --enable-postproc \ --enable-pic \ + --enable-experimental --enable-spatial-svc \ --disable-install-docs \ --disable-install-srcs make } package() { - cd $pkgname + cd $pkgname-$pkgver make DIST_DIR="$pkgdir/usr" install install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |