buildroot/package/gupnp-av/gupnp-av.mk
Adam Duskett b7255cba48 package/gupnp-av: add optional dependency for gobject-introspection
If gobject-introspection is selected, explicitly set --enable-introspection in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-03-22 11:40:36 +01:00

24 lines
779 B
Makefile

################################################################################
#
# gupnp-av
#
################################################################################
GUPNP_AV_VERSION_MAJOR = 0.12
GUPNP_AV_VERSION = $(GUPNP_AV_VERSION_MAJOR).11
GUPNP_AV_SOURCE = gupnp-av-$(GUPNP_AV_VERSION).tar.xz
GUPNP_AV_SITE = http://ftp.gnome.org/pub/gnome/sources/gupnp-av/$(GUPNP_AV_VERSION_MAJOR)
GUPNP_AV_LICENSE = LGPL-2.0+
GUPNP_AV_LICENSE_FILES = COPYING
GUPNP_AV_INSTALL_STAGING = YES
GUPNP_AV_DEPENDENCIES = host-pkgconf libglib2 libxml2 gupnp
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GUPNP_AV_CONF_OPTS += --enable-introspection
GUPNP_AV_DEPENDENCIES += gobject-introspection
else
GUPNP_AV_CONF_OPTS += --disable-introspection
endif
$(eval $(autotools-package))