1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
8 pkgdesc='VP8 and VP9 codec'
10 url=https://www.webmproject.org/
18 _tag=d6eb9696aa72473c1a11d34d928d35a3acc0c9a9
19 source=(git+https://chromium.googlesource.com/webm/libvpx#tag=${_tag})
25 git describe --tags | sed 's/^v//'
31 CFLAGS+=' -ffat-lto-objects'
32 CXXFLAGS+=' -ffat-lto-objects'
36 --disable-install-docs \
37 --disable-install-srcs \
38 --disable-unit-tests \
41 --enable-runtime-cpu-detect \
45 --enable-vp9-highbitdepth \
46 --enable-vp9-temporal-denoising
53 make DIST_DIR="${pkgdir}"/usr install
54 install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx/
57 # vim:set sw=2 sts=-1 et: