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=626ff35955c2c35b806b3e0ecf551a1a8611cdbf
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 \
40 --enable-runtime-cpu-detect \
44 --enable-vp9-highbitdepth \
45 --enable-vp9-temporal-denoising
52 make DIST_DIR="${pkgdir}"/usr install
53 install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx/