257.43. knotifyconfig-6.31.0
KDE Frameworks: configuration dialog for desktop notifications
6.31.0-1 · LGPL-2.0-only · 0.3 SBU · 181.2 KiB, 14 files · 43_toolkits, 110 of 344 · ports/core/kf6/knotifyconfig
Homepage: https://invent.kde.org/frameworks/knotifyconfig
Why it is in KDOS. The comment above the 61 ports from karchive to kfilemetadata in script/phases/43_toolkits/packages.d/kf6.txt:
The libraries KDE applications are built on, without Plasma.
KNotifyConfig is the settings widget for a program’s notifications: for each event in its .notifyrc file, whether it shows a popup, plays a sound, marks the taskbar entry, logs to a file or runs a command, with a button that previews the sound. The notification pages of System Settings and the “Configure Notifications” dialogs of konsole, konversation, kdevelop and the PIM applications are built on it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtmultimedia, kcompletion, kconfig, ki18n, kio.
Required by (18): akregator, calligra, digikam, k3b, kalarm, kdenlive, kdepim-runtime, kdevelop, kdiamond, kget, kmail, konsole, konversation, krdc, kteatime, ktorrent, plasma-desktop, yakuake.
Sources: knotifyconfig-6.31.0.tar.xz (2.2 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install knotifyconfig'
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_DISABLE_FIND_PACKAGE_Canberra=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_DISABLE_FIND_PACKAGE_Canberra=ON— Preview sounds through Qt Multimedia, from qt6-qtmultimedia, rather than libcanberra. Upstream uses libcanberra whenever it finds it, and it always would here, because knotifications depends on libcanberra; with it refused, the configure requires Qt6Multimedia instead. The switch fixes the preview backend in the recipe, so it does not follow whichever of the two libraries the build root holds. Only the preview button is affected: the notification itself is played by knotifications.-D KF_SKIP_PO_PROCESSING=ON— Build none of the gettext catalogues underpo/, whichki18n_install()would compile into.mofiles. The strings in the source are English, and the package-wide English-only rule (see Size and language policy) would remove every catalogue in another language.
Libraries: libKF6NotifyConfig.so.
Directories: /usr/include/KF6/KNotifyConfig, /usr/lib/cmake/KF6NotifyConfig, /usr/share/licenses/knotifyconfig.