mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 01:33:47 +00:00
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:
parent
4f7bcf3c1e
commit
e5afe39be4
1 changed files with 11 additions and 1 deletions
12
meson.build
12
meson.build
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue