Commit d15a7f7b authored by Sam Thursfield's avatar Sam Thursfield

meson: Clarify and simplify the check for tracker-store

parent 5e71d39f
......@@ -27,8 +27,14 @@ if not tracker_sparql.found() or not tracker_miner.found()
tracker_store = tracker_subproject.get_variable('tracker_store')
tracker_store_path = tracker_store.full_path()
else
# The tracker-miners will not work unless installed into the same prefix as
# the base 'tracker' package as it expects to be able to access data files
# in ${prefix}/{datadir}/tracker.
#
# This check acts as a guard to make sure we are being configured with the
# right prefix, among other things.
tracker_store = find_program(join_paths(get_option('prefix'), get_option('libexecdir'), 'tracker-store'))
tracker_store_path = find_program(join_paths(get_option('prefix'), get_option('libexecdir'), 'tracker-store')).path()
tracker_store_path = tracker_store.path()
endif
avcodec = dependency('libavcodec', version: '>= 0.8.4', required: false)
......
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