[pango] meson: Bump the fontconfig requirements



commit cc994f939192f4f357a49150164b33023cb920f1
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 3 12:57:35 2018 -0500

    meson: Bump the fontconfig requirements
    
    Keep the autotools and meson builds in sync, as far
    as requirements are concerned.

 meson.build |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index e3276ad..9d4a6fe 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]