comparison mupdf-source/thirdparty/harfbuzz/.ci/build-win32.sh @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
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."