gstreamer/subprojects/gst-plugins-bad/ext/closedcaption/meson.build

26 lines
828 B
Meson
Raw Normal View History

closedcaption_dep = dependency('pangocairo', version : '>= 1.32.6',
required : get_option('closedcaption'))
2018-05-28 10:09:45 +00:00
2018-05-28 13:16:48 +00:00
zvbi_sources = [
'bit_slicer.c',
'decoder.c',
'raw_decoder.c',
'sampling_par.c',
2019-02-21 18:05:03 +00:00
'io-sim.c',
2018-05-28 13:16:48 +00:00
]
if closedcaption_dep.found()
2018-05-28 10:09:45 +00:00
gstclosedcaption = library('gstclosedcaption',
'gstcccombiner.c', 'gstccextractor.c', 'gstccconverter.c', 'gstcea608mux.c', 'gstclosedcaption.c',
'gstline21dec.c', 'gstcea708decoder.c', 'gstceaccoverlay.c', 'gstline21enc.c', 'ccutils.c',
zvbi_sources,
2018-05-28 10:09:45 +00:00
c_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc],
dependencies : [gstvideo_dep, gstbase_dep, gst_dep, closedcaption_dep, libm],
2018-05-28 10:09:45 +00:00
install : true,
install_dir : plugins_install_dir,
)
plugins += [gstclosedcaption]
2018-05-28 10:09:45 +00:00
endif