aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# harfbuzz
|
|
#
|
|
################################################################################
|
|
|
|
HARFBUZZ_VERSION = 0.9.22
|
|
HARFBUZZ_SITE = http://www.freedesktop.org/software/harfbuzz/release
|
|
HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.bz2
|
|
HARFBUZZ_LICENSE = MIT, ISC (ucdn library)
|
|
HARFBUZZ_LICENSE_FILES = COPYING src/hb-ucdn/COPYING
|
|
HARFBUZZ_INSTALL_STAGING = YES
|
|
|
|
HARFBUZZ_CONF_OPTS = --without-coretext --without-uniscribe --without-graphite2
|
|
|
|
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_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))
|