mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Add optional Async NS support
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
35bd2e70f9
commit
6eba2f823d
3 changed files with 9 additions and 1 deletions
|
|
@ -263,6 +263,11 @@ if alsa_dep.found()
|
||||||
cdata.set('HAVE_ALSA_UCM', 1)
|
cdata.set('HAVE_ALSA_UCM', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
asyncns_dep = dependency('libasyncns', version : '>= 0.1', required : get_option('asyncns'))
|
||||||
|
if asyncns_dep.found()
|
||||||
|
cdata.set('HAVE_LIBASYNCNS', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
systemd_dep = dependency('libsystemd', required : get_option('systemd'))
|
systemd_dep = dependency('libsystemd', required : get_option('systemd'))
|
||||||
if systemd_dep.found()
|
if systemd_dep.found()
|
||||||
cdata.set('HAVE_SYSTEMD_DAEMON', 1)
|
cdata.set('HAVE_SYSTEMD_DAEMON', 1)
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,9 @@ option('pulsedspdir',
|
||||||
option('alsa',
|
option('alsa',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional ALSA support')
|
description : 'Optional ALSA support')
|
||||||
|
option('asyncns',
|
||||||
|
type : 'feature', value : 'auto',
|
||||||
|
description : 'Optional Async DNS support')
|
||||||
option('avahi',
|
option('avahi',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional Avahi support')
|
description : 'Optional Avahi support')
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,7 @@ libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
|
||||||
include_directories : [configinc, topinc],
|
include_directories : [configinc, topinc],
|
||||||
c_args : [pa_c_args],
|
c_args : [pa_c_args],
|
||||||
install : true,
|
install : true,
|
||||||
dependencies : [libm_dep, thread_dep, shm_dep, sndfile_dep, dbus_dep, x11_dep, systemd_dep, glib_dep, gtk_dep],
|
dependencies : [libm_dep, thread_dep, shm_dep, sndfile_dep, dbus_dep, x11_dep, systemd_dep, glib_dep, gtk_dep, asyncns_dep],
|
||||||
implicit_include_directories : false)
|
implicit_include_directories : false)
|
||||||
|
|
||||||
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)
|
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue