![Fabrice Fontaine](/assets/img/avatar_default.png)
- Switch to meson-package - Add patch to fix build without gupnp-av Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
39 lines
1,007 B
Makefile
39 lines
1,007 B
Makefile
################################################################################
|
|
#
|
|
# gupnp-tools
|
|
#
|
|
################################################################################
|
|
|
|
GUPNP_TOOLS_VERSION_MAJOR = 0.8
|
|
GUPNP_TOOLS_VERSION = $(GUPNP_TOOLS_VERSION_MAJOR).15
|
|
GUPNP_TOOLS_SOURCE = gupnp-tools-$(GUPNP_TOOLS_VERSION).tar.xz
|
|
GUPNP_TOOLS_SITE = \
|
|
http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/$(GUPNP_TOOLS_VERSION_MAJOR)
|
|
GUPNP_TOOLS_LICENSE = GPL-2.0+
|
|
GUPNP_TOOLS_LICENSE_FILES = COPYING
|
|
GUPNP_TOOLS_INSTALL_STAGING = YES
|
|
GUPNP_TOOLS_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
libglib2 \
|
|
libxml2 \
|
|
gssdp \
|
|
gupnp \
|
|
libsoup \
|
|
libgtk3 \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
|
|
GUPNP_TOOLS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
ifeq ($(BR2_PACKAGE_GUPNP_AV),y)
|
|
GUPNP_TOOLS_CONF_OPTS += -Dav-tools=true
|
|
GUPNP_TOOLS_DEPENDENCIES += gupnp-av
|
|
else
|
|
GUPNP_TOOLS_CONF_OPTS += -Dav-tools=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GTKSOURCEVIEW),y)
|
|
GUPNP_TOOLS_DEPENDENCIES += gtksourceview
|
|
endif
|
|
|
|
$(eval $(meson-package))
|