[tracker/wip/carlosg/parallel-installable: 33/51] build: Add tracker_api_major and tracker_versioned_name definitions
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/parallel-installable: 33/51] build: Add tracker_api_major and tracker_versioned_name definitions
- Date: Sun, 5 Apr 2020 17:17:47 +0000 (UTC)
commit fcb95bc250e1ad18d74e977c3a22f1899d82e939
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 0374797f3..6d233a276 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]