1librtp_sources = [ 2 'rtp-common.c', 3 'sdp.c', 4 'sap.c', 5 'rtsp_client.c', 6 'headerlist.c', 7] 8 9librtp_headers = [ 10 'rtp.h', 11 'sdp.h', 12 'sap.h', 13 'rtsp_client.h', 14 'headerlist.h', 15] 16 17if have_gstreamer 18 librtp_sources += 'rtp-gstreamer.c' 19else 20 librtp_sources += 'rtp-native.c' 21endif 22 23librtp = shared_library('rtp', 24 librtp_sources, 25 librtp_headers, 26 c_args : [pa_c_args, server_c_args], 27 link_args : [nodelete_link_args], 28 include_directories : [configinc, topinc], 29 dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, libatomic_ops_dep, gst_dep, gstapp_dep, gstrtp_dep, gio_dep], 30 install : true, 31 install_rpath : privlibdir, 32 install_dir : modlibexecdir, 33) 34 35librtp_dep = declare_dependency(link_with: librtp) 36