package/libvips: add webp optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-04-04 16:30:48 +02:00 committed by Thomas Petazzoni
parent c0a45860b8
commit f252f60635

View File

@ -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