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

100.4. libcdio-2.4.0

CD-ROM and ISO 9660 access — audio CDs for mpv, mpd and GStreamer

2.4.0-1 · GPL-3.0-or-later · 0.6 SBU · 1.2 MiB, 77 files · 41_system, 839 of 1047 · ports/core/optical/libcdio

Homepage: https://www.gnu.org/software/libcdio/

libcdio gives programs one interface to CD-ROM drives and CD images: it reads audio CD tracks and the table of contents, with its libiso9660 part reads ISO 9660 file systems, and with its libudf part reads UDF ones. Audio CD playback in mpv, mpd, gst-plugins-ugly and kodi goes through it, and libcdio-paranoia builds its error-correcting ripper on it. The package also installs cd-info, cd-read, cd-drive, iso-info, iso-read, cdda-player and mmc-tool.

Depends on: ncurses, help2man, pkgconf.

Required by (11): audacious-plugins, audex, cmus, gst-plugins-ugly, gvfs, impression, kodi, libcdio-paranoia, mpd, mpv, strawberry.

Sources: libcdio-2.4.0.tar.bz2 (1.6 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 libcdio'

build.sh:

./configure --prefix=/usr --libdir=/usr/lib --disable-static \
	--disable-cddb \
	--disable-vcd-info \
	--enable-cxx \
	--disable-example-progs \
	--disable-cpp-progs
make
make DESTDIR=$PKG install

Programs: cd-drive, cd-info, cd-read, cdda-player, iso-info, iso-read, mmc-tool.

Libraries: libcdio++.so, libcdio.so, libiso9660++.so, libiso9660.so, libudf.so.

Directories: /usr/include/cdio++, /usr/share/licenses/libcdio.

The manual pages of cd-drive, cd-info, cd-read, iso-info and iso-read are made by running each freshly built tool through help2man: the make rule depends on the program, so the copies in the tarball are always out of date and are rebuilt. That is why help2man is in depends; ncurses is there for cdda-player’s screen.