aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/meson.build
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2023-06-22 00:04:39 +0200
committerfiaxh <fiaxh@users.noreply.github.com>2023-10-06 15:25:12 +0200
commit62ed82a49535a891acb85a2e7b9d861433db1670 (patch)
tree82e6c65936e364891d9dcd8400f370ebbc19f077 /xmpp-vala/meson.build
parent6eb1b53e60a12f82c8d47a5824bf9cee954ccdc2 (diff)
downloaddino-62ed82a49535a891acb85a2e7b9d861433db1670.tar.gz
dino-62ed82a49535a891acb85a2e7b9d861433db1670.zip
meson: Install more stuff
Install .vapi, .deps, .h files for the Vala libraries. Also install the data files. .deps files have to be manually generated, there's a feature request for automated generation at https://github.com/mesonbuild/meson/issues/9756. Import the gnome module globally. Install dependencies on Meson CI.
Diffstat (limited to 'xmpp-vala/meson.build')
-rw-r--r--xmpp-vala/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/xmpp-vala/meson.build b/xmpp-vala/meson.build
index 3064339a..be5e96a8 100644
--- a/xmpp-vala/meson.build
+++ b/xmpp-vala/meson.build
@@ -129,5 +129,10 @@ sources = files(
c_args = [
'-DG_LOG_DOMAIN="xmpp-vala"',
]
-lib_xmpp_vala = library('xmpp-vala', sources, c_args: c_args, vala_args: ['--vapidir', meson.current_source_dir() / 'vapi'], dependencies: dependencies)
+vala_args = [
+ '--vapidir', meson.current_source_dir() / 'vapi',
+]
+lib_xmpp_vala = library('xmpp-vala', sources, c_args: c_args, vala_args: vala_args, dependencies: dependencies, version: '0.1', install: true, install_dir: [true, true, true])
dep_xmpp_vala = declare_dependency(link_with: lib_xmpp_vala, include_directories: include_directories('.'))
+
+install_data('xmpp-vala.deps', install_dir: get_option('datadir') / 'vala/vapi') # TODO: workaround for https://github.com/mesonbuild/meson/issues/9756