[gnome-system-monitor/wip/cdavis/dark-style-preference] build: Use libhandy subproject as a fallback



commit 8fcd95f855f3af427cd30909028e406102b791b7
Author: Christopher Davis <christopherdavis gnome org>
Date:   Sat Dec 11 13:36:14 2021 -0800

    build: Use libhandy subproject as a fallback

 meson.build               | 2 +-
 subprojects/libhandy.wrap | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 8447800a..750c9e7d 100644
--- a/meson.build
+++ b/meson.build
@@ -48,7 +48,7 @@ gtk3    = dependency('gtk+-3.0',    version: '>=3.22.0')
 gtkmm   = dependency('gtkmm-3.0',   version: '>=3.3.18')
 atkmm   = dependency('atkmm-1.6',   version: '>=2.28')
 libgtop = dependency('libgtop-2.0', version: '>=2.37.0')
-libhandy = dependency('libhandy-1',  version: '>=1.5.0')
+libhandy = dependency('libhandy-1', version: '>= 1.5.0', fallback: ['handy', 'libhandy_dep'])
 librsvg = dependency('librsvg-2.0', version: '>=2.35')
 libxml  = dependency('libxml-2.0',  version: '>=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]