package/tiff: add zstd optional dependency
zstd is an optional dependency which is enabled by default since version 4.0.10 and2022.11.x62b9df5d2a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commitf934a00928
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
parent
7f1b0cd321
commit
b11cdaff45
|
@ -72,4 +72,8 @@ config BR2_PACKAGE_TIFF_UTILITIES
|
|||
help
|
||||
Install all tiff utilities.
|
||||
|
||||
config BR2_PACKAGE_TIFF_ZSTD
|
||||
bool "ZSTD compression"
|
||||
select BR2_PACKAGE_ZSTD
|
||||
|
||||
endif
|
||||
|
|
|
@ -100,5 +100,12 @@ else
|
|||
TIFF_CONF_OPTS += --disable-tools
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TIFF_ZSTD),y)
|
||||
TIFF_CONF_OPTS += --enable-zstd
|
||||
TIFF_DEPENDENCIES += zstd
|
||||
else
|
||||
TIFF_CONF_OPTS += --disable-zstd
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
|
Loading…
Reference in New Issue