Merge pull request #148484 from chuangzhu/image-roll

image-roll: add desktop entry
This commit is contained in:
figsoda 2021-12-03 14:41:35 -05:00 committed by GitHub
commit 7a75191093
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,12 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ gtk3 ]; buildInputs = [ gtk3 ];
postInstall = ''
install -Dm444 src/resources/com.github.weclaw1.ImageRoll.desktop -t $out/share/applications/
install -Dm444 src/resources/com.github.weclaw1.ImageRoll.svg -t $out/share/icons/hicolor/scalable/apps/
install -Dm444 src/resources/com.github.weclaw1.ImageRoll.metainfo.xml -t $out/share/metainfo/
'';
meta = with lib; { meta = with lib; {
description = "Simple and fast GTK image viewer with basic image manipulation tools"; description = "Simple and fast GTK image viewer with basic image manipulation tools";
homepage = "https://github.com/weclaw1/image-roll"; homepage = "https://github.com/weclaw1/image-roll";