[Buildroot] [git commit] package/tiff: add zstd optional dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Dec 29 09:33:00 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=f934a00928b413fb3c190749a5bda578c6c02255
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
zstd is an optional dependency which is enabled by default since version
4.0.10 and
https://gitlab.com/libtiff/libtiff/-/commit/62b9df5d2af68262fa6fcfb66086bf128f7d67c3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/tiff/Config.in | 4 ++++
package/tiff/tiff.mk | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/package/tiff/Config.in b/package/tiff/Config.in
index cc9aa5cfd0..d1004d6668 100644
--- a/package/tiff/Config.in
+++ b/package/tiff/Config.in
@@ -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
diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index a753065fde..90b28ff37a 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -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))
More information about the buildroot
mailing list