diff --git a/package/tiff/Config.in b/package/tiff/Config.in index d1004d6668..b9e3656e6f 100644 --- a/package/tiff/Config.in +++ b/package/tiff/Config.in @@ -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 diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 90b28ff37a..6d761ad678 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -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