From 16dc8f8442352f0531902b8556a477bf186c0343 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Fri, 14 Jan 2022 11:26:42 +0100 Subject: [PATCH] wpe: Support wpe-webkit-1.1 Part-of: --- subprojects/gst-plugins-bad/ext/wpe/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/wpe/meson.build b/subprojects/gst-plugins-bad/ext/wpe/meson.build index fb6048eb90..7637cb29f3 100644 --- a/subprojects/gst-plugins-bad/ext/wpe/meson.build +++ b/subprojects/gst-plugins-bad/ext/wpe/meson.build @@ -6,7 +6,10 @@ if not gstgl_dep.found() subdir_done() endif -wpe_dep = dependency('wpe-webkit-1.0', version : '>= 2.28', required : get_option('wpe')) +wpe_dep = dependency('wpe-webkit-1.1', version : '>= 2.28', required : false) +if not wpe_dep.found() + wpe_dep = dependency('wpe-webkit-1.0', version : '>= 2.28', required : get_option('wpe')) +endif wpe_fdo_dep = dependency('wpebackend-fdo-1.0', version : '>= 1.8', required : get_option('wpe')) egl_dep = dependency('egl', required : get_option('wpe')) xkbcommon_dep = dependency('xkbcommon', version : '>= 0.8', required : get_option('wpe'))