[Buildroot] [PATCH 5/7] package/libvips: add optional support for libheif

Bernd Kuhls bernd at kuhls.net
Sat Jul 8 20:04:45 UTC 2023


Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
---
 package/libvips/libvips.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk
index f7b15e8e06..1a0f9d5ead 100644
--- a/package/libvips/libvips.mk
+++ b/package/libvips/libvips.mk
@@ -132,6 +132,13 @@ else
 LIBVIPS_CONF_OPTS += --without-libexif
 endif
 
+ifeq ($(BR2_PACKAGE_LIBHEIF),y)
+LIBVIPS_CONF_OPTS += --with-heif
+LIBVIPS_DEPENDENCIES += libheif
+else
+LIBVIPS_CONF_OPTS += --without-heif
+endif
+
 ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy)
 LIBVIPS_CONF_OPTS += --with-libwebp
 LIBVIPS_DEPENDENCIES += webp
-- 
2.39.2




More information about the buildroot mailing list