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