2012-02-18 01:30:22 +00:00
|
|
|
{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, shared_desktop_ontologies
|
|
|
|
, lm_sensors, pciutils, libraw1394, libusb, libxklavier, python, libqalculate
|
2012-11-06 12:01:44 +00:00
|
|
|
, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison, akonadi
|
2012-02-19 11:16:24 +00:00
|
|
|
, pykde4, libjpeg, pkgconfig, libXft, libXxf86misc
|
2011-07-12 14:24:35 +01:00
|
|
|
}:
|
|
|
|
|
2011-08-15 19:06:26 +01:00
|
|
|
kde {
|
2011-07-12 14:24:35 +01:00
|
|
|
|
|
|
|
buildInputs =
|
2012-02-19 09:22:33 +00:00
|
|
|
[ kdelibs qimageblitz libdbusmenu_qt pykde4 libjpeg libXft libXxf86misc
|
2011-07-12 14:24:35 +01:00
|
|
|
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
|
2011-07-14 09:42:01 +01:00
|
|
|
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
|
|
|
|
xorg.libpthreadstubs
|
2011-08-15 19:06:26 +01:00
|
|
|
boost gpsd shared_desktop_ontologies lm_sensors pciutils libraw1394
|
2012-11-06 12:01:44 +00:00
|
|
|
libusb python libqalculate kdepimlibs pam prison akonadi
|
2011-07-12 14:24:35 +01:00
|
|
|
];
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-02-19 09:22:33 +00:00
|
|
|
|
2011-07-17 16:55:33 +01:00
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
# Fix incorrect path to kde4-config.
|
|
|
|
substituteInPlace startkde.cmake --replace '$bindir/kde4-config' ${kdelibs}/bin/kde4-config
|
2011-07-21 13:33:44 +01:00
|
|
|
|
|
|
|
# Fix the path to the keyboard configuration files.
|
|
|
|
substituteInPlace kcontrol/keyboard/xkb_rules.cpp \
|
|
|
|
--replace /usr/share/X11 ${xkeyboard_config}/etc/X11
|
2011-07-17 16:55:33 +01:00
|
|
|
'';
|
|
|
|
|
2012-07-25 19:49:16 +01:00
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2011-07-12 14:24:35 +01:00
|
|
|
meta = {
|
2011-07-13 19:15:57 +01:00
|
|
|
description = "KDE workspace components such as Plasma, Kwin and System Settings";
|
2011-07-12 14:24:35 +01:00
|
|
|
license = "GPLv2";
|
|
|
|
};
|
|
|
|
}
|