khelpcenter: use kdeWrapper

This commit is contained in:
Thomas Tuegel 2016-07-30 17:34:42 -05:00
parent ee88a01dd5
commit b93b617f18

View File

@ -1,17 +1,19 @@
{
kdeApp, ecm, kdoctools, makeQtWrapper,
kdeApp, kdeWrapper,
ecm, kdoctools,
grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils,
kdelibs4support, khtml, kservice, xapian
}:
kdeApp {
name = "khelpcenter";
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ];
buildInputs = [
grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons kinit
kcmutils kservice xapian
];
postInstall = ''
wrapQtProgram "$out/bin/khelpcenter"
'';
}
let
unwrapped =
kdeApp {
name = "khelpcenter";
nativeBuildInputs = [ ecm kdoctools ];
buildInputs = [
grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons
kinit kcmutils kservice xapian
];
};
in
kdeWrapper unwrapped { targets = [ "bin/khelpcenter" ]; }