package/perl-gd: add webp support

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Francois Perrad 2022-02-15 08:07:39 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 2c6d0b5269
commit 1b117664ac

View File

@ -40,6 +40,12 @@ PERL_GD_OPTIONS += PNG
PERL_GD_CONF_OPTS += -lib_png_path=$(STAGING_DIR)/usr
endif
ifeq ($(BR2_PACKAGE_WEBP),y)
PERL_GD_DEPENDENCIES += webp
PERL_GD_OPTIONS += WEBP
PERL_GD_CONF_OPTS += -lib_webp_path=$(STAGING_DIR)/usr
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y)
PERL_GD_DEPENDENCIES += xlib_libXpm
PERL_GD_OPTIONS += XPM