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>
This commit is contained in:
parent
5e230f4b89
commit
e47638f8dc
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user