summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-01-03 12:57:35 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-01-03 12:57:35 -0500
commitcc994f939192f4f357a49150164b33023cb920f1 (patch)
tree4c6630f63b5810ef49499a106b729318bff62372
parentfc80a21b8df7e716e1d6d2194701ebc07681e57d (diff)
downloadpango-cc994f939192f4f357a49150164b33023cb920f1.tar.gz
meson: Bump the fontconfig requirements
Keep the autotools and meson builds in sync, as far as requirements are concerned.
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index e3276ad2..9d4a6fe0 100644
--- a/meson.build
+++ b/meson.build
@@ -196,7 +196,7 @@ pango_deps = []
glib_req_version = '>= 2.33.12'
libthai_req_version = '>= 0.1.9'
harfbuzz_req_version = '>= 1.2.3'
-fontconfig_req_version = '>= 2.10.91'
+fontconfig_req_version = '>= 2.11.91'
xft_req_version = '>= 2.0.0'
cairo_req_version = '>= 1.12.10'
@@ -226,6 +226,9 @@ if fontconfig_dep.found()
if cc.has_function('FcWeightFromOpenType', dependencies: fontconfig_dep)
pango_conf.set('HAVE_FCWEIGHTFROMOPENTYPE', 1)
endif
+ if cc.has_function('FcWeightFromOpenTypeDouble', dependencies: fontconfig_dep)
+ pango_conf.set('HAVE_FCWEIGHTFROMOPENTYPEDOUBLE', 1)
+ endif
endif
# The first version of freetype with a pkg-config file is 2.1.5