package/vte: add gnutls optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-07-13 10:32:56 +02:00 committed by Thomas Petazzoni
parent 6cc7f3de53
commit dd9ff142ac

View File

@ -10,6 +10,13 @@ VTE_SITE = http://ftp.gnome.org/pub/gnome/sources/vte/0.48
VTE_DEPENDENCIES = host-pkgconf libgtk3 libxml2 pcre2
VTE_LICENSE = LGPL-2.1+
VTE_LICENSE_FILES = COPYING
VTE_CONF_OPTS += --disable-introspection --without-gnutls --disable-vala
VTE_CONF_OPTS += --disable-introspection --disable-vala
ifeq ($(BR2_PACKAGE_GNUTLS),y)
VTE_CONF_OPTS += --with-gnutls
VTE_DEPENDENCIES += gnutls
else
VTE_CONF_OPTS += --without-gnutls
endif
$(eval $(autotools-package))