forked from AuroraMiddleware/gtk
Add libcloudproviders as a fallback subproject
We require a new version of libcloudproviders so that we can enable it in our CI pipeline.
This commit is contained in:
parent
68d80babce
commit
c5481a125e
12
meson.build
12
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
|
||||
|
4
subprojects/libcloudproviders.wrap
Normal file
4
subprojects/libcloudproviders.wrap
Normal file
@ -0,0 +1,4 @@
|
||||
[wrap-git]
|
||||
directory=libcloudproviders
|
||||
url=https://gitlab.gnome.org/World/libcloudproviders.git
|
||||
revision=master
|
Loading…
Reference in New Issue
Block a user