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