2013-08-22 23:32:44 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# harfbuzz
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2013-10-08 08:35:40 +02:00
|
|
|
HARFBUZZ_VERSION = 0.9.22
|
2013-08-22 23:32:44 +02:00
|
|
|
HARFBUZZ_SITE = http://www.freedesktop.org/software/harfbuzz/release/
|
|
|
|
HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.bz2
|
2013-10-08 22:36:48 +02:00
|
|
|
HARFBUZZ_LICENSE = MIT, ISC (ucdn library)
|
|
|
|
HARFBUZZ_LICENSE_FILES = COPYING src/hb-ucdn/COPYING
|
2013-08-22 23:32:44 +02:00
|
|
|
HARFBUZZ_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
HARFBUZZ_CONF_OPT = --without-coretext --without-uniscribe --without-graphite2
|
|
|
|
|
2014-04-07 23:55:20 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
# forgets to link test programs with -pthread breaking static link
|
|
|
|
HARFBUZZ_CONF_ENV = LDFLAGS="$(TARGET_LDFLAGS) -pthread"
|
|
|
|
endif
|
|
|
|
|
2013-08-22 23:32:44 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += cairo
|
|
|
|
HARFBUZZ_CONF_OPT += --with-cairo=yes
|
|
|
|
else
|
|
|
|
HARFBUZZ_CONF_OPT += --with-cairo=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += freetype
|
|
|
|
HARFBUZZ_CONF_OPT += --with-freetype=yes
|
|
|
|
else
|
|
|
|
HARFBUZZ_CONF_OPT += --with-freetype=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += libglib2
|
|
|
|
HARFBUZZ_CONF_OPT += --with-glib=yes
|
|
|
|
else
|
|
|
|
HARFBUZZ_CONF_OPT += --with-glib=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ICU),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += icu
|
|
|
|
HARFBUZZ_CONF_OPT += --with-icu=yes
|
|
|
|
else
|
|
|
|
HARFBUZZ_CONF_OPT += --with-icu=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|