[ci] Don’t build Cairo subproject with FontConfig on win32 cross-build

We don’t need it and it breaks the build because FontConfig renamed its
master branch and the released version of Cairo wants to build
FontConfig from master branch.
This commit is contained in:
Khaled Hosny 2021-06-23 14:53:28 +02:00
parent 0da9158f62
commit 895acdf7c7
1 changed files with 14 additions and 2 deletions

View File

@ -1,8 +1,20 @@
#!/bin/bash #!/bin/bash
set -e set -e
meson --cross-file=.ci/win32-cross-file.txt win32build --wrap-mode=forcefallback -Dtests=disabled \ meson --cross-file=.ci/win32-cross-file.txt \
-Dglib=enabled -Dfreetype=enabled -Dgdi=enabled -Ddirectwrite=enabled -Dcairo=enabled --buildtype=release $@ --wrap-mode=forcefallback \
--buildtype=release \
-Dtests=disabled \
-Dcairo=enabled \
-Dcairo:fontconfig=disabled \
-Dglib=enabled \
-Dfreetype=enabled \
-Dgdi=enabled \
-Ddirectwrite=enabled \
-Dcairo=enabled \
win32build \
$@
ninja -Cwin32build -j3 # building with all the cores won't work fine with CricleCI for some reason ninja -Cwin32build -j3 # building with all the cores won't work fine with CricleCI for some reason
rm -rf win32build/harfbuzz-win32 rm -rf win32build/harfbuzz-win32