xref: /OK3568_Linux_fs/buildroot/package/gupnp-dlna/gupnp-dlna.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# gupnp-dlna
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunGUPNP_DLNA_VERSION_MAJOR = 0.10
8*4882a593SmuzhiyunGUPNP_DLNA_VERSION = $(GUPNP_DLNA_VERSION_MAJOR).5
9*4882a593SmuzhiyunGUPNP_DLNA_SOURCE = gupnp-dlna-$(GUPNP_DLNA_VERSION).tar.xz
10*4882a593SmuzhiyunGUPNP_DLNA_SITE = \
11*4882a593Smuzhiyun	http://ftp.gnome.org/pub/gnome/sources/gupnp-dlna/$(GUPNP_DLNA_VERSION_MAJOR)
12*4882a593Smuzhiyun# COPYING contains LGPL-2.1 but all source files contain LPGL-2.0+
13*4882a593SmuzhiyunGUPNP_DLNA_LICENSE = LGPL-2.0+
14*4882a593SmuzhiyunGUPNP_DLNA_LICENSE_FILES = COPYING
15*4882a593SmuzhiyunGUPNP_DLNA_INSTALL_STAGING = YES
16*4882a593SmuzhiyunGUPNP_DLNA_DEPENDENCIES = host-pkgconf libglib2 libxml2
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunGUPNP_DLNA_CONF_OPTS = \
19*4882a593Smuzhiyun	--disable-introspection \
20*4882a593Smuzhiyun	--disable-legacy-gstreamer-metadata-backend
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
23*4882a593SmuzhiyunGUPNP_DLNA_CONF_OPTS += --enable-gstreamer-metadata-backend
24*4882a593SmuzhiyunGUPNP_DLNA_DEPENDENCIES += gstreamer1 gst1-plugins-base
25*4882a593Smuzhiyunelse
26*4882a593SmuzhiyunGUPNP_DLNA_CONF_OPTS += --disable-gstreamer-metadata-backend
27*4882a593Smuzhiyunendif
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun$(eval $(autotools-package))
30