build(meson): add support for libomemo-c as OMEMO backend

Add the ability to choose between libsignal-protocol-c (default)
and libomemo-c when building with OMEMO support enabled in Meson.

Close: https://github.com/profanity-im/profanity/pull/2020
This commit is contained in:
Michael Vetter
2026-03-19 18:59:21 +01:00
parent d395cfb6b9
commit 27b5f0fbda
6 changed files with 47 additions and 4 deletions

View File

@@ -35,6 +35,13 @@ option('omemo',
description: 'Enable OMEMO encryption'
)
option('omemo-backend',
type: 'combo',
choices: ['libsignal', 'libomemo-c'],
value: 'libsignal',
description: 'Select OMEMO backend library'
)
option('xscreensaver',
type: 'feature',
value: 'disabled',