summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2019-04-04 13:14:44 +0200
committerOndrej Holy <oholy@redhat.com>2019-05-16 09:36:59 +0000
commite837684af5a28464366cb0aa92a6200a310fd0ec (patch)
tree022616aa2890f63566294a1f7330fb12d5abcbca /metadata
parenta19e737c7fb8d6aee95d00b0b55ef5f7429b24a7 (diff)
downloadgvfs-e837684af5a28464366cb0aa92a6200a310fd0ec.tar.gz
build: Use dictionaries in configuration_data objects
Since 0.49.0[0], a dictionary could be used as a replacement for each key/value pair as if `set` method was called for each of them. Almost all of the `configuration_data` objects have been changed to use a dictionary. [0] http://mesonbuild.com/Reference-manual.html#configuration_data
Diffstat (limited to 'metadata')
-rw-r--r--metadata/meson.build9
1 files changed, 5 insertions, 4 deletions
diff --git a/metadata/meson.build b/metadata/meson.build
index f847e484..905d577b 100644
--- a/metadata/meson.build
+++ b/metadata/meson.build
@@ -16,10 +16,11 @@ if install_systemd_systemduserunitdir
dbus_systemd_service = 'SystemdService=' + service
endif
-dbus_service_conf = configuration_data()
-dbus_service_conf.set('service', dbus_service)
-dbus_service_conf.set('exec', gvfs_prefix / gvfs_libexecdir / dbus_exec)
-dbus_service_conf.set('systemd_service', dbus_systemd_service)
+dbus_service_conf = {
+ 'service': dbus_service,
+ 'exec': gvfs_prefix / gvfs_libexecdir / dbus_exec,
+ 'systemd_service': dbus_systemd_service,
+}
metadata_service = configure_file(
input: dbus_service_in,