2016-04-21 16:01:22 +00:00
|
|
|
{ plasmaPackage, substituteAll, extra-cmake-modules, kdoctools
|
|
|
|
, attica, baloo, boost, fontconfig, kactivities, kauth, kcmutils
|
|
|
|
, kdbusaddons, kdeclarative, kded, kdelibs4support, kemoticons
|
|
|
|
, kglobalaccel, ki18n, kitemmodels, knewstuff, knotifications
|
|
|
|
, knotifyconfig, kpeople, krunner, kwallet, kwin, phonon
|
|
|
|
, plasma-framework, plasma-workspace, qtdeclarative, qtx11extras
|
|
|
|
, qtsvg, libXcursor, libXft, libxkbfile, xf86inputevdev
|
|
|
|
, xf86inputsynaptics, xinput, xkeyboard_config, xorgserver
|
|
|
|
, libcanberra_kde, libpulseaudio, makeQtWrapper, utillinux
|
2016-06-08 18:51:25 +00:00
|
|
|
, qtquickcontrols, ksysguard
|
2016-04-21 16:01:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage rec {
|
|
|
|
name = "plasma-desktop";
|
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
kdoctools
|
|
|
|
makeQtWrapper
|
|
|
|
];
|
2016-06-08 18:51:25 +00:00
|
|
|
buildInputs = [
|
2016-04-28 17:59:24 +00:00
|
|
|
attica boost fontconfig kcmutils kdbusaddons kded kitemmodels knewstuff
|
|
|
|
knotifications knotifyconfig kwallet libcanberra_kde libXcursor
|
|
|
|
libpulseaudio libXft libxkbfile phonon qtsvg xf86inputevdev
|
|
|
|
xf86inputsynaptics xkeyboard_config xinput baloo kactivities kauth
|
|
|
|
kdeclarative kdelibs4support kemoticons kglobalaccel ki18n kpeople krunner
|
2016-05-11 01:09:02 +00:00
|
|
|
kwin plasma-framework plasma-workspace qtdeclarative
|
2016-06-08 18:51:25 +00:00
|
|
|
qtquickcontrols qtx11extras ksysguard
|
2016-04-21 16:01:22 +00:00
|
|
|
];
|
|
|
|
patches = [
|
|
|
|
./0001-qt-5.5-QML-import-paths.patch
|
|
|
|
(substituteAll {
|
|
|
|
src = ./0002-hwclock.patch;
|
|
|
|
hwclock = "${utillinux}/sbin/hwclock";
|
|
|
|
})
|
|
|
|
./0003-tzdir.patch
|
|
|
|
];
|
2016-04-16 17:57:36 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${xorgserver.dev}/include/xorg" ];
|
2016-04-21 16:01:22 +00:00
|
|
|
cmakeFlags = [
|
2016-05-23 11:00:21 +00:00
|
|
|
"-DEvdev_INCLUDE_DIRS=${xf86inputevdev.dev}/include/xorg"
|
2016-04-21 16:01:22 +00:00
|
|
|
"-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg"
|
|
|
|
];
|
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/kaccess"
|
|
|
|
wrapQtProgram "$out/bin/solid-action-desktop-gen"
|
|
|
|
wrapQtProgram "$out/bin/knetattach"
|
|
|
|
wrapQtProgram "$out/bin/krdb"
|
|
|
|
wrapQtProgram "$out/bin/kapplymousetheme"
|
|
|
|
wrapQtProgram "$out/bin/kfontinst"
|
|
|
|
wrapQtProgram "$out/bin/kcm-touchpad-list-devices"
|
|
|
|
wrapQtProgram "$out/bin/kfontview"
|
|
|
|
'';
|
|
|
|
}
|