@@ -65,4 +65,9 @@ config BR2_PACKAGE_LIBEFL_TIFF
help
This enables the loader code that loads tiff files.
+config BR2_PACKAGE_LIBEFL_WEBP
+ bool "libevas webp image loader"
+ help
+ This enables the loader code that loads images using WebP.
+
endif # BR2_PACKAGE_LIBEFL
@@ -195,6 +195,13 @@ else
LIBEFL_CONF_OPTS += --enable-image-loader-tiff=no
endif
+ifeq ($(BR2_PACKAGE_LIBEFL_WEBP),y)
+LIBEFL_CONF_OPTS += --enable-image-loader-webp=yes
+LIBEFL_DEPENDENCIES += webp
+else
+LIBEFL_CONF_OPTS += --enable-image-loader-webp=no
+endif
+
$(eval $(autotools-package))
################################################################################
WebP is a new image format that provides lossless and lossy compression for images on the web. So enabling webp support in efl libraries allow to loads images using WebP. Also, it one of the "highly recommended" dependecies [1] according to the README but disabling it doesn't need the --enable-i-really-know-what-i-am-doing... option. That's why BR2_PACKAGE_LIBEFL_WEBP is not added to BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG. [1] https://git.enlightenment.org/core/efl.git/tree/README?id=v1.15.2#n486 Signed-off-by: Romain Naour <romain.naour@openwide.fr> --- v4: rename to libefl improve commit log --- package/efl/libefl/Config.in | 5 +++++ package/efl/libefl/libefl.mk | 7 +++++++ 2 files changed, 12 insertions(+)