From a4bbcb9ab9ed265841549766fee574ad5d14d29b Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 30 Jun 2025 18:19:23 +0200 Subject: 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. --- plugins/omemo/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/omemo') 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]) -- cgit v1.3