Opus is a lossy audio compression format developed by the Internet Engineering Task Force (IETF) that is particularly suitable for interactive speech and audio transmission over the Internet. This package provides the Opus development library and headers.
Download (HTTP): https://downloads.xiph.org/releases/opus/opus-1.5.2.tar.gz
doxygen and texlive (or install-tl-unx)
Install Opus by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ -D docdir=/usr/share/doc/opus-1.5.2 && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
First clean the build directory:
rm -rf *
Install lib32-Opus by running the following commands:
CC="gcc -m32" CXX="g++ -m32" \ PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ meson setup --prefix=/usr \ --libdir=/usr/lib32 \ --buildtype=release && ninja
Now, as the root
user:
DESTDIR=$PWD/DESTDIR ninja install && cp -vr DESTDIR/usr/lib32/* /usr/lib32 && rm -rf DESTDIR && ldconfig
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.