meson: skia: Add harfbuzz, freetype and fontconfig as dependencies

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/692

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2300>
This commit is contained in:
Thibault Saunier 2025-06-16 12:45:13 -04:00 committed by GStreamer Marge Bot
parent 4f7bcf3c1e
commit e5afe39be4

View file

@ -352,8 +352,18 @@ else
endif endif
if get_option('skia').allowed() if get_option('skia').allowed()
# Add harfbuzz and freetype dependencies for skia plugin on Linux
if host_system == 'linux'
skia_extra_deps = {'harfbuzz': [], 'freetype2': [], 'fontconfig': []}
else
skia_extra_deps = {}
endif
plugins += { plugins += {
'skia': {'library': 'libgstskia'}, 'skia': {
'library': 'libgstskia',
'extra-deps': skia_extra_deps,
},
} }
endif endif