forked from mxe/mxe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
harfbuzz.mk
22 lines (20 loc) · 874 Bytes
/
harfbuzz.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := harfbuzz
$(PKG)_WEBSITE := https://wiki.freedesktop.org/www/Software/HarfBuzz/
$(PKG)_DESCR := HarfBuzz
$(PKG)_IGNORE :=
$(PKG)_VERSION := 7.3.0
$(PKG)_CHECKSUM := 20770789749ac9ba846df33983dbda22db836c70d9f5d050cb9aa5347094a8fb
$(PKG)_GH_CONF := harfbuzz/harfbuzz/releases,,,,,.tar.xz
$(PKG)_DEPS := cc meson-wrapper cairo freetype-bootstrap glib icu4c
define $(PKG)_BUILD
'$(MXE_MESON_WRAPPER)' $(MXE_MESON_OPTS) \
-Dtests=disabled \
-Ddocs=disabled \
-Dintrospection=disabled \
'$(BUILD_DIR)' '$(SOURCE_DIR)'
# mman-win32 is only a partial implementation
$(SED) -i '/HAVE_SYS_MMAN_H/d' '$(BUILD_DIR)/config.h'
'$(MXE_NINJA)' -C '$(BUILD_DIR)' -j '$(JOBS)'
'$(MXE_NINJA)' -C '$(BUILD_DIR)' -j '$(JOBS)' install
endef