258.8. kwayland-6.8.2
Qt-style client library for the Wayland and Plasma Wayland protocols
6.8.2-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND MIT · 3.1 SBU · 1.9 MiB, 60 files · 43_toolkits, 175 of 344 · ports/core/kde/kwayland
Homepage: https://invent.kde.org/plasma/kwayland
KWayland is a Qt-style client library for Wayland: one class per protocol object, signals for its events, and a connection thread that dispatches them. Beside the standard protocols it binds Plasma’s own, from plasma-wayland-protocols: the shell’s panel and window-management interfaces, blur, background contrast, slide effects, the decoration palette, DPMS, fake input and the application menu. kwin, the Plasma shell and the KDE desktop portal link it; the server side of these protocols lives in KWin itself.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtwayland, wayland, wayland-protocols, plasma-wayland-protocols, mesa, libglvnd.
Required by (6): krfb, kwin, plasma-workspace, selenium-webdriver-at-spi, xdg-desktop-portal-kde, yakuake.
Sources: kwayland-6.8.2.tar.xz (130.1 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 kwayland'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_TESTING=OFF \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D KF_SKIP_PO_PROCESSING=ON \
-D BUILD_QCH=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Passed as by every KDE port, so a later release that adds translations stays English-only with no change to the recipe (see Size and language policy). This release carries none.-D BUILD_QCH=OFF— No API documentation in Qt Help format; no port builds QCH.
Libraries: libKWaylandClient.so.
Directories: /usr/include/KWayland, /usr/lib/cmake/KWayland, /usr/share/licenses/kwayland.
The version is Plasma’s, and 6.8 consumers ask for 6.8.0 or later. The configure requires plasma-wayland-protocols 1.22.0 or later, EGL through libglvnd, and Qt’s private GUI and Wayland client API, which carries no compatibility promise between Qt releases, so this port is rebuilt with every qt6-qtwayland bump.