From 72f3fe059f031f24c5ad026cb2fc16318f227c09 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Tue, 19 Apr 2022 16:29:58 +0900 Subject: [PATCH 1/8] Make gio-2.0 optional when gsettings is disabled Derived from https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/654 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d7e468cab..f7adf1413 100644 --- a/meson.build +++ b/meson.build @@ -614,7 +614,7 @@ if dbus_dep.found() cdata.set('HAVE_DBUS', 1) endif -gio_dep = dependency('gio-2.0', version : '>= 2.26.0') +gio_dep = dependency('gio-2.0', version : '>= 2.26.0', required : false) if get_option('gsettings').enabled() assert(gio_dep.found(), 'GSettings support needs glib I/O library (GIO)') cdata.set('HAVE_GSETTINGS', 1) -- 2.35.1