Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
--without-OpenEXR \
--without-openslide \
--without-cfitsio \
- --without-libwebp \
--without-pangoft2 \
--without-x
LIBVIPS_INSTALL_STAGING = YES
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