From: Fabrice Fontaine Date: Wed, 31 Mar 2021 18:59:43 +0000 (+0200) Subject: package/libvips: add giflib optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd1a3a29debdd43e07ad34b29283be5515539013;p=buildroot.git package/libvips: add giflib optional dependency 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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk index 014aaf0327..0449751380 100644 --- a/package/libvips/libvips.mk +++ b/package/libvips/libvips.mk @@ -38,6 +38,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_GOBJECT_INTROSPECTION),y) LIBVIPS_CONF_OPTS += --enable-introspection LIBVIPS_DEPENDENCIES += gobject-introspection