2018-07-27 13:29:23 +00:00
|
|
|
pangocairo_dep = dependency('pangocairo', version : '>= 1.22.0',
|
|
|
|
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
|
|
|
]
|
|
|
|
|
2018-05-28 10:09:45 +00:00
|
|
|
if pangocairo_dep.found()
|
|
|
|
gstclosedcaption = library('gstclosedcaption',
|
2018-12-12 12:59:50 +00:00
|
|
|
'gstcccombiner.c', 'gstccextractor.c', 'gstccconverter.c', 'gstclosedcaption.c',
|
2019-02-22 23:23:01 +00:00
|
|
|
'gstline21dec.c', 'gstcea708decoder.c', 'gstceaccoverlay.c', 'gstline21enc.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],
|
2019-02-22 23:23:01 +00:00
|
|
|
dependencies : [gstvideo_dep, gstbase_dep, gst_dep, pangocairo_dep, libm],
|
2018-05-28 10:09:45 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
|
|
|
pkgconfig.generate(gstclosedcaption, install_dir : plugins_pkgconfig_install_dir)
|
2019-05-29 10:28:00 +00:00
|
|
|
plugins += [gstclosedcaption]
|
2018-05-28 10:09:45 +00:00
|
|
|
endif
|