cf845faac0
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Thomas: - drop patch 0001-pool-Fix-alignment-assertion.patch, which is in upstream commit aade9b70aabd8a97dd8a28cda2cf4d0694dd7350, available since version 2.6.0 - further bump to 2.6.4] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
70 lines
1.7 KiB
Makefile
70 lines
1.7 KiB
Makefile
################################################################################
|
|
#
|
|
# harfbuzz
|
|
#
|
|
################################################################################
|
|
|
|
HARFBUZZ_VERSION = 2.6.4
|
|
HARFBUZZ_SITE = https://www.freedesktop.org/software/harfbuzz/release
|
|
HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz
|
|
HARFBUZZ_LICENSE = MIT, ISC (ucdn library)
|
|
HARFBUZZ_LICENSE_FILES = COPYING
|
|
HARFBUZZ_INSTALL_STAGING = YES
|
|
HARFBUZZ_CONF_OPTS = --with-coretext=no --with-uniscribe=no
|
|
|
|
# freetype & glib2 support required by host-pango
|
|
HOST_HARFBUZZ_DEPENDENCIES = \
|
|
host-freetype \
|
|
host-libglib2
|
|
HOST_HARFBUZZ_CONF_OPTS = \
|
|
--with-coretext=no \
|
|
--with-uniscribe=no \
|
|
--with-graphite2=no \
|
|
--with-cairo=no \
|
|
--with-icu=no \
|
|
--with-freetype=yes \
|
|
--with-glib=yes
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
# forgets to link test programs with -pthread breaking static link
|
|
HARFBUZZ_CONF_ENV = LDFLAGS="$(TARGET_LDFLAGS) -pthread"
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
|
HARFBUZZ_DEPENDENCIES += cairo
|
|
HARFBUZZ_CONF_OPTS += --with-cairo=yes
|
|
else
|
|
HARFBUZZ_CONF_OPTS += --with-cairo=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
|
HARFBUZZ_DEPENDENCIES += freetype
|
|
HARFBUZZ_CONF_OPTS += --with-freetype=yes
|
|
else
|
|
HARFBUZZ_CONF_OPTS += --with-freetype=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GRAPHITE2),y)
|
|
HARFBUZZ_DEPENDENCIES += graphite2
|
|
HARFBUZZ_CONF_OPTS += --with-graphite2=yes
|
|
else
|
|
HARFBUZZ_CONF_OPTS += --with-graphite2=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
HARFBUZZ_DEPENDENCIES += libglib2
|
|
HARFBUZZ_CONF_OPTS += --with-glib=yes
|
|
else
|
|
HARFBUZZ_CONF_OPTS += --with-glib=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ICU),y)
|
|
HARFBUZZ_DEPENDENCIES += icu
|
|
HARFBUZZ_CONF_OPTS += --with-icu=yes
|
|
else
|
|
HARFBUZZ_CONF_OPTS += --with-icu=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|