summaryrefslogtreecommitdiffstats
path: root/src/modules/rtp/meson.build
blob: 119cf08cea17d23cf8d005aba6fa8151b412ee59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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)