2013-08-22 23:32:44 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# harfbuzz
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2013-10-08 08:35:40 +02:00
|
|
|
HARFBUZZ_VERSION = 0.9.22
|
2014-07-31 10:46:58 +02:00
|
|
|
HARFBUZZ_SITE = http://www.freedesktop.org/software/harfbuzz/release
|
2013-08-22 23:32:44 +02:00
|
|
|
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
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS = --without-coretext --without-uniscribe --without-graphite2
|
2013-08-22 23:32:44 +02:00
|
|
|
|
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
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += --with-cairo=yes
|
2013-08-22 23:32:44 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += --with-cairo=no
|
2013-08-22 23:32:44 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += freetype
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += --with-freetype=yes
|
2013-08-22 23:32:44 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += --with-freetype=no
|
2013-08-22 23:32:44 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += libglib2
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += --with-glib=yes
|
2013-08-22 23:32:44 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += --with-glib=no
|
2013-08-22 23:32:44 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ICU),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += icu
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += --with-icu=yes
|
2013-08-22 23:32:44 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += --with-icu=no
|
2013-08-22 23:32:44 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|