2016-08-12 15:26:31 +00:00
|
|
|
pango_sources = [
|
|
|
|
'gstbasetextoverlay.c',
|
|
|
|
'gstclockoverlay.c',
|
|
|
|
'gsttextoverlay.c',
|
|
|
|
'gsttextrender.c',
|
|
|
|
'gsttimeoverlay.c',
|
|
|
|
]
|
|
|
|
|
2020-10-01 18:45:24 +00:00
|
|
|
pango_dep = dependency('pangocairo', version : '>=1.22.0', required : get_option('pango'),
|
|
|
|
fallback: ['pango', 'libpangocairo_dep'],
|
|
|
|
default_options: ['cairo=enabled'])
|
2016-08-12 15:26:31 +00:00
|
|
|
|
|
|
|
if pango_dep.found()
|
|
|
|
gstpango = library('gstpango',
|
|
|
|
pango_sources,
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
|
|
|
dependencies : glib_deps + [pango_dep, video_dep, gst_dep, gst_base_dep, libm],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:57 +00:00
|
|
|
pkgconfig.generate(gstpango, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 06:17:24 +00:00
|
|
|
plugins += [gstpango]
|
2016-08-12 15:26:31 +00:00
|
|
|
endif
|