[Buildroot] [git commit] package/gupnp-dlna: add introspection support

From: Arnout Vandecappelle (Essensium/Mind) <hidden>
Date: 2021-12-20 22:43:29
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=a42caa7a23091919c01dacb84df8dd2301e6b0b1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

- introspection support is needed to build latest rygel version
- build vala bindings to avoid a build failure as already done in other
  packages such as gssdp in commit
  d513e55930eda15a5fb15e00c1da774e6c18f66c

Signed-off-by: Fabrice Fontaine <redacted>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted>
---
 package/gupnp-dlna/gupnp-dlna.mk | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/package/gupnp-dlna/gupnp-dlna.mk b/package/gupnp-dlna/gupnp-dlna.mk
index 85d30b7cd2..dd548e3e2d 100644
--- a/package/gupnp-dlna/gupnp-dlna.mk
+++ b/package/gupnp-dlna/gupnp-dlna.mk
@@ -15,9 +15,14 @@ GUPNP_DLNA_LICENSE_FILES = COPYING
 GUPNP_DLNA_INSTALL_STAGING = YES
 GUPNP_DLNA_DEPENDENCIES = host-pkgconf libglib2 libxml2
 
-GUPNP_DLNA_CONF_OPTS = \
-	--disable-introspection \
-	--disable-legacy-gstreamer-metadata-backend
+GUPNP_DLNA_CONF_OPTS = --disable-legacy-gstreamer-metadata-backend
+
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+GUPNP_DLNA_CONF_OPTS += --enable-introspection
+GUPNP_DLNA_DEPENDENCIES += host-vala gobject-introspection
+else
+GUPNP_DLNA_CONF_OPTS += --disable-introspection
+endif
 
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
 GUPNP_DLNA_CONF_OPTS += --enable-gstreamer-metadata-backend
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help