2016-04-21 19:38:01 +00:00
|
|
|
{ plasmaPackage, lib
|
2016-04-21 16:01:22 +00:00
|
|
|
, extra-cmake-modules, kdoctools
|
2016-04-27 11:55:21 +00:00
|
|
|
, baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative
|
|
|
|
, kdelibs4support, kdesu, kdewebkit, kglobalaccel, kidletime, kjsembed, knewstuff
|
|
|
|
, knotifyconfig, kpackage, krunner, ktexteditor, ktextwidgets, kwallet, kwayland
|
|
|
|
, kwin, kxmlrpcclient, libdbusmenu, libkscreen, libksysguard, libSM, libXcursor
|
|
|
|
, networkmanager-qt, pam, phonon, plasma-framework, qtquick1, qtquickcontrols
|
|
|
|
, qtscript, qtx11extras, solid, wayland
|
2016-04-21 16:01:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage {
|
|
|
|
name = "plasma-workspace";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
kdoctools
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
2016-04-27 11:55:21 +00:00
|
|
|
baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative
|
|
|
|
kdelibs4support kdesu kdewebkit kglobalaccel kidletime kjsembed knewstuff
|
|
|
|
knotifyconfig kpackage krunner ktexteditor ktextwidgets kwallet kwayland
|
|
|
|
kwin kxmlrpcclient libdbusmenu libkscreen libksysguard libSM libXcursor
|
|
|
|
networkmanager-qt pam phonon plasma-framework qtquick1 qtquickcontrols
|
|
|
|
qtscript qtx11extras solid wayland
|
2016-04-21 16:01:22 +00: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"
|
|
|
|
'';
|
|
|
|
}
|