Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/harfbuzz/.ci/build-win32.sh @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 1 #!/bin/bash | |
| 2 set -e | |
| 3 | |
| 4 meson --cross-file=.ci/win32-cross-file.txt \ | |
| 5 --wrap-mode=forcefallback \ | |
| 6 -Dtests=disabled \ | |
| 7 -Dcairo=enabled \ | |
| 8 -Dcairo:fontconfig=disabled \ | |
| 9 -Dcairo:freetype=disabled \ | |
| 10 -Dglib=enabled \ | |
| 11 -Dfreetype=disabled \ | |
| 12 -Dgdi=enabled \ | |
| 13 -Ddirectwrite=enabled \ | |
| 14 -Dcairo=enabled \ | |
| 15 win32build \ | |
| 16 $@ | |
| 17 | |
| 18 ninja -Cwin32build -j3 # building with all the cores won't work fine with CricleCI for some reason | |
| 19 | |
| 20 rm -rf win32build/harfbuzz-win32 | |
| 21 mkdir win32build/harfbuzz-win32 | |
| 22 cp win32build/util/hb-*.exe win32build/harfbuzz-win32 | |
| 23 find win32build -name '*.dll' -exec cp {} win32build/harfbuzz-win32 \; | |
| 24 i686-w64-mingw32-strip win32build/harfbuzz-win32/*.{dll,exe} | |
| 25 rm -f harfbuzz-win32.zip | |
| 26 (cd win32build && zip -r ../harfbuzz-win32.zip harfbuzz-win32) | |
| 27 echo "harfbuzz-win32.zip is ready." |
