meson: Add optional GSettings support

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-10-21 15:39:30 +07:00 committed by Arun Raghavan
parent 639c54546d
commit 35bd2e70f9
5 changed files with 66 additions and 0 deletions

View file

@ -137,6 +137,15 @@ if dbus_dep.found() and fftw_dep.found()
]
endif
if gio_dep.found()
subdir('gsettings')
all_modules += [
[ 'module-gsettings',
[ 'gsettings/module-gsettings.c', 'stdin-util.c', 'stdin-util.h' ],
[], ['-DPA_GSETTINGS_HELPER="' + pulselibexecdir + 'gsettings-helper"'] ]
]
endif
if jack_dep.found()
all_modules += [
[ 'module-jack-sink', 'jack/module-jack-sink.c', [], [], [jack_dep] ],