gwenview: use kdeWrapper
This commit is contained in:
parent
0206373fb2
commit
e824741a2d
@ -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" ]; }
|
||||
|
Loading…
Reference in New Issue
Block a user