2016-08-05 00:03:30 +00:00
|
|
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
|
|
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
|
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
2011-01-23 19:01:50 +00:00
|
|
|
|
2022-02-07 03:20:19 +00:00
|
|
|
# remove when bumped upstream
|
2011-01-23 19:01:50 +00:00
|
|
|
|
|
|
|
pkgname=libvpx
|
2021-10-22 02:55:34 +00:00
|
|
|
pkgver=1.11.0
|
2022-02-07 03:20:19 +00:00
|
|
|
pkgrel=1.1
|
2015-04-21 11:57:20 +00:00
|
|
|
pkgdesc='VP8 and VP9 codec'
|
2019-03-06 02:03:41 +00:00
|
|
|
arch=(x86_64)
|
2022-02-07 03:20:19 +00:00
|
|
|
url=https://www.webmproject.org/
|
2019-03-06 02:03:41 +00:00
|
|
|
license=(BSD)
|
2020-08-04 15:42:46 +00:00
|
|
|
depends=(gcc-libs)
|
2019-03-06 02:03:41 +00:00
|
|
|
makedepends=(
|
|
|
|
git
|
|
|
|
nasm
|
|
|
|
)
|
|
|
|
provides=(libvpx.so)
|
2021-10-22 02:55:34 +00:00
|
|
|
_tag=626ff35955c2c35b806b3e0ecf551a1a8611cdbf
|
2022-02-07 03:20:19 +00:00
|
|
|
source=(git+https://chromium.googlesource.com/webm/libvpx#tag=${_tag})
|
|
|
|
sha256sums=(SKIP)
|
2019-12-20 14:00:58 +00:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd libvpx
|
|
|
|
|
|
|
|
git describe --tags | sed 's/^v//'
|
|
|
|
}
|
2015-04-21 11:57:20 +00:00
|
|
|
|
2011-01-23 19:01:50 +00:00
|
|
|
build() {
|
2019-03-06 02:03:41 +00:00
|
|
|
cd libvpx
|
2016-01-24 15:27:04 +00:00
|
|
|
|
2016-08-05 00:03:30 +00:00
|
|
|
./configure \
|
2019-12-20 14:00:58 +00:00
|
|
|
--prefix=/usr \
|
2015-04-21 11:57:20 +00:00
|
|
|
--disable-install-docs \
|
|
|
|
--disable-install-srcs \
|
2019-03-06 02:03:41 +00:00
|
|
|
--enable-pic \
|
2016-08-05 00:03:30 +00:00
|
|
|
--enable-postproc \
|
2019-03-06 02:03:41 +00:00
|
|
|
--enable-runtime-cpu-detect \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-vp8 \
|
2016-08-05 00:03:30 +00:00
|
|
|
--enable-vp9 \
|
|
|
|
--enable-vp9-highbitdepth \
|
2022-02-07 03:20:19 +00:00
|
|
|
--enable-vp9-temporal-denoising
|
2015-04-21 11:57:20 +00:00
|
|
|
make
|
2011-03-09 06:40:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-03-06 02:03:41 +00:00
|
|
|
cd libvpx
|
2016-08-05 00:03:30 +00:00
|
|
|
|
|
|
|
make DIST_DIR="${pkgdir}"/usr install
|
|
|
|
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx/
|
2011-01-23 19:01:50 +00:00
|
|
|
}
|
2016-08-05 00:03:30 +00:00
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|