[tracker-miners] build: Use pkgconfig variables from Tracker repo
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] build: Use pkgconfig variables from Tracker repo
- Date: Tue, 13 Nov 2018 00:42:26 +0000 (UTC)
commit 9514c9a54353a527aaa09fba55cd86ee960daf30
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 13 01:29:07 2018 +0100
build: Use pkgconfig variables from Tracker repo
In order to find out some things we need to run our uninstalled
tests.
Closes: https://gitlab.gnome.org/GNOME/tracker-miners/issues/19
meson.build | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index f7d9b2837..d8d12e192 100644
--- a/meson.build
+++ b/meson.build
@@ -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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]