aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-04-03 21:57:10 +0200
committerKhem Raj <raj.khem@gmail.com>2021-04-06 09:02:12 -0700
commite721f6d9444779cfd5f5de54c0cf4fe2f15fc74d (patch)
treeda2cc632a1b5195cd4cf1500bafc764bd9b6a7c3
parent5c83f2da63504fc3d6bfaec3e0d149a8926f56b7 (diff)
downloadmeta-openembedded-contrib-e721f6d9444779cfd5f5de54c0cf4fe2f15fc74d.tar.gz
meta-openembedded-contrib-e721f6d9444779cfd5f5de54c0cf4fe2f15fc74d.tar.bz2
meta-openembedded-contrib-e721f6d9444779cfd5f5de54c0cf4fe2f15fc74d.zip
telepathy-glib: respect GI_DATA_ENABLED when enabling vala-bindings
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb4
1 files changed, 3 insertions, 1 deletions
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"