PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0])
PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon >= 37])
+dnl *********************************************
+dnl *** Include GLib/GSettings specific stuff ***
+dnl *********************************************
+GLIB_GSETTINGS
+
AC_OUTPUT([
Makefile
luc-handler/Makefile
+luc-handler/org.genivi.LUCHandler1.gschema.xml
])
# vi:set ts=8 sw=8 noet ai nocindent:
+luc_handler_gsettingsschema_in_files = \
+ org.genivi.LUCHandler1.gschema.xml.in
+
+luc_handler_gsettings_SCHEMAS = \
+ $(luc_handler_gsettingsschema_in_files:.xml.in=.xml)
+
+.PRECIOUS: $(luc_handler_gsettings_SCHEMAS)
+
+@GSETTINGS_RULES@
+
luc_handlerdir = \
$(libdir)/luc-handler-$(BOOT_MANAGER_VERSION_API)
EXTRA_DIST = \
$(service_in_files) \
+ $(luc_handler_gsettingsschema_in_files) \
luc-handler-dbus.xml
DISTCLEANFILES = \
- $(luc_handler_built_sources)
+ $(luc_handler_built_sources) \
+ $(luc_handler_gsettings_SCHEMAS)
BUILT_SOURCES = \
$(luc_handler_built_headers)
--- /dev/null
+<schemalist>
+ <schema id="org.genivi.LUCHandler@BOOT_MANAGER_VERSION_API@" path="/org/genivi/LUCHandler@BOOT_MANAGER_VERSION_API@/">
+ <key name="last-user-context" type="a{sas}">
+ <summary>A dictionary of the apps that are considered part of the Last User Context</summary>
+ <description>
+ The current Last User Context, that is, a dictionary that maps LUC types
+ to arrays of one or more applications registered for each of them.
+ </description>
+ <default>{}</default>
+ </key>
+ </schema>
+</schemalist>