This enables the loader code that loads png files using
libpng.
+config BR2_PACKAGE_LIBEFL_JP2K
+ bool "libevas jp2k loader"
+ select BR2_PACKAGE_OPENJPEG
+ help
+ This enables the loader code that loads jp2k files using
+ openjpeg.
+
config BR2_PACKAGE_LIBEFL_JPEG
bool "libevas jpeg loader"
help
# Configure options:
# --disable-cxx-bindings: disable C++11 bindings.
-# --disable-image-loader-jp2k: disable JPEG 2000 support.
# --disable-sdl: disable sdl2 support.
# --disable-systemd: disable systemd support.
# --enable-lua-old: disable Elua and remove luajit dependency.
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
--disable-cxx-bindings \
- --disable-image-loader-jp2k \
--disable-sdl \
--disable-systemd \
--enable-lua-old \
LIBEFL_CONF_OPTS += --disable-image-loader-tiff
endif
+ifeq ($(BR2_PACKAGE_LIBEFL_JP2K),y)
+LIBEFL_CONF_OPTS += --enable-image-loader-jp2k=yes
+LIBEFL_DEPENDENCIES += openjpeg
+else
+LIBEFL_CONF_OPTS += --disable-image-loader-jp2k
+endif
+
ifeq ($(BR2_PACKAGE_LIBEFL_WEBP),y)
LIBEFL_CONF_OPTS += --enable-image-loader-webp=yes
LIBEFL_DEPENDENCIES += webp