opt/libvpx/Pkgfile

34 lines
736 B
Plaintext
Raw Normal View History

2017-10-14 08:54:34 +02:00
# Description: The VP8/VP9 Codec SDK
# URL: https://www.webmproject.org/
2023-08-27 17:33:27 +02:00
# Maintainer: Tim Biermann, tbier at posteo dot de
2017-10-14 08:54:34 +02:00
# Depends on: yasm
name=libvpx
2024-01-20 12:28:04 +01:00
version=1.14.0
2023-09-30 09:41:48 +02:00
release=1
2017-10-14 08:58:12 +02:00
source=(https://github.com/webmproject/$name/archive/v$version/$name-v$version.tar.gz)
2017-10-14 08:54:34 +02:00
build() {
2023-08-27 17:33:27 +02:00
cd $name-$version
2017-10-14 08:54:34 +02:00
2023-08-27 17:33:27 +02:00
CFLAGS+=' -ffat-lto-objects'
CXXFLAGS+=' -ffat-lto-objects'
2017-10-14 08:54:34 +02:00
2023-08-27 17:33:27 +02:00
./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
2017-10-14 08:54:34 +02:00
}