gstreamer/ext/ttml/meson.build
2016-11-02 20:14:39 +02:00

20 lines
711 B
Meson

libxml_dep = dependency('libxml-2.0', required : false)
pango_dep = dependency('pango', required : false)
cairo_dep = dependency('cairo', required : false)
pangocairo_dep = dependency('pangocairo', required : false)
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',
'gstttmlplugin.c'],
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstvideo_dep, libxml_dep, pango_dep, cairo_dep, pangocairo_dep],
install : true,
install_dir : plugins_install_dir,
)
endif