summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2021-08-29 14:24:42 +0200
committerFlorian Müllner <fmuellner@gnome.org>2021-09-01 12:26:15 +0200
commit1d607cf18f1467f1837e4e78f4648050c27739f3 (patch)
tree26a4507fcafdff69aa8cdc4e44db580bb83659f1 /meson.build
parent66ba806838a3c7d961697bfdbd9fa55558150d6d (diff)
downloadgnome-shell-1d607cf18f1467f1837e4e78f4648050c27739f3.tar.gz
build: Add soup2 option
!1940 added support for soup 3, including a fallback to soup 2.4 where the newer version isn't available. Unfortunately it missed that libgweather has a hidden soup dependency, and now gnome-shell fails to start if a weather location has been set up and soup 3 is available. We don't have a good way to detect that case, so hide the soup 3 support behind a build option. Distributors are expected to switch it at the same time as libgweather. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1966>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 5e9053558..584750051 100644
--- a/meson.build
+++ b/meson.build
@@ -128,6 +128,8 @@ else
have_systemd = false
endif
+have_soup2 = get_option('soup2')
+
if get_option('man')
if fs.exists('man/gnome-shell.1')
install_man('man/gnome-shell.1')