mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
0b07d970fe
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
23 lines
922 B
Meson
23 lines
922 B
Meson
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'))
|
|
|
|
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',
|
|
'gstttmlplugin.c'],
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstvideo_dep, libxml_dep, pango_dep, cairo_dep, pangocairo_dep, libm],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstttmlsubs, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstttmlsubs]
|
|
endif
|