[tracker-miners/tracker-miners-2.3: 1/4] meson: Set TRACKER_API_VERSION to 2.0



commit 9597cf3c3bf4583eac1dd9820537d84435a4047a
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sun Feb 2 18:40:19 2020 +0800

    meson: Set TRACKER_API_VERSION to 2.0
    
    Otherwise, tracker-miner-2.0.pc records tracker-sparql-1.0 in its
    'Requires' field and causes build failure for other projects because
    tracker-sparql-1.0.pc does not exist.
    
    Backport of GNOME/tracker-miners!141

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 71a9df45f..4ce33989e 100644
--- a/meson.build
+++ b/meson.build
@@ -360,7 +360,7 @@ conf.set('includedir', join_paths(get_option('prefix'), get_option('includedir')
 conf.set('libdir', libdir)
 conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
 conf.set('prefix', get_option('prefix'))
-conf.set('TRACKER_API_VERSION', '1.0')
+conf.set('TRACKER_API_VERSION', tracker_api_version)
 conf.set('VERSION', meson.project_version())
 
 # Configure functional tests to run completely from source tree.


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