summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/webp/Config.in8
-rw-r--r--package/webp/webp.mk4
2 files changed, 12 insertions, 0 deletions
diff --git a/package/webp/Config.in b/package/webp/Config.in
index e385b5ee4f..7c4722fbed 100644
--- a/package/webp/Config.in
+++ b/package/webp/Config.in
@@ -5,3 +5,11 @@ config BR2_PACKAGE_WEBP
compression for images on the web
https://developers.google.com/speed/webp/
+
+config BR2_PACKAGE_WEBP_DEMUX
+ bool "webpdemux"
+ depends on BR2_PACKAGE_WEBP
+ help
+ "Demux" is a part of WebPMux for extraction and manipulation of an
+ extended format WebP file, which can have features like color profile,
+ metadata and animation.
diff --git a/package/webp/webp.mk b/package/webp/webp.mk
index 5f2cab7641..b6090242ba 100644
--- a/package/webp/webp.mk
+++ b/package/webp/webp.mk
@@ -17,6 +17,10 @@ WEBP_CONF_OPTS += \
--with-tiffincludedir=$(STAGING_DIR)/usr/include \
--with-tifflibdir=$(STAGING_DIR)/usr/lib
+ifeq ($(BR2_PACKAGE_WEBP_DEMUX),y)
+WEBP_CONF_OPTS += --enable-libwebpdemux
+endif
+
ifeq ($(BR2_PACKAGE_LIBPNG),y)
WEBP_DEPENDENCIES += libpng
WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config
OpenPOWER on IntegriCloud