package/gssdp: add optional libgtk3 dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 2 Aug 2019 07:24:54 +0000 (09:24 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 2 Aug 2019 21:00:27 +0000 (23:00 +0200)
gssdp's sniffer depends on libgtk3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gssdp/gssdp.mk

index 2ce1f9b0bfe034d79f6ba5eae9295cbd0587c38b..e7f3ad93309aa9663aabcaecdfd968a7ea4a2634 100644 (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))