meson: Add the rtp module library

This is based on the existing libalsa-util library.

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-09-20 15:10:08 +07:00 committed by Arun Raghavan
parent aed8e9f417
commit 918af59268
2 changed files with 26 additions and 0 deletions

View file

@ -1,3 +1,5 @@
subdir('rtp')
# module name, sources, [headers, extra flags, extra deps, extra libs] # module name, sources, [headers, extra flags, extra deps, extra libs]
all_modules = [ all_modules = [
[ 'module-allow-passthrough', 'module-allow-passthrough.c' ], [ 'module-allow-passthrough', 'module-allow-passthrough.c' ],

View file

@ -0,0 +1,24 @@
librtp_sources = [
'rtp.c',
'sdp.c',
'sap.c',
'rtsp_client.c',
'headerlist.c',
]
librtp_headers = [
'rtp.h',
'sdp.h',
'sap.h',
'rtsp_client.h',
'headerlist.h',
]
librtp = shared_library('librtp',
librtp_sources,
librtp_headers,
c_args : [pa_c_args, server_c_args],
include_directories : [configinc, topinc],
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep],
install : true
)