135.15. opusfile-0.12
Decode and seek .opus files — the read half opus-tools needs
0.12-1 · BSD-3-Clause · 0.1 SBU · 195.4 KiB, 13 files · 41_system, 115 of 1047 · ports/core/audio-codecs/opusfile
Homepage: https://opus-codec.org/
Why it is in KDOS. The comment above opusfile and opus-tools in script/phases/41_system/packages.d/audio-codecs.txt:
And opusfile is the READ half — opusdec and opusinfo link it, so without it opus-tools builds an encoder and nothing that can play the result back.
opusfile decodes and seeks .opus files: it reads the Ogg pages, the Opus headers and the comment tags, and hands back PCM through opus. It is the read half of the Opus file format, as libopusenc is the write half: opusdec and opusinfo in opus-tools link it, and so do sdl2-mixer, sdl3-mixer, sox, cmus and audacity.
Depends on: pkgconf, opus, libogg.
Required by (14): audacious-plugins, audacity, cmus, ddnet, dosbox-staging, ioquake3, ironwail, lagrange, openttd, opus-tools, sdl2-mixer, sdl3-mixer, sox, vorbis-tools.
Sources: opusfile-0.12.tar.gz (460.3 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install opusfile'
build.sh:
./configure --prefix=/usr --libdir=/usr/lib --disable-static --disable-http \
--disable-doc --disable-examples
make
make DESTDIR=$PKG install
--disable-http— buildlibopusurl, opusfile’s URL reader, forfile:URLs only. Without the switch it also readshttp://andhttps://streams, and configure then requires openssl, which is not independs.libopusurlandopusurl.pcare installed either way.--disable-doc— with--disable-examples: no Doxygen API reference and no example programs.
Libraries: libopusfile.so, libopusurl.so.
Directories: /usr/share/doc/opusfile, /usr/share/licenses/opusfile.