package/tiff: add webp optional dependency

webp is an optional dependency which is enabled by default since version
4.0.10 and
9eacd59fec

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-12-29 10:30:28 +01:00 committed by Thomas Petazzoni
parent f934a00928
commit 3fd6ada8db
2 changed files with 11 additions and 0 deletions

View File

@ -72,6 +72,10 @@ config BR2_PACKAGE_TIFF_UTILITIES
help
Install all tiff utilities.
config BR2_PACKAGE_TIFF_WEBP
bool "WEBP compression"
select BR2_PACKAGE_WEBP
config BR2_PACKAGE_TIFF_ZSTD
bool "ZSTD compression"
select BR2_PACKAGE_ZSTD

View File

@ -100,6 +100,13 @@ else
TIFF_CONF_OPTS += --disable-tools
endif
ifeq ($(BR2_PACKAGE_TIFF_WEBP),y)
TIFF_CONF_OPTS += --enable-webp
TIFF_DEPENDENCIES += webp
else
TIFF_CONF_OPTS += --disable-webp
endif
ifeq ($(BR2_PACKAGE_TIFF_ZSTD),y)
TIFF_CONF_OPTS += --enable-zstd
TIFF_DEPENDENCIES += zstd