nixpkgs/pkgs/desktops/plasma-5/kwin/default.nix

34 lines
1.3 KiB
Nix
Raw Normal View History

2016-08-04 16:46:35 +02:00
{
plasmaPackage, lib, copyPathsToStore,
extra-cmake-modules, kdoctools,
2016-08-04 16:46:35 +02:00
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,
2017-02-28 17:51:20 +01:00
kxmlgui, libICE, libSM, libinput, libxkbcommon, plasma-framework,
qtdeclarative, qtmultimedia, qtscript, qtx11extras, udev, wayland,
xcb-util-cursor, xwayland
2016-04-21 18:01:22 +02:00
}:
plasmaPackage {
name = "kwin";
nativeBuildInputs = [
extra-cmake-modules
2016-04-21 18:01:22 +02:00
kdoctools
];
propagatedBuildInputs = [
2016-08-04 16:46:35 +02:00
breeze-qt5 epoxy kactivities kcmutils kcompletion kconfig kconfigwidgets
kcoreaddons kcrash kdeclarative kdecoration kglobalaccel ki18n kiconthemes
kidletime kinit kio knewstuff knotifications kpackage kscreenlocker kservice
2017-02-28 17:51:20 +01:00
kwayland kwidgetsaddons kwindowsystem kxmlgui libICE libSM libxkbcommon
libinput plasma-framework qtdeclarative qtmultimedia qtscript qtx11extras
udev wayland xcb-util-cursor xwayland
2016-04-21 18:01:22 +02:00
];
2016-08-04 16:46:35 +02:00
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
postPatch = ''
substituteInPlace main_wayland.cpp \
--subst-var-by xwayland ${lib.getBin xwayland}/bin/Xwayland
'';
2016-04-21 18:01:22 +02:00
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
}