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