From 79a5f3f359da9617d62eb0f102057040e28e3789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Thu, 11 Jul 2024 09:21:00 -0700 Subject: [PATCH] metainfo: modernize, organize, add missing tags (#190) --- data/meson.build | 8 +++--- ...data.xml.in => wallpapers.metainfo.xml.in} | 26 +++++++++++++------ po/POTFILES | 2 +- 3 files changed, 23 insertions(+), 13 deletions(-) rename data/{wallpapers.appdata.xml.in => wallpapers.metainfo.xml.in} (85%) diff --git a/data/meson.build b/data/meson.build index 8b00ca5..ea04f48 100644 --- a/data/meson.build +++ b/data/meson.build @@ -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', ) diff --git a/data/wallpapers.appdata.xml.in b/data/wallpapers.metainfo.xml.in similarity index 85% rename from data/wallpapers.appdata.xml.in rename to data/wallpapers.metainfo.xml.in index 8931c52..b1569fe 100644 --- a/data/wallpapers.appdata.xml.in +++ b/data/wallpapers.metainfo.xml.in @@ -2,11 +2,26 @@ io.elementary.wallpapers + io.elementary.wallpapers CC0-1.0 GPL-3.0+ + + preferences-desktop-wallpaper elementary Wallpapers Curated wallpapers for elementary OS - preferences-desktop-wallpaper + + + + https://elementary.io/ + https://github.com/elementary/wallpapers/issues + https://elementary.io/get-involved#funding + https://l10n.elementary.io/engage/desktop/ + + + elementary, Inc. + + elementary + contact_at_elementary.io @@ -25,6 +40,7 @@ +
    @@ -34,6 +50,7 @@
+
    @@ -42,11 +59,4 @@ - - io.elementary.wallpapers - - elementary, Inc. - - https://elementary.io - https://github.com/elementary/wallpapers/issues ​ diff --git a/po/POTFILES b/po/POTFILES index 8266ba2..274be60 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -1 +1 @@ -data/wallpapers.appdata.xml.in +data/wallpapers.metainfo.xml.in