257.57. networkmanager-qt-6.31.0
KDE Frameworks: Qt wrapper for the NetworkManager D-Bus API
6.31.0-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) · 5.1 SBU · 3.2 MiB, 165 files · 43_toolkits, 153 of 344 · ports/core/kf6/networkmanager-qt
Homepage: https://invent.kde.org/frameworks/networkmanager-qt
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.
NetworkManagerQt is the Qt wrapper around NetworkManager’s D-Bus API: devices, active connections, saved connection settings, wireless networks and VPNs as Qt objects, with a QML module, org.kde.networkmanager. Plasma’s network applet and settings page, plasma-nm, are built on it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, pkgconf, glib, networkmanager.
Required by (6): kpublictransport, ksystemstats, plasma-nm, plasma-vault, plasma5support, qrca.
Sources: networkmanager-qt-6.31.0.tar.xz (183.3 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install networkmanager-qt'
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 BUILD_EXAMPLES=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D BUILD_EXAMPLES=OFF— Build none of the example programs. It is upstream’s default, written out so the recipe states it.
Libraries: libKF6NetworkManagerQt.so.
Directories: /usr/include/KF6/NetworkManagerQt, /usr/lib/cmake/KF6NetworkManagerQt, /usr/lib/qt6/qml/org/kde/networkmanager, /usr/share/licenses/networkmanager-qt.
The configure requires libnm 1.4 or newer, whose headers give the setting names and enumerations the wrapper uses, and GIO, through pkg-config: networkmanager, glib and pkgconf are in depends for them. At run time the library talks to the NetworkManager daemon over the system bus, and without it every device list is empty. The source carries no translations, so the recipe has no KF_SKIP_PO_PROCESSING.