diff options
Diffstat (limited to 'src/modules/rtp/meson.build')
-rw-r--r-- | src/modules/rtp/meson.build | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/modules/rtp/meson.build b/src/modules/rtp/meson.build new file mode 100644 index 0000000..119cf08 --- /dev/null +++ b/src/modules/rtp/meson.build @@ -0,0 +1,35 @@ +librtp_sources = [ + 'rtp-common.c', + 'sdp.c', + 'sap.c', + 'rtsp_client.c', + 'headerlist.c', +] + +librtp_headers = [ + 'rtp.h', + 'sdp.h', + 'sap.h', + 'rtsp_client.h', + 'headerlist.h', +] + +if have_gstreamer + librtp_sources += 'rtp-gstreamer.c' +else + librtp_sources += 'rtp-native.c' +endif + +librtp = shared_library('rtp', + librtp_sources, + librtp_headers, + c_args : [pa_c_args, server_c_args], + link_args : [nodelete_link_args], + include_directories : [configinc, topinc], + dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, libatomic_ops_dep, gst_dep, gstapp_dep, gstrtp_dep, gio_dep], + install : true, + install_rpath : privlibdir, + install_dir : modlibexecdir, +) + +librtp_dep = declare_dependency(link_with: librtp) |