From: Fabrice Fontaine Date: Fri, 2 Aug 2019 07:24:54 +0000 (+0200) Subject: package/gssdp: add optional libgtk3 dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67563ac0518ad832b66b1f35bfbdac4e54cf72e7;p=buildroot.git package/gssdp: add optional libgtk3 dependency gssdp's sniffer depends on libgtk3 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/gssdp/gssdp.mk b/package/gssdp/gssdp.mk index 2ce1f9b0bf..e7f3ad9330 100644 --- a/package/gssdp/gssdp.mk +++ b/package/gssdp/gssdp.mk @@ -13,4 +13,11 @@ GSSDP_LICENSE_FILES = COPYING GSSDP_INSTALL_STAGING = YES GSSDP_DEPENDENCIES = host-pkgconf libglib2 libsoup +ifeq ($(BR2_PACKAGE_LIBGTK3),y) +GSSDP_DEPENDENCIES += libgtk3 +GSSDP_CONF_OPTS += --with-gtk +else +GSSDP_CONF_OPTS += --without-gtk +endif + $(eval $(autotools-package))