xref: /OK3568_Linux_fs/buildroot/package/gupnp-tools/gupnp-tools.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# gupnp-tools
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunGUPNP_TOOLS_VERSION_MAJOR = 0.10
8*4882a593SmuzhiyunGUPNP_TOOLS_VERSION = $(GUPNP_TOOLS_VERSION_MAJOR).0
9*4882a593SmuzhiyunGUPNP_TOOLS_SOURCE = gupnp-tools-$(GUPNP_TOOLS_VERSION).tar.xz
10*4882a593SmuzhiyunGUPNP_TOOLS_SITE = \
11*4882a593Smuzhiyun	http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/$(GUPNP_TOOLS_VERSION_MAJOR)
12*4882a593SmuzhiyunGUPNP_TOOLS_LICENSE = GPL-2.0+
13*4882a593SmuzhiyunGUPNP_TOOLS_LICENSE_FILES = COPYING
14*4882a593SmuzhiyunGUPNP_TOOLS_INSTALL_STAGING = YES
15*4882a593SmuzhiyunGUPNP_TOOLS_DEPENDENCIES = \
16*4882a593Smuzhiyun	host-pkgconf \
17*4882a593Smuzhiyun	libglib2 \
18*4882a593Smuzhiyun	libxml2 \
19*4882a593Smuzhiyun	gssdp \
20*4882a593Smuzhiyun	gupnp \
21*4882a593Smuzhiyun	libsoup \
22*4882a593Smuzhiyun	libgtk3 \
23*4882a593Smuzhiyun	$(TARGET_NLS_DEPENDENCIES)
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunGUPNP_TOOLS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GUPNP_AV),y)
28*4882a593SmuzhiyunGUPNP_TOOLS_CONF_OPTS += -Dav-tools=true
29*4882a593SmuzhiyunGUPNP_TOOLS_DEPENDENCIES += gupnp-av
30*4882a593Smuzhiyunelse
31*4882a593SmuzhiyunGUPNP_TOOLS_CONF_OPTS += -Dav-tools=false
32*4882a593Smuzhiyunendif
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GTKSOURCEVIEW),y)
35*4882a593SmuzhiyunGUPNP_TOOLS_DEPENDENCIES += gtksourceview
36*4882a593Smuzhiyunendif
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun$(eval $(meson-package))
39