mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Make alsa optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
14722a907b
commit
54900beb59
2 changed files with 4 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ if x11_dep.found()
|
|||
cdata.set('HAVE_X11', 1)
|
||||
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()
|
||||
cdata.set('HAVE_ALSA_UCM', 1)
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ option('pulsedspdir',
|
|||
|
||||
# Optional features
|
||||
|
||||
option('alsa',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional ALSA support')
|
||||
option('dbus',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional D-Bus support')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue