build: Add a dependency on glyphy
We have a subproject, and we link statically if we can, to avoid depending on a project that is not generally packaged in distros.
This commit is contained in:
@@ -194,6 +194,7 @@ gsk_deps = [
|
|||||||
cairo_csi_dep,
|
cairo_csi_dep,
|
||||||
pixbuf_dep,
|
pixbuf_dep,
|
||||||
libgdk_dep,
|
libgdk_dep,
|
||||||
|
libglyphy_dep
|
||||||
]
|
]
|
||||||
|
|
||||||
libgsk_f16c = static_library('gsk_f16c',
|
libgsk_f16c = static_library('gsk_f16c',
|
||||||
|
|||||||
@@ -1015,6 +1015,7 @@ gtk_deps = [
|
|||||||
epoxy_dep,
|
epoxy_dep,
|
||||||
libm,
|
libm,
|
||||||
graphene_dep,
|
graphene_dep,
|
||||||
|
libglyphy_dep,
|
||||||
]
|
]
|
||||||
|
|
||||||
if x11_enabled
|
if x11_enabled
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ epoxy_req = '>= 1.4'
|
|||||||
cloudproviders_req = '>= 0.3.1'
|
cloudproviders_req = '>= 0.3.1'
|
||||||
xkbcommon_req = '>= 0.2.0'
|
xkbcommon_req = '>= 0.2.0'
|
||||||
sysprof_req = '>= 3.38.0'
|
sysprof_req = '>= 3.38.0'
|
||||||
|
libglyphy_req = '>= 0.2.0'
|
||||||
|
|
||||||
fs = import('fs')
|
fs = import('fs')
|
||||||
gnome = import('gnome')
|
gnome = import('gnome')
|
||||||
@@ -378,6 +379,9 @@ fribidi_dep = dependency('fribidi', version: fribidi_req,
|
|||||||
default_options: ['docs=false'])
|
default_options: ['docs=false'])
|
||||||
harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req,
|
harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req,
|
||||||
default_options: ['coretext=enabled'])
|
default_options: ['coretext=enabled'])
|
||||||
|
libglyphy_dep = dependency('glyphy', version: libglyphy_req,
|
||||||
|
default_options: ['default_library=static', 'demo=disabled'],
|
||||||
|
fallback : ['glyphy', 'libglyphy_dep'])
|
||||||
|
|
||||||
# Require PangoFT2 if on X11 or wayland
|
# Require PangoFT2 if on X11 or wayland
|
||||||
pangoft_dep = dependency('pangoft2', version: pango_req,
|
pangoft_dep = dependency('pangoft2', version: pango_req,
|
||||||
|
|||||||
6
subprojects/glyphy.wrap
Normal file
6
subprojects/glyphy.wrap
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[wrap-git]
|
||||||
|
directory=glyphy
|
||||||
|
url=https://github.com/behdad/glyphy.git
|
||||||
|
revision=master
|
||||||
|
depth=1
|
||||||
|
|
||||||
Reference in New Issue
Block a user