mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
23cc02d7c3
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/952 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1523>
16 lines
582 B
Meson
16 lines
582 B
Meson
cairo_dep = dependency('cairo-gobject', version : '>=1.10.0', required : get_option('cairo'),
|
|
default_options: ['glib=enabled'])
|
|
|
|
if cairo_dep.found()
|
|
gstcairo = library('gstcairo',
|
|
'gstcairo.c', 'gstcairooverlay.c',
|
|
c_args : gst_plugins_good_args,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstbase_dep, gstvideo_dep, cairo_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstcairo, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstcairo]
|
|
endif
|