diff --git a/geoclue/meson.build b/geoclue/meson.build index d14dc46..887c18d 100644 --- a/geoclue/meson.build +++ b/geoclue/meson.build @@ -1,5 +1,8 @@ -install_data( - 'beacondb.conf', - rename: '99-beacondb.conf', - install_dir: sysconfdir / 'geoclue' / 'conf.d' -) +# Configure GeoClue to use BeaconDB +if get_option('geoclue') + install_data( + 'beacondb.conf', + rename: '99-beacondb.conf', + install_dir: sysconfdir / 'geoclue' / 'conf.d' + ) +endif diff --git a/meson_options.txt b/meson_options.txt index 9ca0bbc..72f2acc 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -17,3 +17,8 @@ option('default-gsettings-overrides', type: 'boolean', value: true, description: 'Install default Pantheon GSettings Overrides') + +option('geoclue', + type: 'boolean', + value: true, + description: 'Install configuration files for GeoClue')