aboutsummaryrefslogtreecommitdiff
path: root/libdino
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 /libdino
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 'libdino')
-rw-r--r--libdino/dino.deps6
-rw-r--r--libdino/meson.build5
2 files changed, 10 insertions, 1 deletions
diff --git a/libdino/dino.deps b/libdino/dino.deps
new file mode 100644
index 00000000..c1146392
--- /dev/null
+++ b/libdino/dino.deps
@@ -0,0 +1,6 @@
+gdk-pixbuf-2.0
+gee-0.8
+glib-2.0
+gmodule-2.0
+qlite
+xmpp-vala
diff --git a/libdino/meson.build b/libdino/meson.build
index 611e8ca7..356c15d3 100644
--- a/libdino/meson.build
+++ b/libdino/meson.build
@@ -83,5 +83,8 @@ c_args = [
'-DDINO_SYSTEM_PLUGIN_DIR="@0@"'.format(get_option('prefix') / get_option('plugindir')),
'-DG_LOG_DOMAIN="libdino"',
]
-lib_dino = library('dino', sources, c_args: c_args, include_directories: include_directories('src'), dependencies: dependencies)
+lib_dino = library('dino', sources, c_args: c_args, include_directories: include_directories('src'), dependencies: dependencies, version: '0.0', install: true, install_dir: [true, true, true])
dep_dino = declare_dependency(link_with: lib_dino, include_directories: include_directories('.', 'src'))
+
+install_data('dino.deps', install_dir: get_option('datadir') / 'vala/vapi') # TODO: workaround for https://github.com/mesonbuild/meson/issues/9756
+install_headers('src/dino_i18n.h')