33 lines
1.3 KiB
Nix
33 lines
1.3 KiB
Nix
{
|
|
plasmaPackage, lib, copyPathsToStore,
|
|
extra-cmake-modules, kdoctools,
|
|
breeze-qt5, epoxy, kactivities, kcompletion, kcmutils, kconfig,
|
|
kconfigwidgets, kcoreaddons, kcrash, kdeclarative, kdecoration, kglobalaccel,
|
|
ki18n, kiconthemes, kidletime, kinit, kio, knewstuff, knotifications,
|
|
kpackage, kscreenlocker, kservice, kwayland, kwidgetsaddons, kwindowsystem,
|
|
kxmlgui, libICE, libSM, libinput, libxkbcommon, plasma-framework,
|
|
qtdeclarative, qtmultimedia, qtscript, qtx11extras, udev, wayland,
|
|
xcb-util-cursor, xwayland
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "kwin";
|
|
nativeBuildInputs = [
|
|
extra-cmake-modules
|
|
kdoctools
|
|
];
|
|
propagatedBuildInputs = [
|
|
breeze-qt5 epoxy kactivities kcmutils kcompletion kconfig kconfigwidgets
|
|
kcoreaddons kcrash kdeclarative kdecoration kglobalaccel ki18n kiconthemes
|
|
kidletime kinit kio knewstuff knotifications kpackage kscreenlocker kservice
|
|
kwayland kwidgetsaddons kwindowsystem kxmlgui libICE libSM libxkbcommon
|
|
libinput plasma-framework qtdeclarative qtmultimedia qtscript qtx11extras
|
|
udev wayland xcb-util-cursor xwayland
|
|
];
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
postPatch = ''
|
|
substituteInPlace main_wayland.cpp \
|
|
--subst-var-by xwayland ${lib.getBin xwayland}/bin/Xwayland
|
|
'';
|
|
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
|
|
}
|