diff options
author | hrxi <hrrrxi@gmail.com> | 2023-06-22 00:04:39 +0200 |
---|---|---|
committer | fiaxh <fiaxh@users.noreply.github.com> | 2023-10-06 15:25:12 +0200 |
commit | 62ed82a49535a891acb85a2e7b9d861433db1670 (patch) | |
tree | 82e6c65936e364891d9dcd8400f370ebbc19f077 /libdino/meson.build | |
parent | 6eb1b53e60a12f82c8d47a5824bf9cee954ccdc2 (diff) | |
download | dino-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/meson.build')
-rw-r--r-- | libdino/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
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') |