Skip to content

Commit

Permalink
Add flatpak metainfo file
Browse files Browse the repository at this point in the history
  • Loading branch information
agorgl committed Nov 5, 2024
1 parent e477d3f commit 42b61d0
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
36 changes: 36 additions & 0 deletions flatpak/audio.mod.mod_desktop.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>audio.mod.mod_desktop</id>

<name>MOD Desktop</name>
<summary>MOD Audio for the desktop</summary>
<url type="homepage">https://mod.audio</url>

<metadata_license>MIT</metadata_license>
<project_license>AGPL-3.0-or-later</project_license>

<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>

<description>
<p>The mod universe, now for Desktops free, as in beer too</p>
<p>Explore, Create &amp; Play, Sculpt your tone, community-enhanced.</p>
<p>Effortlessly create your dream rigs using a familiar pedalboard workflow, enriched by a vast library of community-driven plugins.</p>
</description>

<launchable type="desktop-id">mod-desktop.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://github.com/mod-audio/mod-desktop/raw/main/mod-desktop.png</image>
</screenshot>
<screenshot>
<image>https://github.com/mod-audio/mod-desktop/raw/main/docs/user-files-1.png</image>
</screenshot>
<screenshot>
<image>https://github.com/mod-audio/mod-desktop/raw/main/docs/user-files-2.png</image>
</screenshot>
</screenshots>
</component>
3 changes: 3 additions & 0 deletions flatpak/audio.mod.mod_desktop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ modules:
- install -Dm755 mod-desktop.sh ${FLATPAK_DEST}/bin/mod-desktop
- install -Dm644 mod-desktop-git/res/mod-logo.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/mod-desktop.svg
- install -Dm644 mod-desktop-git/utils/linux/mod-desktop.desktop ${FLATPAK_DEST}/share/applications/mod-desktop.desktop
- install -Dm644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
- desktop-file-edit --set-key Exec --set-value "mod-desktop" ${FLATPAK_DEST}/share/applications/mod-desktop.desktop
- desktop-file-edit --set-key Icon --set-value "mod-desktop" ${FLATPAK_DEST}/share/applications/mod-desktop.desktop
sources:
Expand All @@ -58,3 +59,5 @@ modules:
commands:
- cd "/app/opt/mod-desktop"
- exec "$(pwd)/mod-desktop"
- type: file
path: audio.mod.mod_desktop.metainfo.xml

0 comments on commit 42b61d0

Please sign in to comment.