diff options
author | Bilal Elmoussaoui <belmouss@redhat.com> | 2022-04-26 15:00:46 +0200 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2022-09-02 08:04:31 +0000 |
commit | 7902fa3f9fb9e772f0b74ed86f1c7ea8489ee601 (patch) | |
tree | b9cf3ffc6d739734b7957339a0deb8b917f56fd0 /meson_options.txt | |
parent | f94189d4eb487298525005543f7b7dd1dc243bda (diff) | |
download | mutter-7902fa3f9fb9e772f0b74ed86f1c7ea8489ee601.tar.gz |
core: Make sound player feature optional
Mutter can play sounds in some contexts and also provides an API
for libmutter users to do so using libcanberra internally.
In some specific use cases of Mutter, we would like to not depend
on libcanberra and not have any sound playing feature by default.
The changes keeps the sound player API but make it no-op if the
sound_player feature is disabled to not make it possible to break
a gnome-shell build.
See https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2270
for relevant discussion
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2375>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 61b99d9e0..cddcc1a47 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -93,6 +93,12 @@ option('libwacom', description: 'Enable libwacom support' ) +option('sound_player', + type: 'boolean', + value: true, + description: 'Enable sound player support using libcanberra', +) + option('pango_ft2', type: 'boolean', value: true, |