[tracker/wip/carlosg/parallel-installable: 1/12] build: Add tracker_api_major and tracker_versioned_name definitions



commit 64ca06f655a93c0ed72609ef14b11aff51f91d38
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Feb 23 13:27:41 2020 +0100

    build: Add tracker_api_major and tracker_versioned_name definitions
    
    That would be "3" and "tracker-3" for the upcoming 3.0 series.

 meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 2226fb930..4271dedac 100644
--- a/meson.build
+++ b/meson.build
@@ -9,6 +9,8 @@ cc = meson.get_compiler('c')
 
 # This is the X.Y used in -llibtracker-FOO-X.Y
 tracker_api_version = '3.0'
+tracker_api_major = tracker_api_version.split('.')[0]
+tracker_versioned_name = 'tracker-@0@'.format(tracker_api_major)
 
 tracker_version = meson.project_version().split('-')[0]
 tracker_major_version = tracker_version.split('.')[0].to_int()


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