]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
webp: add an option to enable webpmux
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 19 Nov 2017 16:58:23 +0000 (17:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Nov 2017 20:51:08 +0000 (21:51 +0100)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/webp/Config.in
package/webp/webp.mk

index 646eb9ef5a1edde2f0ea8aa8e7e82cd451eb58b6..e8263a95f2eae876b0ca74ce81a17a0bca9836ef 100644 (file)
@@ -15,4 +15,11 @@ config BR2_PACKAGE_WEBP_DEMUX
          of an extended format WebP file, which can have features
          like color profile, metadata and animation.
 
+config BR2_PACKAGE_WEBP_MUX
+       bool "webpmux"
+       help
+         Mux is a part of WebPMux for creation and manipulation
+         of an extended format WebP file, which can have features
+         like color profile, metadata and animation.
+
 endif
index 821302777efaf37860e05a9543bfb5536dd86cf9..2f3a78c1ccc30f3438206ec3bbcc14030b23c159 100644 (file)
@@ -23,6 +23,12 @@ else
 WEBP_CONF_OPTS += --disable-libwebpdemux
 endif
 
+ifeq ($(BR2_PACKAGE_WEBP_MUX),y)
+WEBP_CONF_OPTS += --enable-libwebpmux
+else
+WEBP_CONF_OPTS += --disable-libwebpmux
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 WEBP_DEPENDENCIES += libpng
 WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config