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