mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
rsvg: Add direct dependency on cairo
We include cairo.h in the element so we should also declare it in meson. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6306>
This commit is contained in:
parent
2e1eaaec5e
commit
95bafc4934
1 changed files with 3 additions and 2 deletions
|
@ -4,14 +4,15 @@ rsvg_sources = [
|
|||
'gstrsvgoverlay.c',
|
||||
]
|
||||
|
||||
cairo_dep = dependency('cairo', version: '>= 1.16.0', allow_fallback: true, required : get_option('rsvg'))
|
||||
rsvg_dep = dependency('librsvg-2.0', version : '>= 2.36.2', required : get_option('rsvg'))
|
||||
if rsvg_dep.found()
|
||||
if cairo_dep.found() and rsvg_dep.found()
|
||||
gstrsvg = library('gstrsvg',
|
||||
rsvg_sources,
|
||||
c_args : gst_plugins_bad_args,
|
||||
link_args : noseh_link_args,
|
||||
include_directories : [configinc],
|
||||
dependencies : [gstvideo_dep, rsvg_dep],
|
||||
dependencies : [gstvideo_dep, cairo_dep, rsvg_dep],
|
||||
install : true,
|
||||
install_dir : plugins_install_dir,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue