# 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.3.1
release=1
source=(https://archive.mozilla.org/pub/$name/$name-$version.tar.gz)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		--enable-custom-modes \
		--enable-intrinsics \
		--enable-rtcd \
		--enable-ambisonics \
		--disable-doc \
		--disable-nls

	make
	make DESTDIR=$PKG install

	find $PKG -name '*.la' -delete
}
