Commit 3c1d2dc7 authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

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...
parent 184b709c
......@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment