package/imagemagick: add optional support for libheif

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2023-07-08 22:04:44 +02:00 committed by Thomas Petazzoni
parent 4c15d7a9e7
commit 399db1eeb5

View File

@ -32,7 +32,6 @@ IMAGEMAGICK_CONF_OPTS = \
--without-fpx \
--without-gslib \
--without-gvc \
--without-heic \
--without-jbig \
--without-jxl \
--without-lqr \
@ -84,6 +83,13 @@ else
IMAGEMAGICK_CONF_OPTS += --without-lcms
endif
ifeq ($(BR2_PACKAGE_LIBHEIF),y)
IMAGEMAGICK_CONF_OPTS += --with-heic
IMAGEMAGICK_DEPENDENCIES += libheif
else
IMAGEMAGICK_CONF_OPTS += --without-heic
endif
ifeq ($(BR2_PACKAGE_LIBPNG),y)
IMAGEMAGICK_CONF_OPTS += --with-png
IMAGEMAGICK_DEPENDENCIES += libpng