[gnome-contacts] Meson: don't hardcode /usr/share for GSettings file.



commit de1396d53d3a1a61982aecdd2067a08fab6443ff
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Sep 3 10:13:12 2017 +0200

    Meson: don't hardcode /usr/share for GSettings file.

 src/meson.build |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 98d0756..8f75d26 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,8 +1,10 @@
+# GSettings
 compiled = gnome.compile_schemas()
 install_data('org.gnome.Contacts.gschema.xml',
-  install_dir: 'share/glib-2.0/schemas'
+  install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas'),
 )
 
+# The gnome-contacts binary
 contacts_vala_sources = [
   'contacts-accounts-list.vala',
   'contacts-address-map.vala',


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