diff --git a/package/tiff/Config.in b/package/tiff/Config.in index f842c2ead8..cc9aa5cfd0 100644 --- a/package/tiff/Config.in +++ b/package/tiff/Config.in @@ -11,6 +11,11 @@ config BR2_PACKAGE_TIFF_CCITT bool "CCITT Group 3 & 4 support" default y +config BR2_PACKAGE_TIFF_LIBDEFLATE + bool "Libdeflate usage (still requires Zlib)" + select BR2_PACKAGE_LIBDEFLATE + select BR2_PACKAGE_TIFF_ZLIB + config BR2_PACKAGE_TIFF_PACKBITS bool "Macintosh PackBits algorithm" default y diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 7981bdf2c9..a753065fde 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -33,6 +33,13 @@ ifneq ($(BR2_PACKAGE_TIFF_CCITT),y) TIFF_CONF_OPTS += --disable-ccitt endif +ifeq ($(BR2_PACKAGE_TIFF_LIBDEFLATE),y) +TIFF_CONF_OPTS += --enable-libdeflate +TIFF_DEPENDENCIES += libdeflate +else +TIFF_CONF_OPTS += --disable-libdeflate +endif + ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y) TIFF_CONF_OPTS += --disable-packbits endif