chore: support building libstrophe as a subproject

Allow building the latest libstrophe from upstream Git automatically when
-Dforce_fallback_for=libstrophe is passed.

Default to find and link against system-provided libstrophe stays the same.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Paul Fertser
2026-04-01 16:51:24 +03:00
parent 3997f34e5a
commit 5670ccb2b1
4 changed files with 37 additions and 7 deletions

View File

@@ -5,6 +5,8 @@
### Build Options
Meson requires features to be **explicitly enabled**. Nothing is auto-enabled; if you want a feature, you must pass the corresponding `-Doption=enabled` flag.
The system libstrophe is used by default; if you instead want to automatically download and link against libstrophe HEAD from upstream Git, provide `-Dforce_fallback_for=libstrophe` flag.
| Feature | Description | Meson option |
| :--- | :--- | :--- |
| **Notifications** | Desktop notifications support | `-Dnotifications=enabled` |