[gnome-software: 1/6] Add libhandy to dependencies




commit fd6c8e0616c89377366bb9710953cea322743bbc
Author: Julian Sparber <julian sparber net>
Date:   Fri Jan 31 10:37:45 2020 +0100

    Add libhandy to dependencies

 meson.build               | 12 ++++++++++++
 src/meson.build           |  1 +
 subprojects/libhandy.wrap |  4 ++++
 3 files changed, 17 insertions(+)
---
diff --git a/meson.build b/meson.build
index ccbd09bc..9c79f5e5 100644
--- a/meson.build
+++ b/meson.build
@@ -109,6 +109,18 @@ glib = dependency('glib-2.0', version : '>= 2.55.0')
 json_glib = dependency('json-glib-1.0', version : '>= 1.2.0')
 libm = cc.find_library('m', required: false)
 libsoup = dependency('libsoup-2.4', version : '>= 2.52.0')
+libhandy = dependency('libhandy-1',
+  version: '>=0.90.0',
+  fallback: ['libhandy', 'libhandy_dep'],
+  default_options: [
+      'examples=false',
+      'glade_catalog=disabled',
+      'introspection=disabled',
+      'static=true',
+      'tests=false',
+      'vapi=false',
+    ]
+  )
 
 libsysprof_capture_dep = dependency('sysprof-capture-4',
   required: get_option('sysprof'),
diff --git a/src/meson.build b/src/meson.build
index 2f9ff234..43f71293 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -81,6 +81,7 @@ gnome_software_dependencies = [
   libm,
   libsoup,
   libxmlb,
+  libhandy,
 ]
 
 if get_option('packagekit')
diff --git a/subprojects/libhandy.wrap b/subprojects/libhandy.wrap
new file mode 100644
index 00000000..cb6e0318
--- /dev/null
+++ b/subprojects/libhandy.wrap
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=libhandy
+url=https://gitlab.gnome.org/GNOME/libhandy.git
+revision=0.90.0


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