From c66e2765502031f12be6b8c08b3e3ebce567a299 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 1 Oct 2020 14:45:24 -0400 Subject: [PATCH] pango: Add fallback dependency When we'll depend on Meson >=0.55 this can be replaced by [provide] section in gst-build's pango.wrap file. The dependency variable name can also be dropped when pango is updated to use override_dependency: https://gitlab.gnome.org/GNOME/pango/-/merge_requests/250 Part-of: --- ext/pango/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/pango/meson.build b/ext/pango/meson.build index 418d0b9..edd9694 100644 --- a/ext/pango/meson.build +++ b/ext/pango/meson.build @@ -6,7 +6,9 @@ pango_sources = [ 'gsttimeoverlay.c', ] -pango_dep = dependency('pangocairo', version : '>=1.22.0', required : get_option('pango')) +pango_dep = dependency('pangocairo', version : '>=1.22.0', required : get_option('pango'), + fallback: ['pango', 'libpangocairo_dep'], + default_options: ['cairo=enabled']) if pango_dep.found() gstpango = library('gstpango', -- 2.7.4