Merge pull request #148484 from chuangzhu/image-roll
image-roll: add desktop entry
This commit is contained in:
commit
7a75191093
1 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue