Skip to content

Commit

Permalink
metainfo: modernize, organize, add missing tags (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Jul 11, 2024
1 parent cb5e160 commit 79a5f3f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 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: 'wallpapers.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po'),
input: 'wallpapers.metainfo.xml.in',
output: meson.project_name() + '.metainfo.xml',
po_dir: meson.source_root() / 'po',
type: 'xml',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo'),
install_dir: get_option('datadir') / 'metainfo',
)
26 changes: 18 additions & 8 deletions data/wallpapers.appdata.xml.in → data/wallpapers.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,26 @@
<!-- Copyright 2019-2022 elementary, Inc. <contact@elementary.io> -->
<component>
<id>io.elementary.wallpapers</id>
<translation type="gettext">io.elementary.wallpapers</translation>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>

<icon type="stock">preferences-desktop-wallpaper</icon>
<name>elementary Wallpapers</name>
<summary>Curated wallpapers for elementary OS</summary>
<icon type="stock">preferences-desktop-wallpaper</icon>

<content_rating type="oars-1.1" />

<url type="homepage">https://elementary.io/</url>
<url type="bugtracker">https://github.com/elementary/wallpapers/issues</url>
<url type="donation">https://elementary.io/get-involved#funding</url>
<url type="translate">https://l10n.elementary.io/engage/desktop/</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="7.0.0" date="2022-01-04" urgency="medium">
Expand All @@ -25,6 +40,7 @@
</ul>
</description>
</release>

<release version="6.0.0" date="2021-07-13" urgency="medium">
<description>
<ul>
Expand All @@ -34,6 +50,7 @@
</ul>
</description>
</release>

<release version="5.5.0" date="2019-11-26" urgency="medium">
<description>
<ul>
Expand All @@ -42,11 +59,4 @@
</description>
</release>
</releases>
<content_rating type="oars-1.1" />
<translation type="gettext">io.elementary.wallpapers</translation>
<developer id="org.elementaryos">
<name>elementary, Inc.</name>
</developer>
<url type="homepage">https://elementary.io</url>
<url type="bugtracker">https://github.com/elementary/wallpapers/issues</url>
​</component>
2 changes: 1 addition & 1 deletion po/POTFILES
Original file line number Diff line number Diff line change
@@ -1 +1 @@
data/wallpapers.appdata.xml.in
data/wallpapers.metainfo.xml.in

0 comments on commit 79a5f3f

Please sign in to comment.