354.18. plasma-pa-6.8.2
Plasma volume applet, audio settings page and volume keys, over PulseAudio's protocol
6.8.2-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND LGPL-2.1-only AND GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later · 3.0 SBU · 3.1 MiB, 24 files · 50_desktop, 41 of 92 · ports/core/kde/plasma-pa
Homepage: https://invent.kde.org/plasma/plasma-pa
Why it is in KDOS. The comment above it in script/phases/50_desktop/packages.txt:
The volume applet, audio settings and volume keys.
plasma-pa is Plasma’s sound control: the volume applet in the panel, the Sound page of System Settings, the volume and mute keys, and the per-application and per-device sliders. It speaks PulseAudio’s protocol through libpulse and pulseaudio-qt, which on KDOS is answered by pipewire-pulse from pipewire, started for each user by turnstile (see Audio).
Depends on: cmake, ninja, extra-cmake-modules, pkgconf, qt6-qtbase, qt6-qtdeclarative, kconfig, kcoreaddons, kdeclarative, kglobalaccel, kstatusnotifieritem, ki18n, kcmutils, ksvg, kdbusaddons, kdoctools, kirigami, kirigami-addons, kitemmodels, libplasma, pulseaudio-qt, libpulse, glib, libcanberra, sound-theme-freedesktop, pipewire.
Required by (1): kde-plasma.
Sources: plasma-pa-6.8.2.tar.xz (221.2 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/50_desktop/phase.env && kpkg install plasma-pa'
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 BUILD_DOC=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_CanberraPulse=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_SoundThemeFreedesktop=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Skips building the interface translations, which the package-wide English-only rule would remove anyway (see Size and language policy).-D BUILD_DOC=ON— Build the Sound page’s handbook, which requires kdoctools. It is upstream’s default, named so the handbook cannot be dropped unnoticed.-D CMAKE_REQUIRE_FIND_PACKAGE_CanberraPulse=ON— With-D CMAKE_REQUIRE_FIND_PACKAGE_SoundThemeFreedesktop=ON: make the two pieces of the click played when the volume changes requirements of the configure. The click goes through libcanberra’s PulseAudio backend,libcanberra-pulse.soin/usr/lib/libcanberra-<version>, and plays theaudio-volume-changesound of sound-theme-freedesktop. Upstream looks for both only to report them, and without either the sliders work and make no sound.
Libraries: libplasma-volume.so.
Directories: /usr/lib/qt6/qml/org/kde/plasma/private/volume, /usr/share/doc/HTML/en/kcontrol/plasma-pa, /usr/share/licenses/plasma-pa.
kirigami, kirigami-addons, kitemmodels, kdeclarative and ksvg are QML modules the applet and the settings page load at run time.
The applet shows one stream per application and does not start the sound server: with no pipewire-pulse answering on the user’s runtime directory it shows no devices.