2016-07-15 15:59:21 +01:00
|
|
|
{
|
|
|
|
plasmaPackage, lib, copyPathsToStore,
|
|
|
|
|
2017-02-26 12:49:15 +00:00
|
|
|
extra-cmake-modules, kdoctools,
|
2016-07-15 15:59:21 +01:00
|
|
|
|
|
|
|
baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative,
|
|
|
|
kdelibs4support, kdesu, kglobalaccel, kidletime, kjsembed, knewstuff,
|
2016-10-05 03:31:47 +01:00
|
|
|
knotifyconfig, kpackage, krunner, ktexteditor, ktextwidgets, kwallet,
|
|
|
|
kwayland, kwin, kxmlrpcclient, libkscreen, libksysguard, networkmanager-qt,
|
2017-02-28 16:51:20 +00:00
|
|
|
phonon, plasma-framework, qtgraphicaleffects, qtquickcontrols,
|
|
|
|
qtquickcontrols2, qtscript, qtx11extras, solid, isocodes, libdbusmenu, libSM,
|
|
|
|
libXcursor, pam, wayland
|
2016-04-21 17:01:22 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage {
|
|
|
|
name = "plasma-workspace";
|
|
|
|
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2016-06-08 16:26:24 +01:00
|
|
|
buildInputs = [
|
2017-03-22 12:14:27 +00:00
|
|
|
isocodes libdbusmenu libSM libXcursor pam wayland
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
2016-04-27 12:55:21 +01:00
|
|
|
baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative
|
2016-05-11 02:09:26 +01:00
|
|
|
kdelibs4support kdesu kglobalaccel kidletime kjsembed knewstuff
|
2016-04-27 12:55:21 +01:00
|
|
|
knotifyconfig kpackage krunner ktexteditor ktextwidgets kwallet kwayland
|
2016-06-08 16:26:24 +01:00
|
|
|
kwin kxmlrpcclient libkscreen libksysguard networkmanager-qt phonon
|
2017-03-22 12:14:27 +00:00
|
|
|
plasma-framework solid qtgraphicaleffects qtquickcontrols qtquickcontrols2
|
|
|
|
qtscript qtx11extras
|
2016-04-21 17:01:22 +01:00
|
|
|
];
|
|
|
|
|
2016-04-28 19:17:49 +01:00
|
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
|
|
|
2016-04-21 17:01:22 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \
|
|
|
|
--replace kdostartupconfig5 $out/bin/kdostartupconfig5
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm "$out/bin/startkde"
|
|
|
|
rm "$out/bin/startplasmacompositor"
|
|
|
|
rm "$out/lib/libexec/startplasma"
|
|
|
|
rm -r "$out/share/wayland-sessions"
|
|
|
|
'';
|
|
|
|
}
|