Skip to content

Commit da29b3f

Browse files
authored
Revert workaround in harfbuzz port (#18822)
The issue that required this change has been fixed. See emscripten-core/emsdk#982
1 parent fab93a2 commit da29b3f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tools/ports/harfbuzz.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import logging
88

99
VERSION = '3.2.0'
10-
HASH = '2e5ab5ad83a0d8801abd3f82a276f776a0ad330edc0ab843f879dd7ad3fd2e0dc0e9a3efbb6c5f2e67d14c0e37f0d9abdb40c5e25d8231a357c0025669f219c3'
10+
HASH = 'c9d88068d8017046842f444f02f31dbae109026ede943aaf265db5508de8b4b2be84203950f274a237f515bf7cbd361629d2032c6e8ee8f50354b430bba3a8ca'
1111

1212
deps = ['freetype']
1313
variants = {'harfbuzz-mt': {'PTHREADS': 1}}
@@ -80,10 +80,7 @@ def get_lib_name(settings):
8080

8181

8282
def get(ports, settings, shared):
83-
# Harfbuzz only published `.xz` packages, but not all python builds support
84-
# unpacking lzma archives, so we mirror a `.gz` version:
85-
# See https://github.com/emscripten-core/emsdk/issues/982
86-
ports.fetch_project('harfbuzz', f'https://storage.googleapis.com/webassembly/emscripten-ports/harfbuzz-{VERSION}.tar.gz', sha512hash=HASH)
83+
ports.fetch_project('harfbuzz', f'https://github.com/harfbuzz/harfbuzz/releases/download/{VERSION}/harfbuzz-{VERSION}.tar.xz', sha512hash=HASH)
8784

8885
def create(final):
8986
logging.info('building port: harfbuzz')

0 commit comments

Comments
 (0)