Add a build option to specify whether pulse gsettings schema should be installed

This commit is contained in:
Mark Gallagher 2022-12-22 15:45:06 +00:00 committed by Wim Taymans
parent ee42a6868d
commit bd87902da6
3 changed files with 16 additions and 7 deletions

View file

@ -343,6 +343,9 @@ cdata.set('HAVE_GLIB2', flatpak_support)
gio_dep = dependency('gio-2.0', version : '>= 2.26.0', required : get_option('gsettings'))
summary({'GIO (GSettings)': gio_dep.found()}, bool_yn: true, section: 'Misc dependencies')
if not gio_dep.found() and get_option('gsettings-pulse-schema').enabled()
error('`gsettings-pulse-schema` is enabled but `gio` was not found.')
endif
gst_option = get_option('gstreamer')
gst_deps_def = {