3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/kde-5/plasma-5.6/kwin/default.nix
2016-04-30 12:20:39 -05:00

33 lines
1.2 KiB
Nix

{ plasmaPackage, extra-cmake-modules, 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 = [
extra-cmake-modules
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"
'';
}