354.19. bluedevil-6.8.2
Plasma Bluetooth — the tray applet, the settings page, pairing wizard, file sending and OBEX browsing
6.8.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later AND (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 GPL-3.0-or-later AND BSD-2-Clause AND CC0-1.0 · 3.6 SBU · 2.7 MiB, 48 files · 50_desktop, 42 of 92 · ports/core/kde/bluedevil
Homepage: https://invent.kde.org/plasma/bluedevil
Why it is in KDOS. The comment above it in script/phases/50_desktop/packages.txt:
Bluetooth: the tray applet, the settings page, pairing and file sending.
BlueDevil is Bluetooth for Plasma. A module of the KDE daemon, kded6, registers the pairing agent with bluetoothd, restores each adapter’s power state at login and answers incoming file pushes; the system tray applet lists and connects devices; the Bluetooth page of System Settings (kcm_bluetooth) pairs, trusts and forgets them; and the pairing wizard, the file sender (bluedevil-sendfile, the Share menu’s Bluetooth target) and the bluetooth:/ and obexftp:/ KIO workers complete the set. Everything goes through BlueZ’s D-Bus API by way of bluez-qt.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, bluez-qt, kcoreaddons, kdbusaddons, ki18n, kjobwidgets, kcmutils, kio, knotifications, kservice, ksvg, kwidgetsaddons, kwindowsystem, libplasma, shared-mime-info, kdoctools, kirigami, kdeclarative, kded, bluez.
Required by (1): kde-plasma.
Sources: bluedevil-6.8.2.tar.xz (402.6 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 bluedevil'
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_KF6Kirigami=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— The handbook, through kdoctools, which upstream looks for as optional and skips without a word.-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Kirigami=ON— Upstream looks for Kirigami only as a run-time dependency, and a build without it succeeds; the settings page and the applet are Kirigami QML and show nothing without it. Required, its absence stops the configure.-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).
Programs: bluedevil-sendfile, bluedevil-wizard.
Directories: /usr/lib/qt6/qml/org/kde/bluedevil, /usr/lib/qt6/qml/org/kde/plasma/private/bluetooth, /usr/share/bluedevilwizard, /usr/share/doc/HTML/en/kcontrol/bluedevil, /usr/share/licenses/bluedevil.
bluez, kded, kirigami and kdeclarative are in depends for run time; the applet’s device entry copies an address to the clipboard through kdeclarative’s org.kde.kquickcontrolsaddons QML module. The daemon is bluetoothd from bluez; file transfer is obexd, also from bluez, which the session bus starts on the first OBEX call through the Exec= line of org.bluez.obex.service. The kded module is a plugin that kded6 loads at login, so without kded nothing pairs and no adapter is powered on.
BlueZ’s D-Bus policy lets any local user drive the adapter, so no polkit rule is involved in pairing or connecting.
The install puts bluedevil-mime.xml under /usr/share/mime/packages and asks update-mime-database to run only when no DESTDIR is set; kpkg rebuilds the MIME database when the package is installed (see Shared indexes).