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.
dnl *** ttml ***
translit(dnm, m, l) AM_CONDITIONAL(USE_TTML, true)
AG_GST_CHECK_FEATURE(TTML, [TTML plugin], ttml, [
- PKG_CHECK_MODULES(TTML, [ libxml-2.0 pango cairo pangocairo ], [
+ PKG_CHECK_MODULES(TTML, [ libxml-2.0 >= 2.9.2 pango cairo pangocairo ], [
HAVE_TTML="yes"
], [
HAVE_TTML="no"
-libxml_dep = dependency('libxml-2.0', required : false)
+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)