summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2016-06-01 12:38:11 +0900
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-03 12:39:39 +0200
commite47638f8dca29b0d9b729edbaeaa11a08f9957fa (patch)
tree30b316d2f41c86cfd5b596413efb54ee3c32503c
parent5e230f4b89fecbad9cda8dcd12b21769008de8e2 (diff)
downloadbuildroot-e47638f8dca29b0d9b729edbaeaa11a08f9957fa.tar.gz
buildroot-e47638f8dca29b0d9b729edbaeaa11a08f9957fa.zip
webp: allow to enable demux
Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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