mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Enable raop-sink module, add raop lib, add openssl dependency
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
83b6903849
commit
4c9b6370d1
4 changed files with 40 additions and 2 deletions
|
|
@ -238,6 +238,11 @@ if fftw_dep.found()
|
|||
cdata.set('HAVE_FFTW', 1)
|
||||
endif
|
||||
|
||||
openssl_dep = dependency('openssl', version : '>= 0.9', required : false)
|
||||
if openssl_dep.found()
|
||||
cdata.set('HAVE_OPENSSL', 1)
|
||||
endif
|
||||
|
||||
udev_dep = dependency('libudev', version : '>= 143', required : false)
|
||||
if udev_dep.found()
|
||||
cdata.set('HAVE_UDEV', 1)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
# Order matters! raop needs rtp!
|
||||
subdir('rtp')
|
||||
subdir('raop')
|
||||
|
||||
# module name, sources, [headers, extra flags, extra deps, extra libs]
|
||||
all_modules = [
|
||||
|
|
@ -52,8 +54,6 @@ all_modules = [
|
|||
[ 'module-pipe-sink', 'module-pipe-sink.c' ],
|
||||
[ 'module-pipe-source', 'module-pipe-source.c' ],
|
||||
[ 'module-position-event-sounds', 'module-position-event-sounds.c' ],
|
||||
# [ 'module-raop-discover', 'raop/module-raop-discover.c' ],
|
||||
# [ 'module-raop-sink', 'raop/module-raop-sink.c' ],
|
||||
[ 'module-remap-sink', 'module-remap-sink.c' ],
|
||||
[ 'module-remap-source', 'module-remap-source.c' ],
|
||||
[ 'module-rescue-streams', 'module-rescue-streams.c' ],
|
||||
|
|
@ -117,6 +117,13 @@ if jack_dep.found()
|
|||
]
|
||||
endif
|
||||
|
||||
if openssl_dep.found()
|
||||
all_modules += [
|
||||
# [ 'module-raop-discover', 'raop/module-raop-discover.c' ],
|
||||
[ 'module-raop-sink', 'raop/module-raop-sink.c', [], [], [], libraop ],
|
||||
]
|
||||
endif
|
||||
|
||||
if systemd_dep.found()
|
||||
all_modules += [
|
||||
[ 'module-systemd-login', 'module-systemd-login.c', [], [], [systemd_dep] ],
|
||||
|
|
|
|||
24
src/modules/raop/meson.build
Normal file
24
src/modules/raop/meson.build
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
libraop_sources = [
|
||||
'raop-client.c',
|
||||
'raop-crypto.c',
|
||||
'raop-packet-buffer.c',
|
||||
'raop-sink.c',
|
||||
'raop-util.c',
|
||||
]
|
||||
|
||||
libraop_headers = [
|
||||
'raop-client.h',
|
||||
'raop-crypto.h',
|
||||
'raop-packet-buffer.h',
|
||||
'raop-sink.h',
|
||||
'raop-util.h',
|
||||
]
|
||||
|
||||
libraop = shared_library('libraop',
|
||||
libraop_sources,
|
||||
libraop_headers,
|
||||
c_args : [pa_c_args, server_c_args],
|
||||
include_directories : [configinc, topinc],
|
||||
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, librtp_dep, openssl_dep],
|
||||
install : true
|
||||
)
|
||||
|
|
@ -22,3 +22,5 @@ librtp = shared_library('librtp',
|
|||
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep],
|
||||
install : true
|
||||
)
|
||||
|
||||
librtp_dep = declare_dependency(link_with: librtp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue