[simple-scan/wip/cdavis/consistency-updates: 1/2] build: Add libhandy as a subproject




commit 4a718b81dd46184dfab366aeafaeb6ce2a9b1f87
Author: Christopher Davis <brainblasted disroot org>
Date:   Wed Feb 10 17:37:40 2021 -0800

    build: Add libhandy as a subproject
    
    This is required to make the native builds happy,
    as we require libhandy 1.1.0 which no distro ships yet.

 meson.build               | 2 +-
 subprojects/libhandy.wrap | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index fb7507c7..e14e780f 100644
--- a/meson.build
+++ b/meson.build
@@ -23,7 +23,7 @@ glib_dep = dependency ('glib-2.0', version: '>= 2.38')
 gtk_dep = dependency ('gtk+-3.0', version: '>=3.22')
 gmodule_dep = dependency ('gmodule-export-2.0')
 gthread_dep = dependency ('gthread-2.0')
-libhandy_dep = dependency ('libhandy-1', version: '>=1.1.0')
+libhandy_dep = dependency ('libhandy-1', version: '>=1.1.0', fallback: ['libhandy', 'libhandy_dep'])
 zlib_dep = dependency ('zlib')
 cairo_dep = dependency ('cairo')
 gdk_pixbuf_dep = dependency ('gdk-pixbuf-2.0')
diff --git a/subprojects/libhandy.wrap b/subprojects/libhandy.wrap
new file mode 100644
index 00000000..a3806c8d
--- /dev/null
+++ b/subprojects/libhandy.wrap
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=libhandy
+url=https://gitlab.gnome.org/GNOME/libhandy.git
+revision=origin/master


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