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

24 lines
922 B
Meson
Raw Normal View History

libxml_dep = dependency('libxml-2.0', version : '>= 2.9.2', required : get_option('ttml'))
pango_dep = dependency('pango', required : get_option('ttml'))
cairo_dep = dependency('cairo', required : get_option('ttml'))
pangocairo_dep = dependency('pangocairo', required : get_option('ttml'))
2016-11-02 18:14:39 +00:00
if libxml_dep.found() and pango_dep.found() and cairo_dep.found() and pangocairo_dep.found()
gstttmlsubs = library('gstttmlsubs',
['subtitle.c',
'subtitlemeta.c',
'gstttmlparse.c',
'ttmlparse.c',
'gstttmlrender.c',
'gstttmlelement.c',
2016-11-02 18:14:39 +00:00
'gstttmlplugin.c'],
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstvideo_dep, libxml_dep, pango_dep, cairo_dep, pangocairo_dep, libm],
2016-11-02 18:14:39 +00:00
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstttmlsubs, install_dir : plugins_pkgconfig_install_dir)
2018-10-22 09:30:45 +00:00
plugins += [gstttmlsubs]
2016-11-02 18:14:39 +00:00
endif