package/gssdp: add optional libgtk3 dependency

gssdp's sniffer depends on libgtk3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2019-08-02 09:24:54 +02:00 committed by Peter Korsgaard
parent e24b3d4cf8
commit 67563ac051

View File

@ -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))