8368f4450c3f7281fbe334a2b10efba8d0ca2172
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-base / ext / pango / meson.build
1 pango_sources = [
2   'gstpangoelement.c',
3   'gstpangoplugin.c',
4   'gstbasetextoverlay.c',
5   'gstclockoverlay.c',
6   'gsttextoverlay.c',
7   'gsttextrender.c',
8   'gsttimeoverlay.c',
9 ]
10
11 pango_dep = dependency('pangocairo', version : '>=1.22.0', required : get_option('pango'),
12   fallback: ['pango', 'libpangocairo_dep'],
13   default_options: ['cairo=enabled'])
14
15 if pango_dep.found()
16   gstpango = library('gstpango',
17     pango_sources,
18     c_args : gst_plugins_base_args,
19     link_args : noseh_link_args,
20     include_directories: [configinc, libsinc],
21     dependencies : glib_deps + [pango_dep, video_dep, gst_dep, gst_base_dep, libm],
22     install : true,
23     install_dir : plugins_install_dir,
24   )
25   pkgconfig.generate(gstpango, install_dir : plugins_pkgconfig_install_dir)
26   plugins += [gstpango]
27 endif