kdePackages.kwayland-integration: fix build, use in Plasma 6

This is still the Qt5 version, but we deleted the old Qt5 version
along with the rest of Plasma 5 so we need this now.
This commit is contained in:
K900
2025-08-22 00:05:20 +03:00
parent ec8562fcb1
commit 0951589765
2 changed files with 40 additions and 5 deletions
@@ -183,7 +183,7 @@ in
++ lib.optionals config.services.desktopManager.plasma6.enableQt5Integration [
breeze.qt5
plasma-integration.qt5
pkgs.plasma5Packages.kwayland-integration
kwayland-integration
(
# Only symlink the KIO plugins, so we don't accidentally pull any services
# like KCMs or kcookiejar
@@ -1,6 +1,41 @@
{ mkKdeDerivation }:
mkKdeDerivation {
{
stdenv,
sources,
cmake,
pkg-config,
libsForQt5,
wayland-scanner,
plasma-wayland-protocols,
wayland,
wayland-protocols,
}:
# not mkKdeDerivation because this is Qt5 land
stdenv.mkDerivation rec {
pname = "kwayland-integration";
# FIXME(qt5)
meta.broken = true;
inherit (sources.${pname}) version;
src = sources.${pname};
nativeBuildInputs = [
cmake
pkg-config
libsForQt5.extra-cmake-modules
];
buildInputs = [
libsForQt5.qtbase
libsForQt5.qtwayland
libsForQt5.kwayland
libsForQt5.kwindowsystem
plasma-wayland-protocols
wayland
wayland-protocols
wayland-scanner
];
dontWrapQtApps = true;
}