--- /dev/null
+From 0831f77e990e363f78e3f6a5c461084988824f7b Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Tue, 2 Jul 2019 23:48:12 +0200
+Subject: [PATCH] src/meson.build: upload needs gupnp-av
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status:
+https://gitlab.gnome.org/GNOME/gupnp-tools/merge_requests/3]
+---
+ src/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/meson.build b/src/meson.build
+index 84b2ca2..6601f45 100644
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -2,9 +2,9 @@ subdir('common')
+
+ if get_option('av-tools') and gupnp_av.found()
+ subdir('av-cp')
++ subdir('upload')
+ endif
+
+ subdir('discover')
+ subdir('network-light')
+ subdir('universal-cp')
+-subdir('upload')
+--
+2.20.1
+
-# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/0.8/gupnp-tools-0.8.14.sha256sum:
-sha256 682b952b3cf43818c7d27549c152ea52e43320500820ab3392cf5a29a95e7efa gupnp-tools-0.8.14.tar.xz
+# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/0.8/gupnp-tools-0.8.15.sha256sum:
+sha256 336ef4a09b9fc83444a1594c8215e2bed55fbea5b6d1bf6b54c63104b4c497ab gupnp-tools-0.8.15.tar.xz
# Locally computed:
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
################################################################################
GUPNP_TOOLS_VERSION_MAJOR = 0.8
-GUPNP_TOOLS_VERSION = $(GUPNP_TOOLS_VERSION_MAJOR).14
+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)
libgtk3 \
$(TARGET_NLS_DEPENDENCIES)
-GUPNP_TOOLS_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
+GUPNP_TOOLS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
ifeq ($(BR2_PACKAGE_GUPNP_AV),y)
-GUPNP_TOOLS_CONF_OPTS += --with-av
+GUPNP_TOOLS_CONF_OPTS += -Dav-tools=true
GUPNP_TOOLS_DEPENDENCIES += gupnp-av
else
-GUPNP_TOOLS_CONF_OPTS += --without-av
+GUPNP_TOOLS_CONF_OPTS += -Dav-tools=false
endif
ifeq ($(BR2_PACKAGE_GTKSOURCEVIEW),y)
GUPNP_TOOLS_DEPENDENCIES += gtksourceview
endif
-$(eval $(autotools-package))
+$(eval $(meson-package))