Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aduskett at gmail.com <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 05/12] package/json-glib: enable gobject-introspection support
Date: Tue, 31 Mar 2020 17:21:27 -0700	[thread overview]
Message-ID: <20200401002134.1779241-5-aduskett@gmail.com> (raw)
In-Reply-To: <20200401002134.1779241-1-aduskett@gmail.com>

From: Adam Duskett <Aduskett@gmail.com>

If gobject-introspection is selected, add the gobject-introspection package to
the dependency list and set the conf opt -Dintrospection=true.

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

diff --git a/package/json-glib/json-glib.mk b/package/json-glib/json-glib.mk
index 7405b28b2e..accdb4f888 100644
--- a/package/json-glib/json-glib.mk
+++ b/package/json-glib/json-glib.mk
@@ -17,7 +17,12 @@ JSON_GLIB_DEPENDENCIES = \
 	host-pkgconf \
 	libglib2
 
-JSON_GLIB_CONF_OPTS = -Dintrospection=false
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+JSON_GLIB_CONF_OPTS += -Dintrospection=true
+JSON_GLIB_DEPENDENCIES += gobject-introspection
+else
+JSON_GLIB_CONF_OPTS += -Dintrospection=false
+endif
 
 JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
 
-- 
2.25.1

  parent reply	other threads:[~2020-04-01  0:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-01  0:21 [Buildroot] [PATCH 01/12] package/libsecret: enable gobject-introspection support aduskett at gmail.com
2020-04-01  0:21 ` [Buildroot] [PATCH 02/12] package/pango: " aduskett at gmail.com
2020-04-01  5:22   ` Thomas Petazzoni
2020-04-01  0:21 ` [Buildroot] [PATCH 03/12] package/libgtk2: " aduskett at gmail.com
2020-04-01  0:21 ` [Buildroot] [PATCH 04/12] package/libgtk3: " aduskett at gmail.com
2020-04-01  0:21 ` aduskett at gmail.com [this message]
2020-04-01  0:21 ` [Buildroot] [PATCH 06/12] package/gcr: " aduskett at gmail.com
2020-04-19 14:28   ` Thomas Petazzoni
2020-04-01  0:21 ` [Buildroot] [PATCH 07/12] package/gconf: " aduskett at gmail.com
2020-04-01  0:21 ` [Buildroot] [PATCH 08/12] package/atk: " aduskett at gmail.com
2020-05-11  5:12   ` Thomas Petazzoni
2020-04-01  0:21 ` [Buildroot] [PATCH 09/12] package/libgee: " aduskett at gmail.com
2020-04-01  0:21 ` [Buildroot] [PATCH 10/12] package/libmediaart: " aduskett at gmail.com
2020-04-01  0:21 ` [Buildroot] [PATCH 11/12] package/rygel: " aduskett at gmail.com
2020-04-01  0:21 ` [Buildroot] [PATCH 12/12] package/vte: " aduskett at gmail.com
2020-04-06 20:38 ` [Buildroot] [PATCH 01/12] package/libsecret: " 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=20200401002134.1779241-5-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox