• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1sctp_sources = [
2  'sctpreceivemeta.c',
3  'sctpsendmeta.c',
4]
5
6sctp_headers = [
7  'sctpreceivemeta.h',
8  'sctpsendmeta.h',
9  'sctp-prelude.h',
10]
11
12install_headers(sctp_headers, subdir : 'gstreamer-1.0/gst/sctp')
13
14libgstsctp = library('gstsctp-' + api_version,
15  sctp_sources,
16  c_args : gst_plugins_bad_args + ['-DBUILDING_GST_SCTP', '-DG_LOG_DOMAIN="GStreamer-SCTP"'],
17  include_directories : [configinc, libsinc],
18  version : libversion,
19  soversion : soversion,
20  install : true,
21  dependencies : [gstbase_dep],
22)
23
24pkg_name = 'gstreamer-sctp-1.0'
25libraries += [[pkg_name, {'lib': libgstsctp}]]
26pkgconfig.generate(libgstsctp,
27  libraries : [gst_dep],
28  variables : pkgconfig_variables,
29  subdirs : pkgconfig_subdirs,
30  name : pkg_name,
31  description : 'SCTP helper functions',
32)
33
34gstsctp_dep = declare_dependency(link_with : libgstsctp,
35  include_directories : [libsinc],
36  dependencies : [gstbase_dep])
37
38meson.override_dependency(pkg_name, gstsctp_dep)
39