mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
meson: Enable raop-discover module, add avahi dependency
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
4e6c3c0d79
commit
90c6416b18
3 changed files with 20 additions and 1 deletions
|
|
@ -228,6 +228,11 @@ cdata.set('DISABLE_ORC', 1)
|
||||||
|
|
||||||
# Module dependencies
|
# Module dependencies
|
||||||
|
|
||||||
|
avahi_dep = dependency('avahi-client', version : '>= 0.6.0', required : false)
|
||||||
|
if avahi_dep.found()
|
||||||
|
cdata.set('HAVE_AVAHI', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
jack_dep = dependency('jack', version : '>= 0.117.0', required : false)
|
jack_dep = dependency('jack', version : '>= 0.117.0', required : false)
|
||||||
if jack_dep.found()
|
if jack_dep.found()
|
||||||
cdata.set('HAVE_JACK', 1)
|
cdata.set('HAVE_JACK', 1)
|
||||||
|
|
|
||||||
|
|
@ -119,9 +119,13 @@ endif
|
||||||
|
|
||||||
if openssl_dep.found()
|
if openssl_dep.found()
|
||||||
all_modules += [
|
all_modules += [
|
||||||
# [ 'module-raop-discover', 'raop/module-raop-discover.c' ],
|
|
||||||
[ 'module-raop-sink', 'raop/module-raop-sink.c', [], [], [], libraop ],
|
[ 'module-raop-sink', 'raop/module-raop-sink.c', [], [], [], libraop ],
|
||||||
]
|
]
|
||||||
|
if avahi_dep.found()
|
||||||
|
all_modules += [
|
||||||
|
[ 'module-raop-discover', 'raop/module-raop-discover.c', [], [], [avahi_dep], libavahi_wrap ],
|
||||||
|
]
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if systemd_dep.found()
|
if systemd_dep.found()
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,16 @@ libpulsecore_dep = declare_dependency(link_with: libpulsecore)
|
||||||
# Internal libraries for modules
|
# Internal libraries for modules
|
||||||
# TODO: understand 'c_args' and 'dependencies' better, maybe we can remove some
|
# TODO: understand 'c_args' and 'dependencies' better, maybe we can remove some
|
||||||
|
|
||||||
|
libavahi_wrap = shared_library('avahi_wrap',
|
||||||
|
'avahi-wrap.c',
|
||||||
|
'avahi-wrap.h',
|
||||||
|
c_args : [pa_c_args, server_c_args, database_c_args],
|
||||||
|
include_directories : [configinc, topinc],
|
||||||
|
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, avahi_dep],
|
||||||
|
implicit_include_directories : false, # pulsecore/poll.h <vs> /usr/include/poll.h
|
||||||
|
install : true
|
||||||
|
)
|
||||||
|
|
||||||
libcli = shared_library('cli',
|
libcli = shared_library('cli',
|
||||||
'cli.c',
|
'cli.c',
|
||||||
'cli.h',
|
'cli.h',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue