summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2015-12-15 23:40:14 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-17 23:52:55 +0100
commitda02d8fc67d10a1201e341bf552a2f2dbac1c77a (patch)
tree29d6a768440e65acaba98cd40640d8661e37def5
parentc24da887d4ef91bc789d4d2c4a17f31ad7714a03 (diff)
downloadbuildroot-da02d8fc67d10a1201e341bf552a2f2dbac1c77a.tar.gz
buildroot-da02d8fc67d10a1201e341bf552a2f2dbac1c77a.zip
package/efl/libefl: add harfbuzz dependency
Harfbuzz allow to enable complex text shaping and layouting support in efl libraries. Also, it one of the "highly recommended" dependencies according to the README but disabling it doesn't need the --enable-i-really-know-what-i-am-doing... option. That's why harfbuzz is not added to BR2_PACKAGE_LIBEFL_HAS_RECOMMENDED_CONFIG. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/efl/libefl/libefl.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/efl/libefl/libefl.mk b/package/efl/libefl/libefl.mk
index 615968ea4c..184604b221 100644
--- a/package/efl/libefl/libefl.mk
+++ b/package/efl/libefl/libefl.mk
@@ -31,7 +31,6 @@ LIBEFL_GETTEXTIZE = YES
# Configure options:
# --disable-cxx-bindings: disable C++11 bindings.
# --disable-fb: disable frame buffer support.
-# --disable-harfbuzz: disable harfbuzz support.
# --disable-image-loader-jp2k: disable JPEG 2000 support.
# --disable-image-loader-webp: disable webp support.
# --disable-sdl: disable sdl2 support.
@@ -45,7 +44,6 @@ LIBEFL_CONF_OPTS = \
--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
--disable-cxx-bindings \
--disable-fb \
- --disable-harfbuzz \
--disable-image-loader-jp2k \
--disable-image-loader-webp \
--disable-sdl \
@@ -109,6 +107,13 @@ else
LIBEFL_CONF_OPTS += --disable-pulseaudio
endif
+ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
+LIBEFL_DEPENDENCIES += harfbuzz
+LIBEFL_CONF_OPTS += --enable-harfbuzz
+else
+LIBEFL_CONF_OPTS += --disable-harfbuzz
+endif
+
ifeq ($(BR2_PACKAGE_TSLIB),y)
LIBEFL_DEPENDENCIES += tslib
LIBEFL_CONF_OPTS += --enable-tslib
OpenPOWER on IntegriCloud