34 lines
736 B
Plaintext
34 lines
736 B
Plaintext
# Description: The VP8/VP9 Codec SDK
|
|
# URL: https://www.webmproject.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: yasm
|
|
|
|
name=libvpx
|
|
version=1.14.0
|
|
release=1
|
|
source=(https://github.com/webmproject/$name/archive/v$version/$name-v$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
CFLAGS+=' -ffat-lto-objects'
|
|
CXXFLAGS+=' -ffat-lto-objects'
|
|
|
|
./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
|
|
}
|