diff options
| author | Marvin W <git@larma.de> | 2025-06-30 18:19:23 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2025-07-20 19:31:03 +0200 |
| commit | a4bbcb9ab9ed265841549766fee574ad5d14d29b (patch) | |
| tree | f942824d7bae26c3822b4750087fb85af8d6e424 /plugins/omemo/meson.build | |
| parent | 08865ca4cb2ca32e0090e57d31afbd4c7feee471 (diff) | |
Meson: Improve plugin building
Make relevant plugins enabled by default (instead of auto-enabling them if
dependencies are met). Also make disabled plugins explicit in the summary.
Diffstat (limited to 'plugins/omemo/meson.build')
| -rw-r--r-- | plugins/omemo/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo/meson.build b/plugins/omemo/meson.build index 273d8831..4418dd23 100644 --- a/plugins/omemo/meson.build +++ b/plugins/omemo/meson.build @@ -71,7 +71,7 @@ vala_args = [ ] lib_omemo = shared_library('omemo', sources, name_prefix: '', c_args: c_args, vala_args: vala_args, include_directories: include_directories('src'), dependencies: dependencies, install: true, install_dir: get_option('libdir') / get_option('plugindir'), install_rpath: default_install_rpath) dep_omemo = declare_dependency(link_with: lib_omemo, include_directories: include_directories('.')) -summary('End-to-end encryption using OMEMO (omemo)', dep_omemo, section: 'Plugins') +summary('End-to-end encryption using OMEMO (omemo)', dep_omemo.found(), bool_yn: true, section: 'Plugins') # This is to use the internal vapi instead of the regular vapi_omemo_internal = custom_target('omemo-internal-vapi', command: [find_program('touch'), meson.current_build_dir() / 'omemo-internal.vapi'], output: ['omemo-internal.vapi'], depends: lib_omemo) dep_omemo_internal = declare_dependency(link_args: [lib_omemo.full_path()], include_directories: include_directories('.', 'src'), sources: [vapi_omemo_internal]) |
