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

135.5. mpg123-1.33.7

MPEG audio decoder — libmpg123, libout123, libsyn123 and the mpg123 and out123 commands

1.33.7-1 · LGPL-2.1-only · 0.2 SBU · 1.3 MiB, 25 files · 41_system, 22 of 1047 · ports/core/audio-codecs/mpg123

Homepage: https://www.mpg123.de/

mpg123 decodes MPEG audio, MP3 above all: libmpg123 is the decoder, libout123 plays audio through an output module, and libsyn123 generates and converts sample formats, with the mpg123 player, the out123 command and the mpg123-id3dump and mpg123-strip tools on top. lame decodes through it, and libsndfile, gst-plugins-good, sdl2-mixer, mpd and vlc read MP3 with it.

Depends on: alsa-lib, pkgconf.

Required by (15): amiberry, audacious-plugins, audacity, gst-plugins-good, ironwail, lagrange, lame, libopenmpt, libsndfile, love, mpd, sdl2-mixer, sdl3-mixer, vice, vlc.

Sources: mpg123-1.33.7.tar.bz2 (1.1 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install mpg123'

build.sh:

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-static \
	--enable-components \
	--enable-modules \
	--with-audio=alsa \
	--with-default-audio=alsa \
	--with-network=exec \
	--enable-ipv6
make
make DESTDIR=$PKG install

Programs: mpg123, mpg123-id3dump, mpg123-strip, out123.

Libraries: libmpg123.so, libout123.so, libsyn123.so.

Directories: /usr/lib/mpg123, /usr/share/licenses/mpg123.