[Buildroot] [git commit branch/2020.02.x] package/libvips: add giflib optional dependency
Peter Korsgaard
peter at korsgaard.com
Sun Apr 4 19:36:30 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=2b669a6648ad2771094346a14f98c223e9c66529
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x
giflib is an optional dependency which is enabled by default since
version 8.3.0 and
https://github.com/libvips/libvips/commit/d79407f285c768a7338e73ccfc6cf09480b95582
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit bd1a3a29debdd43e07ad34b29283be5515539013)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/libvips/libvips.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk
index 966599e271..b228c58217 100644
--- a/package/libvips/libvips.mk
+++ b/package/libvips/libvips.mk
@@ -41,6 +41,13 @@ LIBVIPS_DEPENDENCIES = \
host-pkgconf expat libglib2 \
$(TARGET_NLS_DEPENDENCIES)
+ifeq ($(BR2_PACKAGE_GIFLIB),y)
+LIBVIPS_CONF_OPTS += --with-giflib
+LIBVIPS_DEPENDENCIES += giflib
+else
+LIBVIPS_CONF_OPTS += --without-giflib
+endif
+
ifeq ($(BR2_PACKAGE_JPEG),y)
LIBVIPS_CONF_OPTS += --with-jpeg
LIBVIPS_DEPENDENCIES += jpeg
More information about the buildroot
mailing list