mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +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,
|
gobject_dep,
|
||||||
platform_gio_dep,
|
platform_gio_dep,
|
||||||
pangocairo_dep,
|
pangocairo_dep,
|
||||||
|
harfbuzz_dep,
|
||||||
fribidi_dep,
|
fribidi_dep,
|
||||||
cairogobj_dep,
|
cairogobj_dep,
|
||||||
fontconfig_dep,
|
fontconfig_dep,
|
||||||
|
@ -12,6 +12,7 @@ project('gtk', 'c',
|
|||||||
|
|
||||||
glib_req = '>= 2.66.0'
|
glib_req = '>= 2.66.0'
|
||||||
pango_req = '>= 1.50.0' # keep this in sync with .gitlab-ci/test-msys.sh
|
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'
|
fribidi_req = '>= 0.19.7'
|
||||||
cairo_req = '>= 1.14.0'
|
cairo_req = '>= 1.14.0'
|
||||||
gdk_pixbuf_req = '>= 2.30.0'
|
gdk_pixbuf_req = '>= 2.30.0'
|
||||||
@ -393,6 +394,9 @@ pango_dep = dependency('pango', version: pango_req,
|
|||||||
fallback : ['pango', 'libpango_dep'])
|
fallback : ['pango', 'libpango_dep'])
|
||||||
fribidi_dep = dependency('fribidi', version: fribidi_req,
|
fribidi_dep = dependency('fribidi', version: fribidi_req,
|
||||||
fallback : ['fribidi', 'libfribidi_dep'])
|
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 if on X11 or wayland
|
||||||
require_pangoft2 = wayland_enabled or x11_enabled
|
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