mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Make avahi optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
9a0060d208
commit
d984da3fea
2 changed files with 4 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ if cc.has_header('sys/soundcard.h')
|
|||
cdata.set_quoted('PULSEDSP_LOCATION', pulsedspdir)
|
||||
endif
|
||||
|
||||
avahi_dep = dependency('avahi-client', version : '>= 0.6.0', required : false)
|
||||
avahi_dep = dependency('avahi-client', version : '>= 0.6.0', required : get_option('avahi'))
|
||||
if avahi_dep.found()
|
||||
cdata.set('HAVE_AVAHI', 1)
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ option('pulsedspdir',
|
|||
option('alsa',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional ALSA support')
|
||||
option('avahi',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional Avahi support')
|
||||
option('dbus',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional D-Bus support')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue