libvpx: adopted port

This commit is contained in:
Tim Biermann 2023-08-27 17:33:27 +02:00
parent 37cd4de323
commit a225641986
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 23 additions and 18 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/SM2QqEu4hoWkfLQWEZHqaCGjjzSpsJRurkt8uVa4T0S48DsHA5r/ua0DbHqO/g4LE/jta7tg488n28papZIagQ=
SHA256 (Pkgfile) = 4d96512dd80cb281be663e09f3b7add07f05cc73bcf3b9877592a8707e6bfcd2
RWSE3ohX2g5d/R6qz/CHO4E8Eugredh9IMR73aom99Wc+dEoHnz40wdII0SCG5WNYPPRJQT1eUC1JSy8XJe/AIkM3uoah4HhJgM=
SHA256 (Pkgfile) = b4449ca434375414928eb0f0e4a0b4919ac74ce996ea0f3eeb42927a57cfc42f
SHA256 (.footprint) = 227b3506c90d8ca4523ba4a1ee544edb92200e51c60d35ce6895a79081fe802a
SHA256 (libvpx-v1.13.0.tar.gz) = cb2a393c9c1fae7aba76b950bb0ad393ba105409fe1a147ccd61b0aaa1501066

View File

@ -1,28 +1,33 @@
# Description: The VP8/VP9 Codec SDK
# URL: https://www.webmproject.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: yasm
name=libvpx
version=1.13.0
release=1
release=2
source=(https://github.com/webmproject/$name/archive/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
cd $name-$version
./configure \
--prefix=/usr \
--enable-vp8 \
--enable-vp9 \
--enable-vp9-highbitdepth \
--enable-vp9-temporal-denoising \
--enable-shared \
--enable-postproc \
--enable-pic \
--disable-install-docs \
--disable-install-srcs
CFLAGS+=' -ffat-lto-objects'
CXXFLAGS+=' -ffat-lto-objects'
make
make DIST_DIR="$PKG/usr" install
./configure \
--prefix=/usr \
--enable-vp8 \
--enable-vp9 \
--enable-vp9-highbitdepth \
--enable-vp9-temporal-denoising \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-postproc \
--enable-pic \
--disable-unit-tests \
--disable-install-docs \
--disable-install-srcs
make
make DIST_DIR="$PKG/usr" install
}