All of lore.kernel.org
 help / color / mirror / Atom feed
From: aduskett at gmail.com <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/5] package/gupnp: add optional dependency for gobject-introspection
Date: Sun, 15 Mar 2020 10:24:56 -0700	[thread overview]
Message-ID: <20200315172459.881615-3-aduskett@gmail.com> (raw)
In-Reply-To: <20200315172459.881615-1-aduskett@gmail.com>

From: Adam Duskett <Aduskett@gmail.com>

If gobject-introspection is selected, explicitly set --enable-introspection in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/gupnp/gupnp.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/gupnp/gupnp.mk b/package/gupnp/gupnp.mk
index 27486b09fa..75bbfa8d1d 100644
--- a/package/gupnp/gupnp.mk
+++ b/package/gupnp/gupnp.mk
@@ -12,6 +12,12 @@ GUPNP_LICENSE = LGPL-2.0+
 GUPNP_LICENSE_FILES = COPYING
 GUPNP_INSTALL_STAGING = YES
 GUPNP_DEPENDENCIES = host-pkgconf libglib2 libxml2 gssdp util-linux
-GUPNP_CONF_OPTS = --disable-introspection
+
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+GUPNP_CONF_OPTS += --enable-introspection
+GUPNP_DEPENDENCIES += gobject-introspection
+else
+GUPNP_CONF_OPTS += --disable-introspection
+endif
 
 $(eval $(autotools-package))
-- 
2.24.1

  parent reply	other threads:[~2020-03-15 17:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15 17:24 [Buildroot] [PATCH 1/5] package/libsoup: add optional dependency for gobject-introspection aduskett at gmail.com
2020-03-15 17:24 ` [Buildroot] [PATCH 2/5] package/gssdp: " aduskett at gmail.com
2020-05-11  5:19   ` Thomas Petazzoni
2020-05-11  7:02     ` Fabrice Fontaine
2020-05-11  7:20       ` Fabrice Fontaine
2020-05-11  7:54         ` James Hilliard
2020-03-15 17:24 ` aduskett at gmail.com [this message]
2020-03-15 17:24 ` [Buildroot] [PATCH 4/5] package/gupnp-dlna: " aduskett at gmail.com
2020-03-15 17:39   ` Fabrice Fontaine
2020-03-15 18:46     ` Adam Duskett
2020-03-15 17:24 ` [Buildroot] [PATCH 5/5] package/gupnp-av: " aduskett at gmail.com
2020-03-22 10:45 ` [Buildroot] [PATCH 1/5] package/libsoup: " Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200315172459.881615-3-aduskett@gmail.com \
    --to=aduskett@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.