25 lines
597 B
Plaintext
25 lines
597 B
Plaintext
# Description: a totally open, royalty-free, highly versatile audio codec
|
|
# URL: https://www.opus-codec.org
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
name=opus
|
|
version=1.5.1
|
|
release=1
|
|
source=(https://downloads.xiph.org/releases/opus/opus-$version.tar.gz)
|
|
|
|
build() {
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D custom-modes=true \
|
|
-D extra-programs=disabled \
|
|
-D docs=disabled \
|
|
-D tests=disabled
|
|
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|