[pango/serializer2] Add a json-glib subproject



commit d5618e5ecf0df967d7a2b27a1b46cf9ea9e0b0f5
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 18 14:06:04 2021 -0500

    Add a json-glib subproject
    
    This is necessary for ci on MacOs to build.

 meson.build                | 3 ++-
 subprojects/json-glib.wrap | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 4acb0654..8681c404 100644
--- a/meson.build
+++ b/meson.build
@@ -252,7 +252,8 @@ fribidi_dep = dependency('fribidi', version: fribidi_req_version,
                          default_options: ['docs=false'])
 pango_deps += fribidi_dep
 
-json_glib_dep = dependency('json-glib-1.0', version: json_glib_version)
+json_glib_dep = dependency('json-glib-1.0', version: json_glib_version,
+                           fallback: ['json-glib', 'json-glib-dep'])
 pango_deps += json_glib_dep
 
 thai_dep = dependency('libthai', version: libthai_req_version, required: get_option('libthai'))
diff --git a/subprojects/json-glib.wrap b/subprojects/json-glib.wrap
new file mode 100644
index 00000000..b815b43b
--- /dev/null
+++ b/subprojects/json-glib.wrap
@@ -0,0 +1,5 @@
+[wrap-git]
+directory=json-glib
+url=https://gitlab.gnome.org/GNOME/json-glib.git
+revision=main
+depth=1


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