Merge pull request #163479 from DeeUnderscore/misc/hdrmerge-desktop

This commit is contained in:
Sandro 2022-03-10 13:50:06 +01:00 committed by GitHub
commit 09b4cb3c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,17 +55,15 @@ mkDerivation rec {
desktopName = "HDRMerge";
comment = meta.description;
icon = "hdrmerge";
exec = "@out@/bin/hdrmerge -F";
exec = "hdrmerge %F";
categories = [ "Graphics" ];
mimeTypes = [ "image/x-dcraw" "image/x-adobe-dng" ];
terminal = false;
})
];
postInstallPhase = ''
# Make a desktop item
mkdir -p $out/share/icons/ $out/share/applications/
cp ../data/images/logo.png $out/share/icons/hdrmerge.png
postInstall = ''
install -Dm444 ../data/images/icon.png $out/share/icons/hicolor/128x128/apps/hdrmerge.png
'';
meta = with lib; {