2012-01-07 01:50:10 +04: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-01-14 22:03:45 +04:00
|
|
|
pykde4, libjpeg, pkgconfig, libXft, libXxf86misc, kactivities
|
2012-01-07 01:50:10 +04:00
|
|
|
}:
|
|
|
|
|
|
|
|
kde {
|
|
|
|
|
|
|
|
buildInputs =
|
2012-01-14 22:03:45 +04:00
|
|
|
[ kdelibs qimageblitz libdbusmenu_qt pykde4 libjpeg libXft libXxf86misc
|
2012-01-07 01:50:10 +04:00
|
|
|
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
|
|
|
|
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
|
|
|
|
xorg.libpthreadstubs
|
|
|
|
boost gpsd shared_desktop_ontologies lm_sensors pciutils libraw1394
|
|
|
|
libusb python libqalculate consolekit kdepimlibs pam prison akonadi
|
2012-01-14 22:03:45 +04:00
|
|
|
kactivities
|
2012-01-07 01:50:10 +04:00
|
|
|
];
|
|
|
|
|
2012-01-14 22:03:45 +04:00
|
|
|
buildNativeInputs = [ pkgconfig ];
|
|
|
|
|
2012-01-07 01:50:10 +04:00
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
# Fix incorrect path to kde4-config.
|
|
|
|
substituteInPlace startkde.cmake --replace '$bindir/kde4-config' ${kdelibs}/bin/kde4-config
|
|
|
|
|
|
|
|
# Fix the path to the keyboard configuration files.
|
|
|
|
substituteInPlace kcontrol/keyboard/xkb_rules.cpp \
|
|
|
|
--replace /usr/share/X11 ${xkeyboard_config}/etc/X11
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE workspace components such as Plasma, Kwin and System Settings";
|
|
|
|
license = "GPLv2";
|
|
|
|
};
|
|
|
|
}
|