summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-11-15 17:29:06 +0100
committersfan5 <sfan5@live.de>2020-11-15 17:32:03 +0100
commitcc25137eaec92bcbe6c20632c644bfa9a2369a6a (patch)
treed48fa8776bd52ce9f99add959d3534fdf7568dd5
parentf85de9e6d6d2785b0a40af052d245e07e2ae14c5 (diff)
downloadmpv-cc25137eaec92bcbe6c20632c644bfa9a2369a6a.tar.bz2
mpv-cc25137eaec92bcbe6c20632c644bfa9a2369a6a.tar.xz
ci: fix mingw build by adding harfbuzz
-rwxr-xr-xci/build-mingw64.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/ci/build-mingw64.sh b/ci/build-mingw64.sh
index 77a7c99cbb..574c5c3fd8 100755
--- a/ci/build-mingw64.sh
+++ b/ci/build-mingw64.sh
@@ -119,6 +119,17 @@ if [ ! -e "$prefix_dir/lib/libfribidi.dll.a" ]; then
popd
fi
+## harfbuzz
+if [ ! -e "$prefix_dir/lib/libharfbuzz.dll.a" ]; then
+ ver=2.7.2
+ gettar "https://github.com/harfbuzz/harfbuzz/releases/download/${ver}/harfbuzz-${ver}.tar.xz"
+ builddir harfbuzz-${ver}
+ ../configure --host=$TARGET $commonflags --with-icu=no
+ makeplusinstall
+ popd
+ rm "$prefix_dir"/lib/*.la # fuck off
+fi
+
## libass
if [ ! -e "$prefix_dir/lib/libass.dll.a" ]; then
[ -d libass ] || $gitclone https://github.com/libass/libass.git