2016-11-05 18:14:03 +01:00
|
|
|
{
|
2021-09-27 21:54:03 +02:00
|
|
|
mkDerivation, lib,
|
2017-02-26 13:49:15 +01:00
|
|
|
extra-cmake-modules, kdoctools,
|
2017-05-26 22:44:36 +02:00
|
|
|
|
|
|
|
boost, fontconfig, ibus, libXcursor, libXft, libcanberra_kde, libpulseaudio,
|
|
|
|
libxkbfile, xf86inputevdev, xf86inputsynaptics, xinput, xkeyboard_config,
|
2020-11-24 16:29:28 +01:00
|
|
|
xorgserver, util-linux,
|
2017-05-26 22:44:36 +02:00
|
|
|
|
2021-05-07 18:54:39 +02:00
|
|
|
accounts-qt, qtdeclarative, qtquickcontrols, qtquickcontrols2, qtsvg,
|
|
|
|
qtx11extras,
|
2017-05-26 22:44:36 +02:00
|
|
|
|
2021-05-07 18:54:39 +02:00
|
|
|
attica, baloo, kaccounts-integration, kactivities, kactivities-stats, kauth,
|
|
|
|
kcmutils, kdbusaddons, kdeclarative, kded, kdelibs4support, kemoticons,
|
|
|
|
kglobalaccel, ki18n, kitemmodels, knewstuff, knotifications, knotifyconfig,
|
2021-06-18 20:32:56 +02:00
|
|
|
kpeople, krunner, kscreenlocker, kwallet, kwin, phonon,
|
2021-05-07 18:54:39 +02:00
|
|
|
plasma-framework, plasma-workspace, qqc2-desktop-style, xf86inputlibinput
|
2016-04-21 18:01:22 +02:00
|
|
|
}:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
mkDerivation {
|
2016-04-21 18:01:22 +02:00
|
|
|
name = "plasma-desktop";
|
2017-02-26 13:49:15 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2016-06-08 20:51:25 +02:00
|
|
|
buildInputs = [
|
2020-09-05 16:18:05 +02:00
|
|
|
boost fontconfig ibus libcanberra_kde libpulseaudio libXcursor libXft xorgserver
|
2021-09-14 23:06:39 +02:00
|
|
|
libxkbfile phonon xf86inputlibinput xf86inputevdev xf86inputsynaptics xinput
|
|
|
|
xkeyboard_config
|
2017-05-26 22:44:36 +02:00
|
|
|
|
2021-05-07 18:54:39 +02:00
|
|
|
accounts-qt qtdeclarative qtquickcontrols qtquickcontrols2 qtsvg qtx11extras
|
2017-05-26 22:44:36 +02:00
|
|
|
|
2021-05-07 18:54:39 +02:00
|
|
|
attica baloo kaccounts-integration kactivities kactivities-stats kauth
|
|
|
|
kcmutils kdbusaddons kdeclarative kded kdelibs4support kemoticons
|
|
|
|
kglobalaccel ki18n kitemmodels knewstuff knotifications knotifyconfig
|
2021-06-18 20:32:56 +02:00
|
|
|
kpeople krunner kscreenlocker kwallet kwin plasma-framework
|
2021-05-07 18:54:39 +02:00
|
|
|
plasma-workspace qqc2-desktop-style
|
2016-04-21 18:01:22 +02:00
|
|
|
];
|
2017-01-20 17:44:21 +01:00
|
|
|
|
2020-08-25 11:43:59 +02:00
|
|
|
patches = [
|
|
|
|
./hwclock-path.patch
|
|
|
|
./tzdir.patch
|
|
|
|
];
|
2018-01-16 14:38:22 +01:00
|
|
|
CXXFLAGS = [
|
2020-11-24 16:29:28 +01:00
|
|
|
''-DNIXPKGS_HWCLOCK=\"${lib.getBin util-linux}/sbin/hwclock\"''
|
2017-05-26 22:43:31 +02:00
|
|
|
];
|
2016-11-13 19:33:38 +01:00
|
|
|
postInstall = ''
|
|
|
|
# Display ~/Desktop contents on the desktop by default.
|
2017-05-26 22:44:36 +02:00
|
|
|
sed -i "''${!outputBin}/share/plasma/shells/org.kde.plasma.desktop/contents/defaults" \
|
2016-11-13 19:33:38 +01:00
|
|
|
-e 's/Containment=org.kde.desktopcontainment/Containment=org.kde.plasma.folder/'
|
|
|
|
'';
|
2016-04-21 18:01:22 +02:00
|
|
|
}
|