summaryrefslogtreecommitdiff
path: root/monitor/udisks2/meson.build
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/udisks2/meson.build
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/udisks2/meson.build')
-rw-r--r--monitor/udisks2/meson.build38
1 files changed, 0 insertions, 38 deletions
diff --git a/monitor/udisks2/meson.build b/monitor/udisks2/meson.build
index d16339b2..26ccc142 100644
--- a/monitor/udisks2/meson.build
+++ b/monitor/udisks2/meson.build
@@ -1,41 +1,3 @@
-udisks2_monitor = files('udisks2.monitor')
-
-install_data(
- udisks2_monitor,
- install_dir: gvfs_remote_volume_monitors_dir
-)
-
-dbus_service = gvfs_namespace + '.UDisks2VolumeMonitor'
-dbus_exec = 'gvfs-udisks2-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)
-
-udisks2_service = configure_file(
- input: dbus_service_in,
- output: dbus_service + '.service',
- install: true,
- install_dir: dbus_service_dir,
- configuration: dbus_service_conf
-)
-
sources = files(
'udisks2volumemonitordaemon.c',
'gvfsudisks2drive.c',