1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00
nixpkgs/pkgs/desktops/kde-4.7/workspace.nix
Eelco Dolstra 3c668adea1 * Pass Phonon as a dependency where needed.
svn path=/nixpkgs/branches/kde-4.7/; revision=27815
2011-07-18 10:29:20 +00:00

34 lines
1.1 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ automoc4, cmake, kde, kdelibs, qt4, strigi, qimageblitz, libdbusmenu_qt
, xorg, soprano, shared_desktop_ontologies, lm_sensors, pciutils, libraw1394
, libusb, libxklavier, perl, python, libqalculate, akonadi, consolekit
, phonon
}:
kde.package {
buildInputs =
[ cmake kdelibs qt4 automoc4 strigi qimageblitz libdbusmenu_qt
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
xorg.libpthreadstubs
soprano shared_desktop_ontologies lm_sensors pciutils libraw1394
libusb python libqalculate akonadi perl consolekit phonon
];
# Workaround for undefined reference to dlsym in
# kwinglutils_funcs.cpp and clock_gettime in kdm/backend/dm.c.
NIX_LDFLAGS = "-ldl -lrt";
preConfigure =
''
# Fix incorrect path to kde4-config.
substituteInPlace startkde.cmake --replace '$bindir/kde4-config' ${kdelibs}/bin/kde4-config
'';
meta = {
description = "KDE workspace components such as Plasma, Kwin and System Settings";
license = "GPLv2";
kde.name = "kde-workspace";
};
}