# Maintainer: Maxime Gauduin # Contributor: Ionut Biru # Contributor: Bartłomiej Piotrowski # remove when bumped upstream pkgname=libvpx pkgver=1.11.0 pkgrel=1.1 pkgdesc='VP8 and VP9 codec' arch=(x86_64) url=https://www.webmproject.org/ license=(BSD) depends=(gcc-libs) makedepends=( git nasm ) provides=(libvpx.so) _tag=626ff35955c2c35b806b3e0ecf551a1a8611cdbf source=(git+https://chromium.googlesource.com/webm/libvpx#tag=${_tag}) sha256sums=(SKIP) pkgver() { cd libvpx git describe --tags | sed 's/^v//' } build() { cd libvpx ./configure \ --prefix=/usr \ --disable-install-docs \ --disable-install-srcs \ --enable-pic \ --enable-postproc \ --enable-runtime-cpu-detect \ --enable-shared \ --enable-vp8 \ --enable-vp9 \ --enable-vp9-highbitdepth \ --enable-vp9-temporal-denoising make } package() { cd libvpx make DIST_DIR="${pkgdir}"/usr install install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx/ } # vim: ts=2 sw=2 et: