Commit 9514c9a5 authored by Carlos Garnacho's avatar Carlos Garnacho

build: Use pkgconfig variables from Tracker repo

In order to find out some things we need to run our uninstalled
tests.

Closes: #19
parent 30f66d10
Pipeline #40384 passed with stage
in 1 minute and 21 seconds
......@@ -28,14 +28,13 @@ if get_option('tracker_core') == 'system'
#
# 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 = tracker_store.path()
tracker_store_path = tracker_sparql.get_pkgconfig_variable('tracker_store')
# If we are building against an installed version of tracker core rather than
# having it as a subproject, these 'uninstalled' locations point to the actual
# installed locations.
tracker_uninstalled_domain_rule = join_paths(get_option('prefix'), get_option('datadir'), 'tracker', 'domain-ontologies', 'default.rule')
tracker_uninstalled_nepomuk_ontologies_dir = join_paths(get_option('prefix'), get_option('datadir'), 'tracker', 'ontologies', 'nepomuk')
tracker_uninstalled_domain_rule = join_paths (tracker_sparql.get_pkgconfig_variable('domain_ontologies_dir'), 'default.rule')
tracker_uninstalled_nepomuk_ontologies_dir = join_paths(tracker_sparql.get_pkgconfig_variable('domain_ontologies_dir'), 'nepomuk')
tracker_uninstalled_stop_words_dir = join_paths(get_option('prefix'), get_option('datadir'), 'tracker', 'stop-words', 'default.rule')
else
tracker_subproject = subproject('tracker',
......
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