# 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.
--disable-image-loader-jp2k \
--with-net-control=none \
--disable-lua-old \
- --disable-poppler \
--disable-sdl \
--disable-spectre \
--disable-xinput22 \
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