[meson] Update cairo subproject

Update to the current master branch so that is has
cairo_user_font_face_set_render_color_glyph_func().

I had to disable optimized builds on win[32|64] crossbuild setups
because they are now broken in the CI (something about cairo defining
_FORTIFY_SOURCE for optimized builds that MingW does not like).
pull/3411/head
Khaled Hosny 3 years ago committed by Behdad Esfahbod
parent 628847b5c8
commit 74ebfc646a
  1. 1
      .ci/build-win32.sh
  2. 1
      .ci/build-win64.sh
  3. 3
      meson.build
  4. 2
      subprojects/cairo.wrap

@ -3,7 +3,6 @@ set -e
meson --cross-file=.ci/win32-cross-file.txt \
--wrap-mode=forcefallback \
--buildtype=release \
-Dtests=disabled \
-Dcairo=enabled \
-Dcairo:fontconfig=disabled \

@ -3,7 +3,6 @@ set -e
meson --cross-file=.ci/win64-cross-file.txt \
--wrap-mode=forcefallback \
--buildtype=release \
-Dtests=disabled \
-Dcairo=enabled \
-Dcairo:fontconfig=disabled \

@ -187,8 +187,7 @@ endif
if cairo_dep.found()
conf.set('HAVE_CAIRO', 1)
if cairo_dep.type_name() == 'internal'
# FIXME: uncomment this when we update Ciaro subproject
#conf.set('HAVE_CAIRO_USER_FONT_FACE_SET_RENDER_COLOR_GLYPH_FUNC', 1)
conf.set('HAVE_CAIRO_USER_FONT_FACE_SET_RENDER_COLOR_GLYPH_FUNC', 1)
else
check_funcs += [['cairo_user_font_face_set_render_color_glyph_func', {'deps': cairo_dep}]]
endif

@ -2,7 +2,7 @@
directory=cairo
url=https://gitlab.freedesktop.org/cairo/cairo.git
depth=1
revision=1.17.4
revision=fb3734fac0b41eb370911b04cbfa6604a99e6bf7
[provide]
dependency_names = cairo, cairo-ft

Loading…
Cancel
Save