spectacle: use kdeWrapper

This commit is contained in:
Thomas Tuegel 2016-07-30 17:40:00 -05:00
parent 4e5dfd0d2a
commit 551f26fc71

View File

@ -1,20 +1,20 @@
{ {
kdeApp, lib, ecm, kdoctools, makeQtWrapper, kdeApp, lib, kdeWrapper,
ecm, kdoctools,
kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, knotifications, kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, knotifications,
kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi, xcb-util-cursor kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi, xcb-util-cursor
}: }:
kdeApp { let
name = "spectacle"; unwrapped =
meta = with lib; { kdeApp {
maintainers = with maintainers; [ ttuegel ]; name = "spectacle";
}; meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ]; nativeBuildInputs = [ ecm kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor
]; ];
postInstall = '' };
wrapQtProgram "$out/bin/spectacle" in
''; kdeWrapper unwrapped { targets = [ "bin/spectacle" ]; }
}