1 ################################################################################
5 ################################################################################
7 HARFBUZZ_VERSION
= 1.1.3
8 HARFBUZZ_SITE
= http
://www.freedesktop.org
/software
/harfbuzz
/release
9 HARFBUZZ_SOURCE
= harfbuzz-
$(HARFBUZZ_VERSION
).
tar.bz2
10 HARFBUZZ_LICENSE
= MIT
, ISC
(ucdn library
)
11 HARFBUZZ_LICENSE_FILES
= COPYING src
/hb-ucdn
/COPYING
12 HARFBUZZ_INSTALL_STAGING
= YES
13 HARFBUZZ_CONF_OPTS
= --with-coretext
=no
--with-uniscribe
=no
15 # freetype & glib2 support required by host-pango
16 HOST_HARFBUZZ_DEPENDENCIES
= \
19 HOST_HARFBUZZ_CONF_OPTS
= \
28 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS
),y
)
29 # forgets to link test programs with -pthread breaking static link
30 HARFBUZZ_CONF_ENV
= LDFLAGS
="$(TARGET_LDFLAGS) -pthread"
33 ifeq ($(BR2_PACKAGE_CAIRO
),y
)
34 HARFBUZZ_DEPENDENCIES
+= cairo
35 HARFBUZZ_CONF_OPTS
+= --with-cairo
=yes
37 HARFBUZZ_CONF_OPTS
+= --with-cairo
=no
40 ifeq ($(BR2_PACKAGE_FREETYPE
),y
)
41 HARFBUZZ_DEPENDENCIES
+= freetype
42 HARFBUZZ_CONF_OPTS
+= --with-freetype
=yes
44 HARFBUZZ_CONF_OPTS
+= --with-freetype
=no
47 ifeq ($(BR2_PACKAGE_GRAPHITE2
),y
)
48 HARFBUZZ_DEPENDENCIES
+= graphite2
49 HARFBUZZ_CONF_OPTS
+= --with-graphite2
=yes
51 HARFBUZZ_CONF_OPTS
+= --with-graphite2
=no
54 ifeq ($(BR2_PACKAGE_LIBGLIB2
),y
)
55 HARFBUZZ_DEPENDENCIES
+= libglib2
56 HARFBUZZ_CONF_OPTS
+= --with-glib
=yes
58 HARFBUZZ_CONF_OPTS
+= --with-glib
=no
61 ifeq ($(BR2_PACKAGE_ICU
),y
)
62 HARFBUZZ_DEPENDENCIES
+= icu
63 HARFBUZZ_CONF_OPTS
+= --with-icu
=yes
65 HARFBUZZ_CONF_OPTS
+= --with-icu
=no
68 $(eval
$(autotools-package
))
69 $(eval
$(host-autotools-package
))