summaryrefslogtreecommitdiff
path: root/monitor/goa
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-12-17 15:34:58 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2019-01-21 21:18:06 +0100
commit65d651e45edd9f3746dd210da4709206bed6c7e7 (patch)
tree1905d6e4b0d6bce14dc05362f93ee00059bb8219 /monitor/goa
parent1d503ea41e31b866fa16b788ab25049d80bd6278 (diff)
downloadgvfs-65d651e45edd9f3746dd210da4709206bed6c7e7.tar.gz
build: Make monitors build commands common
All the available monitors install a set of files: volume monitor files, DBus service files, etc... These build commands are mostly common and only file names change, which are built using a given pattern. These build commands have been replaced by only one set of build commands that adapt to monitors needs by changing their name and simplifies the entire process. These changes also help installing `GOA` and `MTP` necessary test files.
Diffstat (limited to 'monitor/goa')
-rw-r--r--monitor/goa/meson.build36
1 files changed, 0 insertions, 36 deletions
diff --git a/monitor/goa/meson.build b/monitor/goa/meson.build
index 7be878ad..563d380c 100644
--- a/monitor/goa/meson.build
+++ b/monitor/goa/meson.build
@@ -1,39 +1,3 @@
-install_data(
- 'goa.monitor',
- install_dir: gvfs_remote_volume_monitors_dir
-)
-
-dbus_service = gvfs_namespace + '.GoaVolumeMonitor'
-dbus_exec = 'gvfs-goa-volume-monitor'
-dbus_systemd_service = ''
-
-if install_systemd_user_unit_dir
- service = dbus_exec + '.service'
-
- configure_file(
- input: service + '.in',
- output: service,
- install: true,
- install_dir: systemd_user_unit_dir,
- configuration: service_conf
- )
-
- dbus_systemd_service = 'SystemdService=' + service
-endif
-
-dbus_service_conf = configuration_data()
-dbus_service_conf.set('service', dbus_service)
-dbus_service_conf.set('exec', join_paths(gvfs_libexecdir, dbus_exec))
-dbus_service_conf.set('systemd_service', dbus_systemd_service)
-
-configure_file(
- input: dbus_service_in,
- output: dbus_service + '.service',
- install: true,
- install_dir: dbus_service_dir,
- configuration: dbus_service_conf
-)
-
sources = files(
'goavolumemonitordaemon.c',
'goavolume.c',