build: add dependency on glyphy

This commit is contained in:
Christian Hergert
2022-03-14 14:26:42 -07:00
committed by Matthias Clasen
parent d34035c22c
commit 0c192288cd
3 changed files with 9 additions and 0 deletions

View File

@@ -196,6 +196,7 @@ gsk_deps = [
cairo_csi_dep,
pixbuf_dep,
libgdk_dep,
libglyphy_dep,
]
libgsk_f16c = static_library('gsk_f16c',

View File

@@ -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

5
subprojects/glyphy.wrap Normal file
View File

@@ -0,0 +1,5 @@
[wrap-git]
directory=glyphy
url=https://github.com/behdad/glyphy.git
revision=master
depth=1