Commit e13d9087 authored by Sam Thursfield's avatar Sam Thursfield

Expose dbus_services_dir to dependent projects

The tracker-miners tests now depend on the
tests/services/org.freedesktop.Tracker1.service file. We need to expose
it. The pkg-config variable is for situations where we build against an
installed Tracker core (so we use the normal service file, and honour
any custom location that the user specified for it). The Meson variable
is for when Tracker core is built as a subproject of tracker-miners.
parent 12f095cc
......@@ -273,6 +273,7 @@ conf.set('exec_prefix', get_option('prefix'))
conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
conf.set('datadir', datadir)
conf.set('datarootdir', join_paths(get_option('prefix'), get_option('datadir')))
conf.set('dbus_services_dir', dbus_services_dir)
conf.set('includedir', join_paths(get_option('prefix'), get_option('includedir')))
conf.set('libdir', libdir)
conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
......
......@@ -6,6 +6,7 @@ libexecdir=@libexecdir@
datadir=@datadir@
tracker_store=@tracker_store@
ontologies_dir=@ontologies_dir@
dbus_services_dir=@dbus_services_dir@
domain_ontologies_dir=@domain_ontologies_dir@
Name: tracker-sparql
......
......@@ -2,3 +2,5 @@ test_dbus_service_file = configure_file(
input: 'org.freedesktop.Tracker1.service.in',
output: 'org.freedesktop.Tracker1.service',
configuration: conf)
tracker_test_dbus_services_dir = meson.current_build_dir()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment