package/gd: 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:43 +02:00 committed by Thomas Petazzoni
parent afb3000240
commit 4c15d7a9e7

View File

@ -44,6 +44,13 @@ GD_DEPENDENCIES += jpeg
GD_CONF_OPTS += --with-jpeg
endif
ifeq ($(BR2_PACKAGE_LIBHEIF),y)
GD_DEPENDENCIES += libheif
GD_CONF_OPTS += --with-heif
else
GD_CONF_OPTS += --without-heif
endif
ifeq ($(BR2_PACKAGE_LIBPNG),y)
GD_DEPENDENCIES += libpng
GD_CONF_OPTS += --with-png