[gnome-initial-setup/jjardon/webkit2gtk-4.1] Add librest subproject




commit 2bf85be0b6f14ee17a2fc966a796786f6aff957d
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Fri Jun 17 13:22:07 2022 -0500

    Add librest subproject
    
    This is a workaround for it not being available on Fedora CI

 gnome-initial-setup/meson.build | 2 +-
 subprojects/librest.wrap        | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gnome-initial-setup/meson.build b/gnome-initial-setup/meson.build
index 0b6bcbd3..63879290 100644
--- a/gnome-initial-setup/meson.build
+++ b/gnome-initial-setup/meson.build
@@ -73,7 +73,7 @@ dependencies = [
     dependency ('libhandy-1', version: '>= 1.5.90', fallback: ['libhandy', 'libhandy_dep']),
     cc.find_library('m', required: false),
     dependency ('pango', version: '>= 1.32.5'),
-    dependency ('rest-1.0'),
+    dependency ('rest-1.0', fallback: ['librest', 'librest_dep']),
     dependency ('json-glib-1.0'),
     dependency ('krb5'),
     dependency ('libsecret-1', version: '>= 0.18.8'),
diff --git a/subprojects/librest.wrap b/subprojects/librest.wrap
new file mode 100644
index 00000000..1824c4a0
--- /dev/null
+++ b/subprojects/librest.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://gitlab.gnome.org/GNOME/librest.git
+revision = main


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]