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

135.17. twolame-0.4.0

MPEG Audio Layer 2 (MP2) encoder library and command-line encoder

0.4.0-1 · LGPL-2.1-or-later · 0.3 SBU · 301.3 KiB, 15 files · 41_system, 119 of 1047 · ports/core/audio-codecs/twolame

Homepage: https://www.twolame.org/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/audio-codecs.txt:

The MPEG-1 Layer II encoder mpd's, sox's and GStreamer's MP2 output link.

Depends on: libsndfile.

Required by (6): avidemux, gst-plugins-good, mpd, sox, tenacity, vlc.

Sources: twolame-0.4.0.tar.gz (870.0 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 twolame'

build.sh:

./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--disable-static \
	--disable-maintainer-mode \
	--enable-sndfile
make
make DESTDIR=$PKG install

Programs: twolame.

Libraries: libtwolame.so.

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