2016-07-15 07:59:21 -07:00
|
|
|
{
|
|
|
|
plasmaPackage, lib, copyPathsToStore,
|
|
|
|
|
2017-02-26 04:49:15 -08:00
|
|
|
extra-cmake-modules, kdoctools,
|
2016-07-15 07:59:21 -07:00
|
|
|
|
|
|
|
baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative,
|
|
|
|
kdelibs4support, kdesu, kglobalaccel, kidletime, kjsembed, knewstuff,
|
2016-10-04 19:31:47 -07:00
|
|
|
knotifyconfig, kpackage, krunner, ktexteditor, ktextwidgets, kwallet,
|
|
|
|
kwayland, kwin, kxmlrpcclient, libkscreen, libksysguard, networkmanager-qt,
|
|
|
|
phonon, plasma-framework, qtgraphicaleffects, qtquickcontrols, qtscript,
|
|
|
|
qtx11extras, solid, isocodes, libdbusmenu, libSM, libXcursor, pam, wayland
|
2016-04-21 09:01:22 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage {
|
|
|
|
name = "plasma-workspace";
|
|
|
|
|
2017-02-26 04:49:15 -08:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2016-06-08 08:26:24 -07:00
|
|
|
buildInputs = [
|
2016-04-27 04:55:21 -07:00
|
|
|
baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative
|
2016-05-10 18:09:26 -07:00
|
|
|
kdelibs4support kdesu kglobalaccel kidletime kjsembed knewstuff
|
2016-04-27 04:55:21 -07:00
|
|
|
knotifyconfig kpackage krunner ktexteditor ktextwidgets kwallet kwayland
|
2016-06-08 08:26:24 -07:00
|
|
|
kwin kxmlrpcclient libkscreen libksysguard networkmanager-qt phonon
|
2016-10-04 19:31:47 -07:00
|
|
|
plasma-framework qtgraphicaleffects qtquickcontrols qtscript qtx11extras
|
|
|
|
solid isocodes libdbusmenu libSM libXcursor pam wayland
|
2016-04-21 09:01:22 -07:00
|
|
|
];
|
|
|
|
|
2016-04-28 11:17:49 -07:00
|
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
|
|
|
2016-04-21 09:01:22 -07: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"
|
|
|
|
'';
|
|
|
|
}
|