mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
Add an explicit harfbuzz dependency
We are using Harfbuzz api in the file chooser, so lets make this official.
This commit is contained in:
parent
b34beb9380
commit
c0747f2c2e
@ -1111,6 +1111,7 @@ gtk_deps = [
|
||||
gobject_dep,
|
||||
platform_gio_dep,
|
||||
pangocairo_dep,
|
||||
harfbuzz_dep,
|
||||
fribidi_dep,
|
||||
cairogobj_dep,
|
||||
fontconfig_dep,
|
||||
|
@ -12,6 +12,7 @@ project('gtk', 'c',
|
||||
|
||||
glib_req = '>= 2.66.0'
|
||||
pango_req = '>= 1.50.0' # keep this in sync with .gitlab-ci/test-msys.sh
|
||||
harfbuzz_req = '>= 2.6.0'
|
||||
fribidi_req = '>= 0.19.7'
|
||||
cairo_req = '>= 1.14.0'
|
||||
gdk_pixbuf_req = '>= 2.30.0'
|
||||
@ -393,6 +394,9 @@ pango_dep = dependency('pango', version: pango_req,
|
||||
fallback : ['pango', 'libpango_dep'])
|
||||
fribidi_dep = dependency('fribidi', version: fribidi_req,
|
||||
fallback : ['fribidi', 'libfribidi_dep'])
|
||||
harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req,
|
||||
fallback: ['harfbuzz', 'libharfbuzz_dep'],
|
||||
default_options: ['coretext=enabled'])
|
||||
|
||||
# Require PangoFT2 if on X11 or wayland
|
||||
require_pangoft2 = wayland_enabled or x11_enabled
|
||||
|
6
subprojects/harfbuzz.wrap
Normal file
6
subprojects/harfbuzz.wrap
Normal file
@ -0,0 +1,6 @@
|
||||
[wrap-git]
|
||||
directory=harfbuzz
|
||||
url=https://github.com/harfbuzz/harfbuzz.git
|
||||
push-url=git@github.com:harfbuzz/harfbuzz.git
|
||||
revision=main
|
||||
depth=1
|
Loading…
Reference in New Issue
Block a user