kumquat-buildroot/package/gupnp-dlna/gupnp-dlna.mk
Fabrice Fontaine c7c2ada758 package/gupnp-dlna: gstreamer backend needs dynamic library
gstreamer backend needs dynamic library to avoid the following build
failure raised since bump to version 0.12.0 in commit
68c8c37d7d:

/home/giuliobenetti/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini':
__uClibc_main.c:(.text+0x15c): undefined reference to `__fini_array_start'

Fixes:
 - http://autobuild.buildroot.org/results/3b580c8d9cb136455c710549909bb78c8b38b9c1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-26 11:49:13 +01:00

33 lines
1.1 KiB
Makefile

################################################################################
#
# gupnp-dlna
#
################################################################################
GUPNP_DLNA_VERSION_MAJOR = 0.12
GUPNP_DLNA_VERSION = $(GUPNP_DLNA_VERSION_MAJOR).0
GUPNP_DLNA_SOURCE = gupnp-dlna-$(GUPNP_DLNA_VERSION).tar.xz
GUPNP_DLNA_SITE = \
http://ftp.gnome.org/pub/gnome/sources/gupnp-dlna/$(GUPNP_DLNA_VERSION_MAJOR)
# COPYING contains LGPL-2.1 but all source files contain LPGL-2.0+
GUPNP_DLNA_LICENSE = LGPL-2.0+
GUPNP_DLNA_LICENSE_FILES = COPYING
GUPNP_DLNA_INSTALL_STAGING = YES
GUPNP_DLNA_DEPENDENCIES = host-pkgconf libglib2 libxml2
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GUPNP_DLNA_CONF_OPTS += -Dintrospection=true -Dvapi=true
GUPNP_DLNA_DEPENDENCIES += host-vala gobject-introspection
else
GUPNP_DLNA_CONF_OPTS += -Dintrospection=false -Dvapi=false
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE):$(BR2_STATIC_LIBS),y:)
GUPNP_DLNA_CONF_OPTS += -Dgstreamer_backend=enabled
GUPNP_DLNA_DEPENDENCIES += gstreamer1 gst1-plugins-base
else
GUPNP_DLNA_CONF_OPTS += -Dgstreamer_backend=disabled
endif
$(eval $(meson-package))