mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
meson: Build cairo subproject when unavailable on the system
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/952 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1523>
This commit is contained in:
parent
8983696e39
commit
23cc02d7c3
2 changed files with 6 additions and 1 deletions
|
@ -3,3 +3,7 @@ directory=cairo
|
|||
url=https://gitlab.freedesktop.org/cairo/cairo.git
|
||||
depth=1
|
||||
revision=a04786b9330109ce54bf7f65c7068281419cec6a
|
||||
|
||||
[provide]
|
||||
cairo = libcairo_dep
|
||||
cairo-gobject = libcairogobject_dep
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
cairo_dep = dependency('cairo-gobject', version : '>=1.10.0', required : get_option('cairo'))
|
||||
cairo_dep = dependency('cairo-gobject', version : '>=1.10.0', required : get_option('cairo'),
|
||||
default_options: ['glib=enabled'])
|
||||
|
||||
if cairo_dep.found()
|
||||
gstcairo = library('gstcairo',
|
||||
|
|
Loading…
Reference in a new issue