geoclue: update configuration
[AGL/meta-agl-demo.git] / recipes-navigation / geoclue / geoclue_agldemo.inc
index 24936e5..1e31703 100644 (file)
@@ -1,11 +1,9 @@
-inherit gobject-introspection
-
 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI_append = " file://org.freedesktop.GeoClue2.Client.conf"
+
+SRC_URI += "file://geoclue.conf.agl"
 
 PACKAGECONFIG = "nmea lib"
 
 do_install_append() {
-    install -d ${D}/etc/dbus-1/system.d
-    install -m 0644 ${WORKDIR}/org.freedesktop.GeoClue2.Client.conf ${D}/etc/dbus-1/system.d/org.freedesktop.GeoClue2.Client.conf
+    install -D -m 0644 ${WORKDIR}/geoclue.conf.agl ${D}${sysconfdir}/geoclue/geoclue.conf
 }