webp: allow to enable demux
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Wed, 1 Jun 2016 03:38:11 +0000 (12:38 +0900)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 3 Jun 2016 10:39:39 +0000 (12:39 +0200)
Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/webp/Config.in
package/webp/webp.mk

index e385b5ee4f102a76fda3d3d0fb8d2b928b2519e3..7c4722fbed367ca599267443456ea8d1838e73eb 100644 (file)
@@ -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.
index 5f2cab7641fbd7ad1095c122f50aa030e7c6c4bb..b6090242ba4d00c2a74e1431b29e3c99c4b74ee5 100644 (file)
@@ -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