44473d33dd
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>
25 lines
799 B
Makefile
25 lines
799 B
Makefile
################################################################################
|
|
#
|
|
# gupnp
|
|
#
|
|
################################################################################
|
|
|
|
GUPNP_VERSION_MAJOR = 1.2
|
|
GUPNP_VERSION = $(GUPNP_VERSION_MAJOR).2
|
|
GUPNP_SOURCE = gupnp-$(GUPNP_VERSION).tar.xz
|
|
GUPNP_SITE = http://ftp.gnome.org/pub/gnome/sources/gupnp/$(GUPNP_VERSION_MAJOR)
|
|
GUPNP_LICENSE = LGPL-2.0+
|
|
GUPNP_LICENSE_FILES = COPYING
|
|
GUPNP_INSTALL_STAGING = YES
|
|
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 -Dvapi=true
|
|
GUPNP_DEPENDENCIES += host-vala gobject-introspection
|
|
else
|
|
GUPNP_CONF_OPTS += -Dintrospection=false -Dvapi=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|