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-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-07-12 15:24:35 +02:00
|
|
|
|
soprano shared_desktop_ontologies lm_sensors pciutils libraw1394
|
2011-07-14 10:42:01 +02:00
|
|
|
|
libusb python libqalculate akonadi perl consolekit
|
2011-07-12 15:24:35 +02:00
|
|
|
|
];
|
|
|
|
|
|
2011-07-14 10:42:01 +02:00
|
|
|
|
# Workaround for undefined reference to ‘dlsym’ in
|
|
|
|
|
# kwinglutils_funcs.cpp and ‘clock_gettime’ in kdm/backend/dm.c.
|
|
|
|
|
NIX_LDFLAGS = "-ldl -lrt";
|
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-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";
|
|
|
|
|
};
|
|
|
|
|
}
|