d513e55930
When building its introspection metadata description files, gssdp can also generate the associated vala bindings. Dependent packages may then use either or both the introspection metadata description files or the vala bindings to generate their own. For example; this is the case with gupnp, which requires the vala bindings from gssdp to be able to generate its introspection metadata description files and vala bindings. Since there is no way to know whether the vala bindings are required or not, we always build them. host-vala has no dependency that is not already a dependency of gssdp, so the overhead is just the time to build host-vala itself, roughly 32s here when compared to 10+minutes to build all the dependencies of gssdp with introspection support. Fixes: - http://autobuild.buildroot.org/results/06f879902a567c26bade630091b21b56f637bd60/ - http://autobuild.buildroot.org/results/457ecc20e1932e13e82ff6bdcaf4adaf97cb7d1d/ Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
32 lines
925 B
Makefile
32 lines
925 B
Makefile
################################################################################
|
|
#
|
|
# gssdp
|
|
#
|
|
################################################################################
|
|
|
|
GSSDP_VERSION_MAJOR = 1.2
|
|
GSSDP_VERSION = $(GSSDP_VERSION_MAJOR).2
|
|
GSSDP_SOURCE = gssdp-$(GSSDP_VERSION).tar.xz
|
|
GSSDP_SITE = http://ftp.gnome.org/pub/gnome/sources/gssdp/$(GSSDP_VERSION_MAJOR)
|
|
GSSDP_LICENSE = LGPL-2.0+
|
|
GSSDP_LICENSE_FILES = COPYING
|
|
GSSDP_INSTALL_STAGING = YES
|
|
GSSDP_DEPENDENCIES = host-pkgconf libglib2 libsoup
|
|
GSSDP_CONF_OPTS = -Dexamples=false
|
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
GSSDP_CONF_OPTS += -Dintrospection=true -Dvapi=true
|
|
GSSDP_DEPENDENCIES += host-vala gobject-introspection
|
|
else
|
|
GSSDP_CONF_OPTS += -Dintrospection=false -Dvapi=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
|
GSSDP_DEPENDENCIES += libgtk3
|
|
GSSDP_CONF_OPTS += -Dsniffer=true
|
|
else
|
|
GSSDP_CONF_OPTS += -Dsniffer=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|