[gtk/glyphy2: 20/34] build: add dependency on glyphy




commit 00ae7aded7fbedbc06b662f1211adc88acf9e16b
Author: Christian Hergert <chergert redhat com>
Date:   Mon Mar 14 14:26:42 2022 -0700

    build: add dependency on glyphy

 gsk/meson.build         | 1 +
 meson.build             | 3 +++
 subprojects/glyphy.wrap | 5 +++++
 3 files changed, 9 insertions(+)
---
diff --git a/gsk/meson.build b/gsk/meson.build
index 2eaf1c1807..2e77665dc4 100644
--- a/gsk/meson.build
+++ b/gsk/meson.build
@@ -196,6 +196,7 @@ gsk_deps = [
   cairo_csi_dep,
   pixbuf_dep,
   libgdk_dep,
+  libglyphy_dep,
 ]
 
 libgsk_f16c = static_library('gsk_f16c',
diff --git a/meson.build b/meson.build
index deec763780..e6e3e1be0f 100644
--- a/meson.build
+++ b/meson.build
@@ -23,6 +23,7 @@ epoxy_req          = '>= 1.4'
 cloudproviders_req = '>= 0.3.1'
 xkbcommon_req      = '>= 0.2.0'
 sysprof_req        = '>= 3.38.0'
+libglyphy_req      = '>= 0.2.0'
 
 fs = import('fs')
 gnome = import('gnome')
@@ -392,6 +393,8 @@ pango_dep      = dependency('pango', version: pango_req,
                             fallback : ['pango', 'libpango_dep'])
 fribidi_dep    = dependency('fribidi', version: fribidi_req,
                             fallback : ['fribidi', 'libfribidi_dep'])
+libglyphy_dep  = dependency('glyphy', version: libglyphy_req,
+                             fallback : ['glyphy', 'libglyphy_dep'])
 
 # Require PangoFT2 if on X11 or wayland
 require_pangoft2 = wayland_enabled or x11_enabled
diff --git a/subprojects/glyphy.wrap b/subprojects/glyphy.wrap
new file mode 100644
index 0000000000..4e9adb3b03
--- /dev/null
+++ b/subprojects/glyphy.wrap
@@ -0,0 +1,5 @@
+[wrap-git]
+directory=glyphy
+url=https://github.com/behdad/glyphy.git
+revision=master
+depth=1


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