2016-10-04 16:08:05 +01:00
|
|
|
{
|
2017-05-15 18:05:35 +01:00
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules,
|
2016-10-04 16:08:05 +01:00
|
|
|
kconfig, kcoreaddons, kcrash, kdbusaddons, kservice, kwindowsystem,
|
2017-05-22 19:49:07 +01:00
|
|
|
qtbase, qttools, qtx11extras,
|
2016-04-21 16:32:21 +01:00
|
|
|
}:
|
|
|
|
|
2017-05-15 18:05:35 +01:00
|
|
|
mkDerivation {
|
2016-04-21 16:32:21 +01:00
|
|
|
name = "kglobalaccel";
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2017-05-22 19:49:07 +01:00
|
|
|
buildInputs = [
|
|
|
|
kconfig kcoreaddons kcrash kdbusaddons kservice kwindowsystem qttools
|
|
|
|
qtx11extras
|
2016-04-28 16:52:59 +01:00
|
|
|
];
|
2017-05-22 19:49:07 +01:00
|
|
|
propagatedBuildInputs = [ qtbase ];
|
|
|
|
postPatch = ''
|
|
|
|
sed -i src/runtime/org.kde.kglobalaccel.service.in \
|
|
|
|
-e "s|@CMAKE_INSTALL_PREFIX@|''${!outputBin}|"
|
|
|
|
'';
|
2016-04-21 16:32:21 +01:00
|
|
|
}
|