[tracker-miners] build: Lookup stop-words dir from tracker-sparql pc file



commit 8d2d2dfd7c13636b511beda1f9950a0d3066365f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Mar 6 20:35:23 2019 +0100

    build: Lookup stop-words dir from tracker-sparql pc file
    
    In ninja dist, build is checked with untouched prefix (which means
    /usr/local), most certainly we're not going to find the stop-words
    dir there, which triggers errors on tests.
    
    Look up the stop-words dir consistently with the other things we
    find through the tracker-sparql-2.0.pc file.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 500f79915..fd040c32e 100644
--- a/meson.build
+++ b/meson.build
@@ -37,7 +37,7 @@ if get_option('tracker_core') == 'system'
   # installed locations.
   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('ontologies_dir'), 'nepomuk')
-  tracker_uninstalled_stop_words_dir = join_paths(get_option('prefix'), get_option('datadir'), 'tracker', 
'stop-words', 'default.rule')
+  tracker_uninstalled_stop_words_dir = join_paths(tracker_sparql.get_pkgconfig_variable('datadir'), 
'tracker', 'stop-words')
 else
   tracker_subproject = subproject('tracker',
     default_options: [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]