mirror of
https://github.com/pulseaudio/pulseaudio.git
synced 2024-11-23 18:03:32 +08:00
meson: Make alsa optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
14722a907b
commit
54900beb59
@ -237,7 +237,7 @@ if x11_dep.found()
|
|||||||
cdata.set('HAVE_X11', 1)
|
cdata.set('HAVE_X11', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
alsa_dep = dependency('alsa', version : '>= 1.0.24', required : false)
|
alsa_dep = dependency('alsa', version : '>= 1.0.24', required : get_option('alsa'))
|
||||||
if alsa_dep.found()
|
if alsa_dep.found()
|
||||||
cdata.set('HAVE_ALSA_UCM', 1)
|
cdata.set('HAVE_ALSA_UCM', 1)
|
||||||
endif
|
endif
|
||||||
|
@ -17,6 +17,9 @@ option('pulsedspdir',
|
|||||||
|
|
||||||
# Optional features
|
# Optional features
|
||||||
|
|
||||||
|
option('alsa',
|
||||||
|
type : 'feature', value : 'auto',
|
||||||
|
description : 'Optional ALSA support')
|
||||||
option('dbus',
|
option('dbus',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional D-Bus support')
|
description : 'Optional D-Bus support')
|
||||||
|
Loading…
Reference in New Issue
Block a user