diff mbox series

[v3,3/7] package/gssdp: enable vala support if gobject-introspection is selected

Message ID 20200327183000.1005676-3-aduskett@gmail.com
State Accepted
Headers show
Series [v3,1/7] package/vala/vala-wrapper: fix wrapper | expand

Commit Message

Adam Duskett March 27, 2020, 6:29 p.m. UTC
From: Adam Duskett <Aduskett@gmail.com>

gupnp gobject-introspection support requires gssdp built with vala bindings.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/gssdp/gssdp.mk | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Comments

Yann E. MORIN March 31, 2020, 9:16 p.m. UTC | #1
Adam, all,

On 2020-03-27 11:29 -0700, aduskett@gmail.com spake thusly:
> From: Adam Duskett <Aduskett@gmail.com>
> 
> gupnp gobject-introspection support requires gssdp built with vala bindings.
> 
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>

Applied to master with an extended commit log. Thanks! :-)

Regards,
Yann E. MORIN.

> ---
>  package/gssdp/gssdp.mk | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> diff --git a/package/gssdp/gssdp.mk b/package/gssdp/gssdp.mk
> index bab3cbe0f7..d91c8acda0 100644
> --- a/package/gssdp/gssdp.mk
> +++ b/package/gssdp/gssdp.mk
> @@ -12,15 +12,13 @@ GSSDP_LICENSE = LGPL-2.0+
>  GSSDP_LICENSE_FILES = COPYING
>  GSSDP_INSTALL_STAGING = YES
>  GSSDP_DEPENDENCIES = host-pkgconf libglib2 libsoup
> -GSSDP_CONF_OPTS = \
> -	-Dexamples=false \
> -	-Dvapi=false
> +GSSDP_CONF_OPTS = -Dexamples=false
>  
>  ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
> -GSSDP_CONF_OPTS += -Dintrospection=true
> -GSSDP_DEPENDENCIES += gobject-introspection
> +GSSDP_CONF_OPTS += -Dintrospection=true -Dvapi=true
> +GSSDP_DEPENDENCIES += host-vala gobject-introspection
>  else
> -GSSDP_CONF_OPTS += -Dintrospection=false
> +GSSDP_CONF_OPTS += -Dintrospection=false -Dvapi=false
>  endif
>  
>  ifeq ($(BR2_PACKAGE_LIBGTK3),y)
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/gssdp/gssdp.mk b/package/gssdp/gssdp.mk
index bab3cbe0f7..d91c8acda0 100644
--- a/package/gssdp/gssdp.mk
+++ b/package/gssdp/gssdp.mk
@@ -12,15 +12,13 @@  GSSDP_LICENSE = LGPL-2.0+
 GSSDP_LICENSE_FILES = COPYING
 GSSDP_INSTALL_STAGING = YES
 GSSDP_DEPENDENCIES = host-pkgconf libglib2 libsoup
-GSSDP_CONF_OPTS = \
-	-Dexamples=false \
-	-Dvapi=false
+GSSDP_CONF_OPTS = -Dexamples=false
 
 ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
-GSSDP_CONF_OPTS += -Dintrospection=true
-GSSDP_DEPENDENCIES += gobject-introspection
+GSSDP_CONF_OPTS += -Dintrospection=true -Dvapi=true
+GSSDP_DEPENDENCIES += host-vala gobject-introspection
 else
-GSSDP_CONF_OPTS += -Dintrospection=false
+GSSDP_CONF_OPTS += -Dintrospection=false -Dvapi=false
 endif
 
 ifeq ($(BR2_PACKAGE_LIBGTK3),y)