gwenview: use kdeWrapper

This commit is contained in:
Thomas Tuegel 2016-07-30 17:28:00 -05:00
parent 0206373fb2
commit e824741a2d

View File

@ -1,21 +1,23 @@
{
kdeApp, lib,
ecm, kdoctools, makeQtWrapper,
kdeApp, lib, kdeWrapper,
ecm, kdoctools,
baloo, exiv2, kactivities, kdelibs4support, kio, lcms2, phonon,
qtsvg, qtx11extras
}:
kdeApp {
name = "gwenview";
meta = {
license = with lib.licenses; [ gpl2 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ];
};
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ];
propagatedBuildInputs = [
baloo kactivities kdelibs4support kio qtx11extras exiv2 lcms2 phonon qtsvg
];
postInstall = ''
wrapQtProgram "$out/bin/gwenview"
'';
}
let
unwrapped =
kdeApp {
name = "gwenview";
meta = {
license = with lib.licenses; [ gpl2 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ];
};
nativeBuildInputs = [ ecm kdoctools ];
propagatedBuildInputs = [
baloo kactivities kdelibs4support kio qtx11extras exiv2 lcms2 phonon
qtsvg
];
};
in
kdeWrapper unwrapped { targets = [ "bin/gwenview" ]; }