summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-06-09 15:46:32 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-06-17 14:06:20 -0400
commitc5481a125eb849f27749e8046470c2650918adc7 (patch)
tree98c04c24e31b03fca617665eaa495d9ed57efc63 /meson.build
parent68d80babce6827682f20516fec50f551dcf1c956 (diff)
downloadgtk+-c5481a125eb849f27749e8046470c2650918adc7.tar.gz
Add libcloudproviders as a fallback subproject
We require a new version of libcloudproviders so that we can enable it in our CI pipeline.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build12
1 files changed, 10 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 9d9e4e37b2..3453551c36 100644
--- a/meson.build
+++ b/meson.build
@@ -37,7 +37,7 @@ wayland_proto_req = '>= 1.20'
wayland_req = '>= 1.14.91'
graphene_req = '>= 1.9.1'
epoxy_req = '>= 1.4'
-cloudproviders_req = '>= 0.2.5'
+cloudproviders_req = '>= 0.3.1'
xkbcommon_req = '>= 0.2.0'
gnome = import('gnome')
@@ -666,7 +666,15 @@ endif
cloudproviders_enabled = get_option('cloudproviders')
if cloudproviders_enabled
- cloudproviders_dep = dependency('cloudproviders', required: true)
+ cloudproviders_dep = dependency('cloudproviders',
+ version: cloudproviders_req,
+ fallback: [
+ 'libcloudproviders',
+ 'libcloudproviders_dep',
+ ],
+ default_options: [
+ 'vapigen=false',
+ ])
if cloudproviders_dep.found()
cdata.set('HAVE_CLOUDPROVIDERS', cloudproviders_dep.found())
else