Skip to content

Commit

Permalink
Modernize metainfo (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored May 23, 2024
1 parent 24422b7 commit 1657fbf
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 16 deletions.
11 changes: 6 additions & 5 deletions data/meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
i18n.merge_file(
input: 'notifications.appdata.xml.in',
output: 'io.elementary.settings.notifications.appdata.xml',
po_dir: join_paths(meson.source_root (), 'po', 'extra'),
install_dir: join_paths(datadir, 'metainfo'),
install: true
input: 'notifications.metainfo.xml.in',
output: gettext_name + '.metainfo.xml',
po_dir: meson.project_source_root() / 'po' / 'extra',
type: 'xml',
install: true,
install_dir: datadir / 'metainfo',
)
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,32 @@
<component type="addon">
<id>io.elementary.settings.notifications</id>
<extends>io.elementary.settings</extends>
<translation type="gettext">io.elementary.settings.notifications</translation>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>

<icon type="stock">preferences-system-notifications</icon>
<name>Notifications Settings</name>
<summary>Configure notification bubbles, sounds, and notification center</summary>
<icon type="stock">preferences-system-notifications</icon>

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

<url type="bugtracker">https://github.com/elementary/switchboard-plug-notifications/issues</url>
<url type="donation">https://elementary.io/get-involved#funding</url>
<url type="help">https://github.com/elementary/switchboard-plug-notifications/discussions</url>
<url type="homepage">https://elementary.io</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.2.0" date="2021-07-14" urgency="medium">
<description>
Expand All @@ -15,24 +38,17 @@
</ul>
</description>
</release>

<release version="2.1.7" date="2020-05-28" urgency="medium">
<description>
<p>Updated translations</p>
</description>
</release>

<release version="2.1.6" date="2020-04-01" urgency="medium">
<description>
<p>Updated translations</p>
</description>
</release>
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/switchboard-plug-notifications/main/data/screenshot.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://elementary.io</url>
<url type="bugtracker">https://github.com/elementary/switchboard-plug-notifications/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/notifications.appdata.xml.in
data/notifications.metainfo.xml.in

0 comments on commit 1657fbf

Please sign in to comment.