package/gupnp: needs host-vala for introspection

Introspection support in gupnp is handled by way of vala tools and
vala bindings.

Even though host-vala is already a transitive dependency via gssdp,
add it to gupnp for correctness sake; also explicitly enable the
generation of the vala API, since it is required for introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Adam Duskett 2020-03-27 11:29:59 -07:00 committed by Yann E. MORIN
parent d513e55930
commit 44473d33dd

View File

@ -15,10 +15,10 @@ GUPNP_DEPENDENCIES = host-pkgconf libglib2 libxml2 gssdp util-linux
GUPNP_CONF_OPTS = -Dexamples=false
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GUPNP_CONF_OPTS += -Dintrospection=true
GUPNP_DEPENDENCIES += gobject-introspection
GUPNP_CONF_OPTS += -Dintrospection=true -Dvapi=true
GUPNP_DEPENDENCIES += host-vala gobject-introspection
else
GUPNP_CONF_OPTS += -Dintrospection=false
GUPNP_CONF_OPTS += -Dintrospection=false -Dvapi=false
endif
$(eval $(meson-package))