gstreamer/ext/ttml/meson.build
Luis de Bethencourt 81d1b207ad ttml: bump needed libxml2 version
ttml was recently added but it won't compile unless libxml2 version 2.9.2
or later is available. In that version the first parameter of xmlGetProp
switched to being a const. In previous versions the compiler complains
about passing a const value to a non const argument.
2016-11-03 17:44:33 +00:00

20 lines
733 B
Meson

libxml_dep = dependency('libxml-2.0', version : '>= 2.9.2', 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