summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2018-02-11 15:24:25 +0800
committerPeng Wu <alexepico@gmail.com>2018-02-11 15:24:25 +0800
commit7386ee6a9e8304f5b27e5e2f01b4070c23176d5e (patch)
treea526632f755d69181728876c099ad65c902a067f
parentf6aad702abbcda7c0e65e4fdbfba75732778e1aa (diff)
downloadibus-libzhuyin-7386ee6a9e8304f5b27e5e2f01b4070c23176d5e.zip
ibus-libzhuyin-7386ee6a9e8304f5b27e5e2f01b4070c23176d5e.tar.gz
ibus-libzhuyin-7386ee6a9e8304f5b27e5e2f01b4070c23176d5e.tar.xz
update autotools
-rw-r--r--configure.ac5
-rw-r--r--data/Makefile.am5
2 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4b48cd9..3e05823 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,6 +108,11 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT([external])
+# Checks for GSettings.
+PKG_CHECK_MODULES(GIO2, [gio-2.0 >= 2.26.0])
+
+GLIB_GSETTINGS
+
# OUTPUT files
AC_CONFIG_FILES([ po/Makefile.in
Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 69e6262..44b0973 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -21,6 +21,10 @@
APPDATA_XML = libzhuyin.appdata.xml
+gsettings_SCHEMAS = com.github.libzhuyin.ibus-libzhuyin.gschema.xml
+
+@GSETTINGS_RULES@
+
SUBDIRS = \
icons \
model \
@@ -58,6 +62,7 @@ EXTRA_DIST = \
$(desktop_in_in_files) \
$(symbols_DATA) \
$(APPDATA_XML) \
+ $(gsettings_SCHEMAS) \
$(NULL)
DISTCLEANFILES = \