Skip to content

Commit

Permalink
Metinafo: modernize, organize, add missing fields
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Jul 8, 2024
1 parent 2d6b2f1 commit 09101f9
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 13 deletions.
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
i18n.merge_file(
input: 'sharing.appdata.xml.in',
input: 'sharing.metainfo.xml.in',
output: meson.project_name() + '.metainfo.xml',
po_dir: meson.source_root() / 'po' / 'extra',
type: 'xml',
Expand Down
38 changes: 27 additions & 11 deletions data/sharing.appdata.xml.in → data/sharing.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,34 @@
<component type="addon">
<id>io.elementary.settings.sharing</id>
<extends>io.elementary.settings</extends>
<translation type="gettext">io.elementary.settings.sharing</translation>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>

<icon type="stock">preferences-system-sharing</icon>
<name>Sharing Settings</name>
<summary>Configure file and media sharing</summary>
<icon type="stock">preferences-system-sharing</icon>
<translation type="gettext">io.elementary.settings.sharing</translation>

<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/switchboard-plug-sharing/main/data/screenshot.png</image>
</screenshot>
</screenshots>

<content_rating type="oars-1.1" />

<url type="homepage">https://elementary.io/</url>
<url type="bugtracker">https://github.com/elementary/switchboard-plug-sharing/issues</url>
<url type="donation">https://elementary.io/get-involved#funding</url>
<url type="help">https://github.com/elementary/switchboard-plug-sharing/discussions</url>
<url type="translate">https://l10n.elementary.io/engage/switchboard/</url>

<developer id="org.elementaryos">
<name>elementary, Inc.</name>
</developer>
<project_group>elementary</project_group>
<update_contact>contact_at_elementary.io</update_contact>

<releases>
<release version="2.1.6" date="2022-10-20" urgency="medium">
<description>
Expand All @@ -22,6 +46,7 @@
</ul>
</description>
</release>

<release version="2.1.4" date="2020-04-01" urgency="medium">
<description>
<ul>
Expand All @@ -30,13 +55,4 @@
</description>
</release>
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/switchboard-plug-sharing/main/data/screenshot.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://elementary.io</url>
<url type="bugtracker">https://github.com/elementary/switchboard-plug-sharing/issues</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
</component>
2 changes: 1 addition & 1 deletion po/extra/POTFILES
Original file line number Diff line number Diff line change
@@ -1 +1 @@
data/sharing.appdata.xml.in
data/sharing.metainfo.xml.in

0 comments on commit 09101f9

Please sign in to comment.