Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

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

Libraries: libopusfile.so, libopusurl.so.

Directories: /usr/share/doc/opusfile, /usr/share/licenses/opusfile.