nixpkgs/pkgs/desktops/kde-5/plasma/kwin/default.nix
2016-07-30 09:36:52 -05:00

32 lines
1.2 KiB
Nix

{ plasmaPackage, ecm, kdoctools, epoxy
, kactivities, kcompletion, kcmutils, kconfig, kconfigwidgets
, kcoreaddons, kcrash, kdeclarative, kdecoration, kglobalaccel
, ki18n, kiconthemes, kidletime, kinit, kio, knewstuff, knotifications
, kpackage, kscreenlocker, kservice, kwayland, kwidgetsaddons, kwindowsystem
, kxmlgui, libinput, libICE, libSM, plasma-framework, qtdeclarative
, qtmultimedia, qtscript, qtx11extras, udev, wayland, xcb-util-cursor
, makeQtWrapper
}:
plasmaPackage {
name = "kwin";
nativeBuildInputs = [
ecm
kdoctools
makeQtWrapper
];
propagatedBuildInputs = [
kactivities kdeclarative kglobalaccel ki18n kio kscreenlocker kwindowsystem
plasma-framework qtdeclarative qtmultimedia qtx11extras epoxy kcompletion
kcmutils kconfig kconfigwidgets kcoreaddons kcrash kdecoration kiconthemes
kidletime kinit knewstuff knotifications kpackage kservice kwayland
kwidgetsaddons kxmlgui libinput libICE libSM qtscript udev wayland
xcb-util-cursor
];
patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
postInstall = ''
wrapQtProgram "$out/bin/kwin_x11"
wrapQtProgram "$out/bin/kwin_wayland"
'';
}