forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
30 lines (23 loc) · 1.05 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PKG_NAME = harfbuzz
# latest version that can be built with ARMv7 toolchain
PKG_VERS = 3.0.0
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
DEPENDS = cross/freetype cross/glib cross/cairo cross/fontconfig
# Toolchains lacking c++11 compiler ar not supported
# this is the latests version with support for ARMv7L
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS)
HOMEPAGE = https://harfbuzz.github.io/
COMMENT = HarfBuzz is a text shaping library. Using the HarfBuzz library allows programs to convert a sequence of Unicode input into properly formatted and positioned glyph output—for any writing system and language.
LICENSE = Old MIT
GNU_CONFIGURE = 1
CONFIGURE_ARGS = -Dtests=disabled
include ../../mk/spksrc.common.mk
ifeq ($(call version_lt, $(TCVERSION), 7),1)
ADDITIONAL_CFLAGS = -std=c11
endif
# let it find glib-mkenums
ENV += "PATH=$(PATH):$(STAGING_INSTALL_PREFIX)/bin"
include ../../mk/spksrc.cross-meson.mk