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
--disable-cddb— Buildcd-infoandcdda-playerwithout CDDB lookups of a disc’s track titles. configure takes them only from libcddb, which the tree has no port for, and would otherwise warn and leave them out.--disable-vcd-info— Buildcd-infowithout Video CD details, which come from libvcdinfo; the tree has no port for it. It is the default.--enable-cxx— Build the C++ bindings,libcdio++andlibiso9660++, the default.--disable-example-progs— Build none of the C sample programs underexample/, and with--disable-cpp-progsnone of the C++ ones.
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.