summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2017-04-14 23:14:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-15 10:43:20 +0200
commitfcc8e762417ab80a7e837c7014a230bc40c1fbf9 (patch)
treed64a19f106ed581f36a579e629b4feb045652e4d
parent7a7b184c6bf0a5134498960d1bf61f80b805ceb8 (diff)
downloadbuildroot-fcc8e762417ab80a7e837c7014a230bc40c1fbf9.tar.gz
buildroot-fcc8e762417ab80a7e837c7014a230bc40c1fbf9.zip
package/efl: add poppler imageloader optional dependency
Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/efl/efl.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/efl/efl.mk b/package/efl/efl.mk
index c71c084985..4008d30a86 100644
--- a/package/efl/efl.mk
+++ b/package/efl/efl.mk
@@ -24,7 +24,6 @@ EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
# Configure options:
# --disable-lua-old: build elua for the target.
-# --disable-poppler: disable poppler image loader.
# --disable-sdl: disable sdl2 support.
# --disable-spectre: disable spectre image loader.
# --disable-xinput22: disable X11 XInput v2.2+ support.
@@ -43,7 +42,6 @@ EFL_CONF_OPTS = \
--disable-image-loader-jp2k \
--with-net-control=none \
--disable-lua-old \
- --disable-poppler \
--disable-sdl \
--disable-spectre \
--disable-xinput22 \
@@ -262,6 +260,13 @@ else
EFL_CONF_OPTS += --disable-image-loader-webp
endif
+ifeq ($(BR2_PACKAGE_POPPLER),y)
+EFL_DEPENDENCIES += poppler
+EFL_CONF_OPTS += --enable-poppler
+else
+EFL_CONF_OPTS += --disable-poppler
+endif
+
ifeq ($(BR2_PACKAGE_EFL_LIBRAW),y)
EFL_DEPENDENCIES += libraw
EFL_CONF_OPTS += --enable-libraw
OpenPOWER on IntegriCloud