Commit 5a633e69 authored by Niels De Graef's avatar Niels De Graef

meson: Install VAPI .deps files

Fixes #105
parent 4664aa29
......@@ -44,6 +44,11 @@ dummy_backendlib = shared_library('folks-@0@'.format(dummy_backend_name),
install_dir: [ true, folks_headers_install_dir, true, true ],
)
# Also make sure to install the VAPI's .deps file
install_data('folks-dummy.deps',
install_dir: get_option('datadir') / 'vala' / 'vapi',
)
# FIXME: This comes straight from the Meson docs on how to create/install a
# typelib file for your Vala shared library. However, as mentioned in
# https://github.com/mesonbuild/meson/issues/4481, this is not ideal.
......
......@@ -57,6 +57,11 @@ eds_backendlib = shared_library('folks-@0@'.format(eds_backend_name),
install_dir: [ true, folks_headers_install_dir, true, true ],
)
# Also make sure to install the VAPI's .deps file
install_data('folks-eds.deps',
install_dir: get_option('datadir') / 'vala' / 'vapi',
)
# FIXME: This comes straight from the Meson docs on how to create/install a
# typelib file for your Vala shared library. However, as mentioned in
# https://github.com/mesonbuild/meson/issues/4481, this is not ideal.
......
......@@ -54,6 +54,11 @@ libsocialweb_backendlib = shared_library('folks-@0@'.format(libsocialweb_backend
install_dir: [ true, folks_headers_install_dir, true, true ],
)
# Also make sure to install the VAPI's .deps file
install_data('folks-libsocialweb.deps',
install_dir: get_option('datadir') / 'vala' / 'vapi',
)
# FIXME: This comes straight from the Meson docs on how to create/install a
# typelib file for your Vala shared library. However, as mentioned in
# https://github.com/mesonbuild/meson/issues/4481, this is not ideal.
......
......@@ -137,6 +137,11 @@ telepathy_backendlib = shared_library('folks-@0@'.format(telepathy_backend_name)
install_dir: [ true, folks_headers_install_dir, true, true ],
)
# Also make sure to install the VAPI's .deps file
install_data('folks-telepathy.deps',
install_dir: get_option('datadir') / 'vala' / 'vapi',
)
# FIXME: This comes straight from the Meson docs on how to create/install a
# typelib file for your Vala shared library. However, as mentioned in
# https://github.com/mesonbuild/meson/issues/4481, this is not ideal.
......
......@@ -55,6 +55,14 @@ tracker_backendlib = shared_library('folks-@0@'.format(tracker_backend_name),
install_dir: [ true, folks_headers_install_dir, true, true ],
)
# Also make sure to install the VAPI's .deps file
configure_file(
output: 'folks-tracker.deps',
input: 'folks-tracker.deps.in',
configuration: { 'TRACKER_SPARQL_MAJOR': tracker_sparql_version },
install_dir: get_option('datadir') / 'vala' / 'vapi',
)
# FIXME: This comes straight from the Meson docs on how to create/install a
# typelib file for your Vala shared library. However, as mentioned in
# https://github.com/mesonbuild/meson/issues/4481, this is not ideal.
......
......@@ -97,6 +97,11 @@ libfolks_lib = shared_library('folks',
install_dir: [ true, folks_headers_install_dir, true, true ],
)
# Also make sure to install the VAPI's .deps file
install_data('folks.deps',
install_dir: get_option('datadir') / 'vala' / 'vapi',
)
# FIXME: This comes straight from the Meson docs on how to create/install a
# typelib file for your Vala shared library. However, as mentioned in
# https://github.com/mesonbuild/meson/issues/4481, this is not ideal.
......
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