[gnome-clocks/bilelmoussaoui/misc: 4/5] misc: rename appdata to metainfo



commit e59127fca9f9cb5a052cd7a6824abe094953b0dd
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Wed Feb 26 19:53:30 2020 +0100

    misc: rename appdata to metainfo

 data/meson.build                                       | 18 +++++++++---------
 ...a.xml.in.in => org.gnome.clocks.metainfo.xml.in.in} |  0
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 05118a5..c0817fd 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -57,27 +57,27 @@ configure_file(
   install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services'),
 )
 
-appdata_conf = configuration_data()
-appdata_conf.set('appid', app_id)
-appdata_file = i18n.merge_file (
+metainfo_conf = configuration_data()
+metainfo_conf.set('appid', app_id)
+metainfo_file = i18n.merge_file (
   input: configure_file(
-    input: 'org.gnome.clocks.appdata.xml.in.in',
+    input: 'org.gnome.clocks.metainfo.xml.in.in',
     output: '@BASENAME@',
-    configuration: appdata_conf
+    configuration: metainfo_conf
   ),
-  output: '@0  appdata xml'.format(app_id),
+  output: '@0  metainfo xml'.format(app_id),
   po_dir: podir,
   install: true,
   install_dir: join_paths(get_option('datadir'), 'metainfo')
 )
 
-# Validate Appdata
+# Validate metainfo
 appstream_util = find_program('appstream-util', required: false)
 if appstream_util.found()
   test(
-    'validate-appdata', appstream_util,
+    'validate-metainfo', appstream_util,
     args: [
-      'validate', '--nonet', appdata_file.full_path()
+      'validate', '--nonet', metainfo_file.full_path()
     ]
   )
 endif
diff --git a/data/org.gnome.clocks.appdata.xml.in.in b/data/org.gnome.clocks.metainfo.xml.in.in
similarity index 100%
rename from data/org.gnome.clocks.appdata.xml.in.in
rename to data/org.gnome.clocks.metainfo.xml.in.in


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]