2016-07-28 10:12:38 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gupnp-dlna
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-12-17 20:08:52 +01:00
|
|
|
GUPNP_DLNA_VERSION_MAJOR = 0.12
|
|
|
|
GUPNP_DLNA_VERSION = $(GUPNP_DLNA_VERSION_MAJOR).0
|
2016-07-28 10:12:38 +02:00
|
|
|
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)
|
2017-04-17 11:27:13 +02:00
|
|
|
# COPYING contains LGPL-2.1 but all source files contain LPGL-2.0+
|
2017-03-30 15:43:37 +02:00
|
|
|
GUPNP_DLNA_LICENSE = LGPL-2.0+
|
2016-07-28 10:12:38 +02:00
|
|
|
GUPNP_DLNA_LICENSE_FILES = COPYING
|
|
|
|
GUPNP_DLNA_INSTALL_STAGING = YES
|
|
|
|
GUPNP_DLNA_DEPENDENCIES = host-pkgconf libglib2 libxml2
|
|
|
|
|
2021-12-17 20:08:51 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
2021-12-17 20:08:52 +01:00
|
|
|
GUPNP_DLNA_CONF_OPTS += -Dintrospection=true -Dvapi=true
|
2021-12-17 20:08:51 +01:00
|
|
|
GUPNP_DLNA_DEPENDENCIES += host-vala gobject-introspection
|
|
|
|
else
|
2021-12-17 20:08:52 +01:00
|
|
|
GUPNP_DLNA_CONF_OPTS += -Dintrospection=false -Dvapi=false
|
2021-12-17 20:08:51 +01:00
|
|
|
endif
|
2016-07-28 10:12:38 +02:00
|
|
|
|
2021-12-25 19:42:50 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE):$(BR2_STATIC_LIBS),y:)
|
2021-12-17 20:08:52 +01:00
|
|
|
GUPNP_DLNA_CONF_OPTS += -Dgstreamer_backend=enabled
|
2016-07-28 10:12:38 +02:00
|
|
|
GUPNP_DLNA_DEPENDENCIES += gstreamer1 gst1-plugins-base
|
|
|
|
else
|
2021-12-17 20:08:52 +01:00
|
|
|
GUPNP_DLNA_CONF_OPTS += -Dgstreamer_backend=disabled
|
2016-07-28 10:12:38 +02:00
|
|
|
endif
|
|
|
|
|
2021-12-17 20:08:52 +01:00
|
|
|
$(eval $(meson-package))
|