2016-08-04 16:46:35 +02:00
|
|
|
{
|
|
|
|
plasmaPackage, lib, copyPathsToStore,
|
|
|
|
ecm, 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, libinput, libICE, libSM, plasma-framework, qtdeclarative,
|
|
|
|
qtmultimedia, qtscript, qtx11extras, udev, wayland, xcb-util-cursor, xwayland
|
2016-04-21 18:01:22 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage {
|
|
|
|
name = "kwin";
|
|
|
|
nativeBuildInputs = [
|
2016-07-30 16:36:52 +02:00
|
|
|
ecm
|
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
|
|
|
|
kwayland kwidgetsaddons kwindowsystem kxmlgui libinput libICE libSM
|
|
|
|
plasma-framework qtdeclarative qtmultimedia qtscript qtx11extras udev
|
|
|
|
wayland xcb-util-cursor
|
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" ];
|
|
|
|
}
|