From: Fabrice Fontaine Date: Sun, 22 Dec 2019 10:49:29 +0000 (+0100) Subject: package/qpdf: add optional gnutls dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=958fa56ebf0f56e49b97baa1c47d0df703366280;p=buildroot.git package/qpdf: add optional gnutls dependency gnutls is an optional dependency since version 9.1.0 and https://github.com/qpdf/qpdf/commit/88bedb41fe82df312d62e364a5a216b62fc8807c Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk index 217bff8055..5d28a8007a 100644 --- a/package/qpdf/qpdf.mk +++ b/package/qpdf/qpdf.mk @@ -13,4 +13,11 @@ QPDF_DEPENDENCIES = host-pkgconf zlib jpeg QPDF_CONF_OPTS = --without-random +ifeq ($(BR2_PACKAGE_GNUTLS),y) +QPDF_CONF_OPTS += --enable-crypto-gnutls +QPDF_DEPENDENCIES += gnutls +else +QPDF_CONF_OPTS += --disable-crypto-gnutls +endif + $(eval $(autotools-package))