2016-07-30 07:36:52 -07:00
|
|
|
{ plasmaPackage, substituteAll, ecm, kdoctools
|
2016-07-10 02:33:21 -07:00
|
|
|
, attica, baloo, boost, fontconfig, kactivities, kactivities-stats
|
|
|
|
, kauth, kcmutils, kdbusaddons, kdeclarative, kded, kdelibs4support, kemoticons
|
2016-04-21 09:01:22 -07:00
|
|
|
, 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
|
2016-07-17 13:42:41 -07:00
|
|
|
, libcanberra_kde, libpulseaudio, utillinux
|
2016-06-08 11:51:25 -07:00
|
|
|
, qtquickcontrols, ksysguard
|
2016-04-21 09:01:22 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage rec {
|
|
|
|
name = "plasma-desktop";
|
2016-07-17 13:42:41 -07:00
|
|
|
nativeBuildInputs = [ ecm kdoctools ];
|
2016-06-08 11:51:25 -07:00
|
|
|
buildInputs = [
|
2016-04-28 10:59:24 -07:00
|
|
|
attica boost fontconfig kcmutils kdbusaddons kded kitemmodels knewstuff
|
|
|
|
knotifications knotifyconfig kwallet libcanberra_kde libXcursor
|
|
|
|
libpulseaudio libXft libxkbfile phonon qtsvg xf86inputevdev
|
2016-07-10 02:33:21 -07:00
|
|
|
xf86inputsynaptics xkeyboard_config xinput baloo kactivities
|
|
|
|
kactivities-stats kauth kdeclarative kdelibs4support kemoticons kglobalaccel
|
|
|
|
ki18n kpeople krunner kwin plasma-framework plasma-workspace qtdeclarative
|
2016-06-08 11:51:25 -07:00
|
|
|
qtquickcontrols qtx11extras ksysguard
|
2016-04-21 09:01:22 -07:00
|
|
|
];
|
|
|
|
patches = [
|
|
|
|
./0001-qt-5.5-QML-import-paths.patch
|
|
|
|
(substituteAll {
|
|
|
|
src = ./0002-hwclock.patch;
|
|
|
|
hwclock = "${utillinux}/sbin/hwclock";
|
|
|
|
})
|
|
|
|
./0003-tzdir.patch
|
|
|
|
];
|
2016-06-19 01:18:30 -07:00
|
|
|
postPatch = ''
|
|
|
|
sed '1i#include <cmath>' -i kcms/touchpad/src/backends/x11/synapticstouchpad.cpp
|
|
|
|
'';
|
2016-04-16 10:57:36 -07:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${xorgserver.dev}/include/xorg" ];
|
2016-04-21 09:01:22 -07:00
|
|
|
cmakeFlags = [
|
2016-05-23 04:00:21 -07:00
|
|
|
"-DEvdev_INCLUDE_DIRS=${xf86inputevdev.dev}/include/xorg"
|
2016-04-21 09:01:22 -07:00
|
|
|
"-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg"
|
|
|
|
];
|
|
|
|
}
|