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

295.3. audiocd-kio-26.08.2

audiocd:/ KIO worker — browse audio CDs and rip them to WAV, FLAC, Ogg Vorbis, Opus or MP3

26.08.2-1 · GPL-2.0-or-later AND LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND LGPL-3.0-or-later AND BSD-3-Clause AND GFDL-1.2-or-later AND CC0-1.0 · 1.3 SBU · 869.0 KiB, 35 files · 44_apps, 321 of 422 · ports/core/optical/audiocd-kio

Homepage: https://invent.kde.org/multimedia/audiocd-kio

audiocd-kio is the audiocd:/ KIO worker. An audio CD opened in Dolphin shows its tracks as WAV files, with folders that hold the same tracks as FLAC, Ogg Vorbis, Opus and MP3; copying a file out of one rips and encodes that track. Track names come from CDDB through libkcddb. A System Settings page sets the encoders’ quality and the ripper’s error correction, and a Solid action offers to open a disc when one is inserted.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcmutils, kconfig, kdoctools, ki18n, kio, kwidgetsaddons, solid, libkcddb, cdparanoia, flac, libogg, libvorbis, lame, opus-tools.

Required by (1): kde-gear-multimedia.

Sources: audiocd-kio-26.08.2.tar.xz (572.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install audiocd-kio'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_FLAC=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_OggVorbis=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libaudiocdplugins.so.

Directories: /usr/include/audiocdplugins, /usr/lib/qt6/plugins/audiocd, /usr/share/doc/HTML/en/kcontrol/kcmaudiocd, /usr/share/doc/HTML/en/kioworker6/audiocd, /usr/share/licenses/audiocd-kio.

Reading the disc is xiph’s cdparanoia-III library from cdparanoia, found by the bundled FindCdparanoia.cmake as cdda_interface.h, libcdda_interface and libcdda_paranoia; libcdio’s paranoia, which installs other headers and names, does not satisfy it. The configure copies cdda_interface.h through sed into cdda_interface.hpp in the build directory, renaming a member called private and deleting the header’s static strerror_tr table so it compiles as C++. cdparanoia’s gcc.patch already names that member private_data, so the rename matches nothing here. This is upstream’s own build step and leaves the installed header alone.

The MP3 and Opus encoders are not linked: they run lame and opusenc from opus-tools and pipe the audio to them, so both are in depends for run time, and each encoder’s folder is hidden when its program is not found. The WAV and CDA folders need neither.

The drive is /dev/sr0 or another /dev/sr* node, and only a user allowed to open it can read the disc.