2016-07-30 02:13:00 +00:00
|
|
|
{
|
2017-05-16 15:56:41 +00:00
|
|
|
mkDerivation, lib,
|
2017-05-17 19:26:11 +00:00
|
|
|
extra-cmake-modules, kdoctools,
|
|
|
|
ki18n, xcb-util-cursor,
|
|
|
|
kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, kipi-plugins,
|
2016-10-18 11:45:40 +00:00
|
|
|
knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
|
2019-05-28 19:46:47 +00:00
|
|
|
qtx11extras, knewstuff, qttools
|
2016-04-21 16:00:51 +00:00
|
|
|
}:
|
|
|
|
|
2017-05-16 15:56:41 +00:00
|
|
|
mkDerivation {
|
|
|
|
name = "spectacle";
|
|
|
|
meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
|
2017-05-17 19:26:11 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2017-06-21 13:52:16 +00:00
|
|
|
buildInputs = [
|
|
|
|
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
|
|
|
|
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi qtx11extras xcb-util-cursor
|
2018-04-20 14:24:00 +00:00
|
|
|
knewstuff
|
2017-05-16 15:56:41 +00:00
|
|
|
];
|
2019-05-28 19:46:47 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace desktop/org.kde.spectacle.desktop \
|
|
|
|
--replace "Exec=qdbus" "Exec=${lib.getBin qttools}/bin/qdbus"
|
|
|
|
'';
|
2017-08-04 08:52:01 +00:00
|
|
|
propagatedUserEnvPkgs = [ kipi-plugins libkipi ];
|
2016-10-18 11:45:40 +00:00
|
|
|
}
|