forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
29 lines (23 loc) · 810 Bytes
/
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
PKG_NAME = libraqm
PKG_VERS = 0.7.0
PKG_EXT = tar.gz
PKG_DIST_NAME = raqm-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/HOST-Oman/libraqm/releases/download/v$(PKG_VERS)
PKG_DIR = raqm-$(PKG_VERS)
DEPENDS = cross/freetype cross/fribidi
OPTIONAL_DEPENDS = cross/harfbuzz cross/harfbuzz_3
# harfbuzz
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS)
include ../../mk/spksrc.archs.mk
ifeq ($(findstring $(ARCH),$(ARMv7L_ARCHS)),$(ARCH))
DEPENDS += cross/harfbuzz_3
else
DEPENDS += cross/harfbuzz
endif
HOMEPAGE = https://host-oman.github.io/libraqm/
COMMENT = Raqm is a small library that encapsulates the logic for complex text layout and provides a convenient API.
LICENSE = MIT
GNU_CONFIGURE = 1
CONFIGURE_ARGS = --disable-static
ADDITIONAL_CFLAGS = -O
include ../../mk/spksrc.cross-cc.mk