Add metainfo.xml, include in flatpak

This commit is contained in:
Solomon Victorino 2024-03-01 15:20:21 -07:00 committed by Mike Dilger
parent 1760da6cb0
commit 828b36730b
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://www.freedesktop.org/software/appstream/metainfocreator/#/guiapp -->
<component type="desktop-application">
<id>com.mikedilger.gossip</id>
<name>Gossip</name>
<summary>Desktop client for Nostr</summary>
<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>
<description>
<p>
Nostr is an open social media protocol empowering lots of software such as this client. The experience is kind of like Twitter except that you control your own account, and you can post to many different independent places called &quot;relays&quot;. People are finding many additional uses for Nostr that go far beyond micro-blogging or chatting, but this client is focused on those.
</p>
<p>
Nostr stands for &quot;Notes and Other Stuff Transmitted by Relays.&quot;
</p>
</description>
<launchable type="desktop-id">com.mikedilger.gossip.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://github.com/mikedilger/gossip/raw/master/assets/gossip_screenshot_light.png</image>
</screenshot>
<screenshot>
<image>https://github.com/mikedilger/gossip/raw/master/assets/gossip_screenshot_dark.png</image>
</screenshot>
</screenshots>
</component>

View File

@ -26,6 +26,7 @@ modules:
- install -Dm644 LICENSE.txt /app/share/licenses/gossip/LICENSE
- install -Dm644 logo/gossip.svg -t /app/share/icons/hicolor/scalable/apps
- install -Dm644 packaging/debian/gossip.desktop -t /app/share/applications
- install -Dm644 packaging/com.mikedilger.gossip.metainfo.xml -t /app/share/metainfo
sources:
- .build-tmp/cargo-sources.json
- type: dir