From: Fabrice Fontaine Date: Sun, 4 Apr 2021 14:30:48 +0000 (+0200) Subject: package/libvips: add webp optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f252f6063596910aadbcfdea7b18d6c89e2987b5;p=buildroot.git package/libvips: add webp optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk index 990d3f386f..7023b11119 100644 --- a/package/libvips/libvips.mk +++ b/package/libvips/libvips.mk @@ -26,7 +26,6 @@ LIBVIPS_CONF_OPTS = \ --without-OpenEXR \ --without-openslide \ --without-cfitsio \ - --without-libwebp \ --without-pangoft2 \ --without-x LIBVIPS_INSTALL_STAGING = YES @@ -132,6 +131,13 @@ else LIBVIPS_CONF_OPTS += --without-libexif endif +ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) +LIBVIPS_CONF_OPTS += --with-libwebp +LIBVIPS_DEPENDENCIES += webp +else +LIBVIPS_CONF_OPTS += --without-libwebp +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) LIBVIPS_CONF_OPTS += --with-zlib LIBVIPS_DEPENDENCIES += zlib