comparison mupdf-source/thirdparty/harfbuzz/.ci/build-win64.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/win64-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 win64build \
16 $@
17
18 ninja -Cwin64build -j3 # building with all the cores won't work fine with CricleCI for some reason
19
20 rm -rf win64build/harfbuzz-win64
21 mkdir win64build/harfbuzz-win64
22 cp win64build/util/hb-*.exe win64build/harfbuzz-win64
23 find win64build -name '*.dll' -exec cp {} win64build/harfbuzz-win64 \;
24 x86_64-w64-mingw32-strip win64build/harfbuzz-win64/*.{dll,exe}
25 rm -f harfbuzz-win64.zip
26 (cd win64build && zip -r ../harfbuzz-win64.zip harfbuzz-win64)
27 echo "harfbuzz-win64.zip is ready."