diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-06-28 17:50:49 +0200 |
---|---|---|
committer | Jean Felder <jean.felder@gmail.com> | 2020-08-21 15:05:11 +0000 |
commit | 72e1581d356ea92bac48af71e89e272554c336ee (patch) | |
tree | a5eefe9144275296006d884c451aff89c089accf | |
parent | 84fb9597e6108f11a2f3170bb0045109c4d0bf48 (diff) | |
download | grilo-plugins-72e1581d356ea92bac48af71e89e272554c336ee.tar.gz |
build: Make tracker and tracker3 modules mutually exclusive
Even though both can be compiled and installed separately, the usual
approach to grl_registry_load_all_plugins() will cause GType clashes
as both plugins will be attempted to be initialized.
Even if we could make that work, the benefits are theoretical since
other dependencies (eg. gtk) have explicit dependencies on one or
another Tracker version, so it's more a distributor-level choice
really...
-rw-r--r-- | meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build index f5f6272..38348ea 100644 --- a/meson.build +++ b/meson.build @@ -176,6 +176,11 @@ if lua_factory_enabled endif endif +# Special case: tracker and tracker3 modules are mutually exclusive +if tracker3_enabled and tracker_enabled + error('tracker3 and tracker modules cannot be enabled at the same time') +endif + message('Plugins:') foreach p: plugins name = p[NAME].underscorify() + '_enabled' |