mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
15 lines
506 B
Meson
15 lines
506 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,
|
|
)
|
|
plugins += [gstcairo]
|
|
endif
|