meson: Make dbus optional, fix build with dbus disabled

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-10-19 16:24:25 +07:00 committed by Arun Raghavan
parent b4fe15e092
commit f4a8d43882
3 changed files with 21 additions and 11 deletions

View file

@ -14,6 +14,12 @@ option('database',
option('pulsedspdir',
type : 'string',
description : 'Specify location where OSS wrapper will be installed')
# Optional features
option('dbus',
type : 'feature', value : 'auto',
description : 'Optional D-Bus support')
option('x11',
type : 'feature', value : 'auto',
description : 'Optional X11 support')