[gnome-todo/gnome-3-26] build: Fix AppStream metainfo file name



commit 1b59481297bdd14c6cd499d0995377b4b1785440
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Wed Oct 11 11:31:16 2017 +0200

    build: Fix AppStream metainfo file name
    
    Applications are a special case when naming metainfo files and
    they have to be named as %{id}.appdata.xml.
    
    This patch fixes the metainfo file name.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788817

 data/appdata/meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/appdata/meson.build b/data/appdata/meson.build
index 2c3900c..b76451f 100644
--- a/data/appdata/meson.build
+++ b/data/appdata/meson.build
@@ -1,9 +1,9 @@
-info = 'org.gnome.Todo.metainfo.xml'
+appdata = 'org.gnome.Todo.appdata.xml'
 
 i18n.merge_file(
-  info,
-  input: 'org.gnome.Todo.appdata.xml.in',
-  output: info,
+  appdata,
+  input: appdata + '.in',
+  output: appdata,
   po_dir: po_dir,
   install: true,
   install_dir: join_paths(gnome_todo_datadir, 'metainfo')


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