6 'gstrtpbaseaudiopayload.c',
8 'gstrtpbasedepayload.c'
13 'gstrtpbaseaudiopayload.h',
14 'gstrtpbasedepayload.h',
15 'gstrtpbasepayload.h',
22 install_headers(rtp_headers, subdir : 'gstreamer-1.0/gst/rtp/')
24 mkenums = find_program('rtp_mkenum.py')
26 gstrtp_enum_h = custom_target('gstrtp_enum_h',
27 output : 'gstrtp-enumtypes.h',
30 install_dir : 'include/gstreamer-1.0/gst/rtp/',
31 command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
33 gstrtp_enum_c = custom_target('gstrtp_enum_c',
34 output : 'gstrtp-enumtypes.c',
36 depends : [gstaudio_h, gstrtp_enum_h],
37 command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
39 gstrtp_deps = [audio_dep, gst_base_dep]
40 gst_rtp = library('gstrtp-@0@'.format(api_version),
41 rtp_sources, gstrtp_enum_c, gstrtp_enum_h,
42 c_args : gst_plugins_base_args,
43 include_directories: [configinc, libsinc],
45 soversion : soversion,
47 dependencies : gstrtp_deps,
50 rtp_gen_sources = [gstrtp_enum_h]
52 gst_gir_extra_args = gir_init_section + [ '--c-include=gst/rtp/rtp.h' ]
53 rtp_gen_sources += [gnome.generate_gir(gst_rtp,
54 sources : rtp_sources + rtp_headers + [gstrtp_enum_c] + [gstrtp_enum_h],
56 nsversion : api_version,
57 identifier_prefix : 'Gst',
58 symbol_prefix : 'gst',
59 export_packages : 'gstreamer-rtp-1.0',
60 includes : ['Gst-1.0', 'GstBase-1.0'],
62 extra_args : gst_gir_extra_args,
63 dependencies : gstrtp_deps
68 rtp_dep = declare_dependency(link_with : gst_rtp,
69 include_directories : [libsinc],
70 dependencies : gstrtp_deps,
71 sources : rtp_gen_sources)