mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
package/tiff: add libdeflate optional dependency
libdeflate is an optional dependency which is enabled by default since version 4.2.0 and3a2de853a9Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit08ca8ff727) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
7f8341b6c3
commit
421787e3ad
@@ -11,6 +11,11 @@ config BR2_PACKAGE_TIFF_CCITT
|
|||||||
bool "CCITT Group 3 & 4 support"
|
bool "CCITT Group 3 & 4 support"
|
||||||
default y
|
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
|
config BR2_PACKAGE_TIFF_PACKBITS
|
||||||
bool "Macintosh PackBits algorithm"
|
bool "Macintosh PackBits algorithm"
|
||||||
default y
|
default y
|
||||||
|
|||||||
@@ -33,6 +33,13 @@ ifneq ($(BR2_PACKAGE_TIFF_CCITT),y)
|
|||||||
TIFF_CONF_OPTS += --disable-ccitt
|
TIFF_CONF_OPTS += --disable-ccitt
|
||||||
endif
|
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)
|
ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y)
|
||||||
TIFF_CONF_OPTS += --disable-packbits
|
TIFF_CONF_OPTS += --disable-packbits
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user