2011-07-12 15:24:35 +02:00
|
|
|
{ automoc4, cmake, kde, kdelibs, qt4, strigi, qimageblitz, libdbusmenu_qt
|
|
|
|
, xorg, soprano, shared_desktop_ontologies, lm_sensors, pciutils, libraw1394
|
2011-07-14 10:42:01 +02:00
|
|
|
, libusb, libxklavier, perl, python, libqalculate, akonadi, consolekit
|
2011-08-10 22:19:55 +02:00
|
|
|
, phonon, xkeyboard_config, kdepimlibs, pam, boost, gpsd
|
2011-07-12 15:24:35 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
kde.package {
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ cmake kdelibs qt4 automoc4 strigi qimageblitz libdbusmenu_qt
|
|
|
|
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-10 22:19:55 +02:00
|
|
|
boost gpsd soprano shared_desktop_ontologies lm_sensors pciutils
|
|
|
|
libraw1394 libusb python libqalculate akonadi perl consolekit phonon
|
2011-07-23 01:59:59 +02:00
|
|
|
kdepimlibs pam
|
2011-07-12 15:24:35 +02:00
|
|
|
];
|
|
|
|
|
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
|
|
|
'';
|
|
|
|
|
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";
|
|
|
|
kde.name = "kde-workspace";
|
|
|
|
};
|
|
|
|
}
|