Skip to content

Commit

Permalink
Metainfo Improvements (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Jul 20, 2023
1 parent ca63721 commit a288a0f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 50 deletions.
8 changes: 4 additions & 4 deletions data/meson.build
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
i18n.merge_file(
input: 'sound.appdata.xml.in',
output: 'io.elementary.switchboard.sound.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
input: 'sound.metainfo.xml.in',
output: 'io.elementary.switchboard.sound.metainfo.xml',
po_dir: meson.source_root() / 'po' / 'extra',
type: 'xml',
install: true,
install_dir: join_paths(datadir, 'metainfo'),
install_dir: datadir / 'metainfo',
)
75 changes: 30 additions & 45 deletions data/sound.appdata.xml.in → data/sound.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,30 @@
<component type="addon">
<id>io.elementary.switchboard.sound</id>
<extends>io.elementary.switchboard</extends>
<translation type="gettext">sound-plug</translation>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>

<icon type="stock">preferences-desktop-sound</icon>
<name>Sound Settings</name>
<summary>Change sound and microphone volume</summary>
<icon type="stock">preferences-desktop-sound</icon>
<translation type="gettext">sound-plug</translation>

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

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

<developer_name>elementary, Inc.</developer_name>
<project_group>elementary</project_group>
<update_contact>contact_at_elementary.io</update_contact>

<releases>
<release version="2.3.2" date="2022-10-26" urgency="medium">
<description>
Expand All @@ -30,6 +50,7 @@
</ul>
</description>
</release>

<release version="2.3.0" date="2021-11-23" urgency="medium">
<description>
<p>New features:</p>
Expand All @@ -43,6 +64,7 @@
</ul>
</description>
</release>

<release version="2.2.7" date="2021-07-14" urgency="medium">
<description>
<p>Minor updates:</p>
Expand All @@ -51,6 +73,7 @@
</ul>
</description>
</release>

<release version="2.2.6" date="2020-12-23" urgency="medium">
<description>
<p>Minor updates:</p>
Expand All @@ -60,48 +83,10 @@
</ul>
</description>
</release>
<release version="2.2.5" date="2020-09-02" urgency="medium">
<description>
<p>Minor updates:</p>
<ul>
<li>Fix crash with PulseAudio's echo cancellation plugin</li>
<li>Updated translations</li>
</ul>
</description>
</release>
<release version="2.2.4" date="2020-05-28" urgency="medium">
<description>
<p>Minor updates:</p>
<ul>
<li>Updated translations</li>
</ul>
</description>
</release>
<release version="2.2.3" date="2020-04-03" urgency="medium">
<description>
<p>Minor updates:</p>
<ul>
<li>Updated translations</li>
</ul>
</description>
</release>
<release version="2.2.2" date="2019-11-15" urgency="medium">
<description>
<ul>
<li>Add volume slider event sound</li>
<li>Updated translations</li>
</ul>
</description>
</release>

<release version="2.2.5" date="2020-09-02" />
<release version="2.2.4" date="2020-05-28" />
<release version="2.2.3" date="2020-04-03" />
<release version="2.2.2" date="2019-11-15" />
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/switchboard-plug-sound/master/data/screenshot.png</image>
</screenshot>
</screenshots>
<developer_name>elementary, Inc.</developer_name>
<url type="homepage">https://elementary.io</url>
<url type="bugtracker">https://github.com/elementary/switchboard-plug-sound/issues</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.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/sound.appdata.xml.in
data/sound.metainfo.xml.in

0 comments on commit a288a0f

Please sign in to comment.