aboutsummaryrefslogtreecommitdiff
path: root/main/meson.build
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2026-10-04 16:32:47 +0200
committerMarvin W <git@larma.de>2026-10-23 16:59:59 +0200
commitec4ca2a4642552b8424e7703840cd37e371e9e00 (patch)
tree49cbb2db341f51b71125cdb453b89813e323b5c1 /main/meson.build
parenta4fad16ee2a34cd523a1f242e60c41073a6006eb (diff)
Only try loading the plugin when actually enabled
Diffstat (limited to 'main/meson.build')
-rw-r--r--main/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/meson.build b/main/meson.build
index b3047fb1..cdefcbf7 100644
--- a/main/meson.build
+++ b/main/meson.build
@@ -170,6 +170,7 @@ if get_option('rtp').allowed() and dep_gstreamer.found() and dep_gstreamer_app.f
if get_option('rtp-vp9')
vala_args += ['-D', 'ENABLE_VP9']
endif
+ vala_args += ['-D', 'WITH_RTP']
summary('Voice/video calls (rtp)', true, bool_yn: true, section: 'Plugins')
summary('H264 codec', get_option('rtp-h264'), bool_yn: true, section: 'RTP configuration')
@@ -215,6 +216,7 @@ if get_option('omemo').allowed() and dep_libomemo_c.found() and dep_libqrencode.
'src/plugins/omemo/ui/own_notifications.vala',
'src/plugins/omemo/ui/util.vala',
)
+ vala_args += ['-D', 'WITH_OMEMO']
summary('End-to-end encryption using OMEMO (omemo)', true, bool_yn: true, section: 'Plugins')
else
@@ -240,6 +242,7 @@ if get_option('openpgp').allowed() and dep_gpgme.found()
'src/plugins/openpgp/util.vala',
'vapi/gpg-error.vapi',
)
+ vala_args += ['-D', 'WITH_OPENPGP']
summary('End-to-end encryption using PGP (openpgp)', true, bool_yn: true, section: 'Plugins')
else