23 lines
562 B
Plaintext
23 lines
562 B
Plaintext
# Description: Codec designed for interactive speech and audio transmission over the Internet.
|
|
# URL: https://www.opus-codec.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
name=opus
|
|
version=1.4
|
|
release=1
|
|
source=(https://github.com/xiph/opus/releases/download/v$version/$name-$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 tests=disabled
|
|
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|