From f23178772075a6bf1a06c7de4954c7aa17aab7b7 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 8 Jul 2023 22:04:45 +0200 Subject: [PATCH] package/libvips: add optional support for libheif Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- 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