[tracker-miners/wip/carlosg/parallel-installable: 5/36] build: Add tracker_api_major and tracker_versioned_name vars
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/parallel-installable: 5/36] build: Add tracker_api_major and tracker_versioned_name vars
- Date: Mon, 6 Apr 2020 09:59:27 +0000 (UTC)
commit 2eb15539279b6cee571a3f5560e0fdd20e53425d
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Feb 23 16:29:27 2020 +0100
build: Add tracker_api_major and tracker_versioned_name vars
This will be useful later on, as we'll change install locations to
be versioned (with major number granularity, no need for ".0")
meson.build | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 1b20c025a..3e541972d 100644
--- a/meson.build
+++ b/meson.build
@@ -8,6 +8,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-miners-@0@'.format(tracker_api_major)
libdir = join_paths(get_option('prefix'), get_option('libdir'))
datadir = join_paths(get_option('prefix'), get_option('datadir'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]