mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
ttml: Add meson.build
This commit is contained in:
parent
2bcb928e30
commit
8eef23eb38
2 changed files with 21 additions and 0 deletions
|
@ -63,6 +63,7 @@ endif
|
|||
subdir('srtp')
|
||||
#subdir('teletextdec')
|
||||
#subdir('timidity')
|
||||
subdir('ttml')
|
||||
subdir('voaacenc')
|
||||
#subdir('voamrwbenc')
|
||||
subdir('vulkan')
|
||||
|
|
20
ext/ttml/meson.build
Normal file
20
ext/ttml/meson.build
Normal file
|
@ -0,0 +1,20 @@
|
|||
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
|
Loading…
Reference in a new issue