[balsa] Install appstream metadata to recommended location



commit 5187164d17021a4654c09210ed56aaee6e579216
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Nov 8 15:08:10 2017 -0500

    Install appstream metadata to recommended location
    
        Fixes bgo #790076, thanks to Jeremy Bicha
        <URL:https://bugzilla.gnome.org/show_bug.cgi?id=790076>
    
        * Makefile.am: install balsa.appdata.xml in $(datarootdir)/metainfo.
        * meson.build: ditto.

 ChangeLog   |   10 ++++++++++
 Makefile.am |    2 +-
 meson.build |    2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8a80356..0e301e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2017-11-08  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       Install appstream metadata to non-deprecated location
+
+       Fixes bgo 790076, thanks to Jeremy Bicha
+       <URL:https://bugzilla.gnome.org/show_bug.cgi?id=790076>
+
+       * Makefile.am: install balsa.appdata.xml in $(datarootdir)/metainfo.
+       * meson.build: ditto.
+
 2017-11-05  Peter Bloomfield  <pbloomfield bellsouth net>
 
        Old glib-genmarshal has no --output option
diff --git a/Makefile.am b/Makefile.am
index 0123181..1a64abc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,7 +16,7 @@ desktop_DATA = balsa.desktop balsa-mailto-handler.desktop
 
 # Appdata files
 
-appdatadir = $(datarootdir)/appdata
+appdatadir = $(datarootdir)/metainfo
 appdata_in_files = balsa.appdata.xml.in
 dist_appdata_DATA = balsa.appdata.xml
 
diff --git a/meson.build b/meson.build
index d55d74a..8e98740 100644
--- a/meson.build
+++ b/meson.build
@@ -679,7 +679,7 @@ i18n.merge_file(
   output      : 'balsa.appdata.xml',
   po_dir      : 'po',
   install     : true,
-  install_dir : join_paths(get_option('datadir'), 'appdata')
+  install_dir : join_paths(get_option('datadir'), 'metainfo')
 )
 
 ##########################################################################


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