2018-03-17 16:08:53 +11:00
|
|
|
# Description: Codec designed for interactive speech and audio transmission over the Internet.
|
2019-10-13 18:11:40 +11:00
|
|
|
# URL: https://www.opus-codec.org/
|
2018-03-17 16:08:53 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
|
|
|
|
name=opus
|
2019-10-13 18:11:40 +11:00
|
|
|
version=1.3.1
|
2018-03-17 16:08:53 +11:00
|
|
|
release=1
|
2019-10-13 18:11:40 +11:00
|
|
|
source=(https://archive.mozilla.org/pub/$name/$name-$version.tar.gz)
|
2018-03-17 16:08:53 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-custom-modes \
|
|
|
|
--enable-intrinsics \
|
|
|
|
--enable-rtcd \
|
|
|
|
--enable-ambisonics \
|
2019-10-13 18:11:40 +11:00
|
|
|
--disable-doc \
|
2018-03-17 16:08:53 +11:00
|
|
|
--disable-nls
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2019-10-13 18:11:40 +11:00
|
|
|
find $PKG -name '*.la' -delete
|
2018-03-17 16:08:53 +11:00
|
|
|
}
|