webp: add an option to enable webpmux

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Fabrice Fontaine 2017-11-19 17:58:23 +01:00 committed by Thomas Petazzoni
parent bd61874919
commit e55d61fb97
2 changed files with 13 additions and 0 deletions

View File

@ -15,4 +15,11 @@ config BR2_PACKAGE_WEBP_DEMUX
of an extended format WebP file, which can have features of an extended format WebP file, which can have features
like color profile, metadata and animation. 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 endif

View File

@ -23,6 +23,12 @@ else
WEBP_CONF_OPTS += --disable-libwebpdemux WEBP_CONF_OPTS += --disable-libwebpdemux
endif endif
ifeq ($(BR2_PACKAGE_WEBP_MUX),y)
WEBP_CONF_OPTS += --enable-libwebpmux
else
WEBP_CONF_OPTS += --disable-libwebpmux
endif
ifeq ($(BR2_PACKAGE_LIBPNG),y) ifeq ($(BR2_PACKAGE_LIBPNG),y)
WEBP_DEPENDENCIES += libpng WEBP_DEPENDENCIES += libpng
WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config