All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Armin Kuster" <akuster808@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [dunfell 2/6] telepathy-glib: respect GI_DATA_ENABLED when enabling vala-bindings
Date: Fri, 23 Apr 2021 18:50:24 -0700	[thread overview]
Message-ID: <f8ce4b1030d32c8a40d719282b2440ea03565f84.1619228936.git.akuster808@gmail.com> (raw)
In-Reply-To: <cover.1619228936.git.akuster808@gmail.com>

From: Martin Jansa <Martin.Jansa@gmail.com>

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb b/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
index 2b05c61a0d..4d4e841f62 100644
--- a/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
+++ b/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
@@ -12,7 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e"
 
 inherit autotools pkgconfig gettext gobject-introspection vala
 
-EXTRA_OECONF = "--enable-vala-bindings"
+# Respect GI_DATA_ENABLED value when enabling vala-bindings:
+# configure: error: GObject-Introspection must be enabled for Vala bindings
+EXTRA_OECONF = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-vala-bindings', '--disable-vala-bindings', d)}"
 
 FILES_${PN} += "${datadir}/telepathy \
                 ${datadir}/dbus-1"
-- 
2.17.1


  parent reply	other threads:[~2021-04-24  1:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-24  1:50 [dunfell 0/6] Dunfell patch review April 23rd Armin Kuster
2021-04-24  1:50 ` [dunfell 1/6] uml-utilities: fix installed-vs-shipped with usrmerge Armin Kuster
2021-04-24  1:50 ` Armin Kuster [this message]
2021-04-24  1:50 ` [dunfell 3/6] libyui: switch to libyui-old repo which still has this SRCREV Armin Kuster
2021-04-24  1:50 ` [dunfell 4/6] hostapd: fix CVE-2019-5061 Armin Kuster
2021-04-24  1:50 ` [dunfell 5/6] hostapd: fix CVE-2021-0326 and CVE-2021-27803 Armin Kuster
2021-04-24  1:50 ` [dunfell 6/6] hostapd: fix CVE-2021-30004 Armin Kuster
2021-04-24 10:37 ` [oe] [dunfell 0/6] Dunfell patch review April 23rd Martin Jansa

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=f8ce4b1030d32c8a40d719282b2440ea03565f84.1619228936.git.akuster808@gmail.com \
    --to=akuster808@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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.