From e47638f8dca29b0d9b729edbaeaa11a08f9957fa Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Wed, 1 Jun 2016 12:38:11 +0900 Subject: [PATCH] webp: allow to enable demux Signed-off-by: Akihiko Odaki Signed-off-by: Thomas Petazzoni --- package/webp/Config.in | 8 ++++++++ package/webp/webp.mk | 4 ++++ 2 files changed, 12 insertions(+) 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 -- 2.30.2