2015-10-07 18:47:20 +02:00
|
|
|
{ plasmaPackage, extra-cmake-modules, kdoctools, baloo
|
|
|
|
, kactivities, kcmutils, kcrash, kdbusaddons, kdeclarative
|
|
|
|
, kdelibs4support, kdesu, kdewebkit, kglobalaccel, kidletime
|
|
|
|
, kjsembed, knewstuff, knotifyconfig, kpackage, krunner
|
|
|
|
, ktexteditor, ktextwidgets, kwallet, kwayland, kwin, kxmlrpcclient
|
|
|
|
, libdbusmenu, libkscreen, libSM, libXcursor, networkmanager-qt
|
|
|
|
, pam, phonon, plasma-framework, qtquick1, qtscript, qtx11extras, wayland
|
|
|
|
, libksysguard, bash, coreutils, gnused, gnugrep, socat, kconfig
|
2015-10-18 16:24:59 +02:00
|
|
|
, kinit, kservice, makeQtWrapper, qttools, dbus_tools, mkfontdir, xmessage
|
2015-10-17 02:01:54 +02:00
|
|
|
, xprop, xrdb, xset, xsetroot, solid, qtquickcontrols
|
2015-09-27 17:03:00 +02:00
|
|
|
}:
|
|
|
|
|
2015-10-17 23:52:46 +02:00
|
|
|
plasmaPackage rec {
|
2015-09-27 17:03:00 +02:00
|
|
|
name = "plasma-workspace";
|
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
kdoctools
|
2015-10-18 16:24:59 +02:00
|
|
|
makeQtWrapper
|
2015-09-27 17:03:00 +02:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2015-10-10 18:51:36 +02:00
|
|
|
kcmutils kcrash kdbusaddons kdesu kdewebkit kjsembed knewstuff
|
2015-10-11 17:15:50 +02:00
|
|
|
knotifyconfig kpackage ktextwidgets kwallet kwayland kxmlrpcclient
|
2015-10-17 02:01:54 +02:00
|
|
|
libdbusmenu libSM libXcursor networkmanager-qt pam phonon
|
|
|
|
qtscript wayland
|
2015-09-27 17:03:00 +02:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
2015-10-10 18:30:10 +02:00
|
|
|
baloo kactivities kdeclarative kdelibs4support kglobalaccel
|
2015-10-11 17:17:00 +02:00
|
|
|
kidletime krunner ktexteditor kwin libkscreen libksysguard
|
2015-10-17 02:01:54 +02:00
|
|
|
plasma-framework qtquick1 qtquickcontrols qtx11extras solid
|
2015-09-27 17:03:00 +02:00
|
|
|
];
|
2015-10-20 01:56:56 +02:00
|
|
|
patches = [
|
|
|
|
./0001-startkde-NixOS-patches.patch
|
|
|
|
./0002-qt-5.5-QML-import-paths.patch
|
|
|
|
];
|
2015-09-27 17:03:00 +02:00
|
|
|
|
|
|
|
inherit bash coreutils gnused gnugrep socat;
|
|
|
|
inherit kconfig kinit kservice qttools;
|
|
|
|
inherit dbus_tools mkfontdir xmessage xprop xrdb xset xsetroot;
|
|
|
|
postPatch = ''
|
|
|
|
substituteAllInPlace startkde/startkde.cmake
|
|
|
|
substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \
|
|
|
|
--replace kdostartupconfig5 $out/bin/kdostartupconfig5
|
|
|
|
'';
|
|
|
|
postInstall = ''
|
2015-10-18 16:24:59 +02:00
|
|
|
wrapQtProgram "$out/bin/ksmserver"
|
|
|
|
wrapQtProgram "$out/bin/plasmawindowed"
|
|
|
|
wrapQtProgram "$out/bin/kcminit_startup"
|
|
|
|
wrapQtProgram "$out/bin/ksplashqml"
|
|
|
|
wrapQtProgram "$out/bin/kcheckrunning"
|
|
|
|
wrapQtProgram "$out/bin/systemmonitor"
|
|
|
|
wrapQtProgram "$out/bin/kstartupconfig5"
|
|
|
|
wrapQtProgram "$out/bin/startplasmacompositor"
|
|
|
|
wrapQtProgram "$out/bin/kdostartupconfig5"
|
|
|
|
wrapQtProgram "$out/bin/klipper"
|
|
|
|
wrapQtProgram "$out/bin/kuiserver5"
|
|
|
|
wrapQtProgram "$out/bin/krunner"
|
|
|
|
wrapQtProgram "$out/bin/plasmashell"
|
2015-10-20 04:59:48 +02:00
|
|
|
|
|
|
|
wrapQtProgram "$out/lib/libexec/drkonqi"
|
|
|
|
wrapQtProgram "$out/lib/libexec/kscreenlocker_greet"
|
|
|
|
rm "$out/lib/libexec/startplasma"
|
2015-09-27 17:03:00 +02:00
|
|
|
'';
|
|
|
|
}
|