package/perl-gd: provide gd options
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 12 Feb 2021 06:39:44 +0000 (07:39 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 16 Feb 2021 20:46:28 +0000 (21:46 +0100)
commitd9813df50a724869a1b4d6cbf90af053b91eda5a
treeff6f65471060d54b781ab4e373356c8858cacab1
parentd17264427432117f68d9721d98fdbf866e682be7
package/perl-gd: provide gd options

Now that gdlib-config is gone, provide the GD options otherwise perl-gd
will assume that everything is available:

$features = 'GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_ZLIB GD_PNG GD_FREETYPE GD_FONTCONFIG GD_JPEG GD_XPM GD_TIFF GD_WEBP';

Also, while at it, also make some of the dependencies as optional as
suggested by François Perrad

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Francois Perrad <francois.perrad@gadz.org> (with
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/perl-gd/Config.in
package/perl-gd/perl-gd.mk