[tracker] build: Export store/ontology/domain ontology locations in .pc file
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] build: Export store/ontology/domain ontology locations in .pc file
- Date: Tue, 13 Nov 2018 00:40:41 +0000 (UTC)
commit 35e299bbfd7a4f7bf1f39c2a2da8b4013f28d8e1
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 13 01:29:40 2018 +0100
build: Export store/ontology/domain ontology locations in .pc file
Export those in tracker-sparql.pc, so users may find out the install
details.
Related: https://gitlab.gnome.org/GNOME/tracker-miners/issues/19
meson.build | 3 +++
src/libtracker-sparql/tracker-sparql.pc.in | 5 +++++
2 files changed, 8 insertions(+)
---
diff --git a/meson.build b/meson.build
index ee89f6e65..0610befb7 100644
--- a/meson.build
+++ b/meson.build
@@ -268,6 +268,9 @@ conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')
conf.set('prefix', get_option('prefix'))
conf.set('TRACKER_API_VERSION', tracker_api_version)
conf.set('VERSION', meson.project_version())
+conf.set('tracker_store', join_paths ('${libexecdir}', 'tracker-store'))
+conf.set('ontologies_dir', join_paths ('${datadir}', 'tracker', 'ontologies'))
+conf.set('domain_ontologies_dir', join_paths('${datadir}', 'tracker', 'domain-ontologies'))
# Configure functional tests to run completely from source tree.
conf.set('FUNCTIONAL_TESTS_ONTOLOGIES_DIR', join_paths(meson.current_source_dir(), 'tests',
'functional-tests', 'test-ontologies'))
diff --git a/src/libtracker-sparql/tracker-sparql.pc.in b/src/libtracker-sparql/tracker-sparql.pc.in
index 4fb785c3d..dcdf0b7df 100644
--- a/src/libtracker-sparql/tracker-sparql.pc.in
+++ b/src/libtracker-sparql/tracker-sparql.pc.in
@@ -2,6 +2,11 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
+libexecdir=@libexecdir@
+datadir=@datadir@
+tracker_store=@tracker_store@
+ontologies_dir=@ontologies_dir@
+domain_ontologies_dir=@domain_ontologies_dir@
Name: tracker-sparql
Description: Tracker : A library to perform SPARQL queries and updates in the \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]