[tracker-miners/wip/lantw/meson-Set-TRACKER_API_VERSION-to-2.0] meson: Set TRACKER_API_VERSION to 2.0



commit 8c23a470ca1f535c6abb9e12e7f8a7a834cb4b56
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.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 673e3c7a5..0f7e7fb05 100644
--- a/meson.build
+++ b/meson.build
@@ -373,7 +373,7 @@ conf.set('libdir', libdir)
 conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
 conf.set('prefix', get_option('prefix'))
 conf.set('tracker_test_dbus_services_dir', tracker_test_dbus_services_dir)
-conf.set('TRACKER_API_VERSION', '1.0')
+conf.set('TRACKER_API_VERSION', tracker_api_version)
 conf.set('VERSION', meson.project_version())
 
 configure_file(input: 'config-miners.h.meson.in',


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