summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/atk
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-04-05 08:37:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-11 15:26:25 +0100
commit7d2d1a45e0d6fe0dba289d686a510f844151df2f (patch)
treeb55a59e7c8d44caf667eb7c430572d6178bf9565 /meta/recipes-support/atk
parent2e2dbb4c16dcdc8b1d51a3d5a46d766e395d1840 (diff)
downloadopenembedded-core-7d2d1a45e0d6fe0dba289d686a510f844151df2f.tar.gz
openembedded-core-7d2d1a45e0d6fe0dba289d686a510f844151df2f.tar.bz2
openembedded-core-7d2d1a45e0d6fe0dba289d686a510f844151df2f.zip
at-spi2-core: use gobject-introspection.bbclass on/off mechanism
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/atk')
-rw-r--r--meta/recipes-support/atk/at-spi2-core_2.30.0.bb10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-support/atk/at-spi2-core_2.30.0.bb b/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
index d0b567a5e5..06fb7195b6 100644
--- a/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
+++ b/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
@@ -24,15 +24,13 @@ EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \
GTKDOC_ENABLE_FLAG = "-Denable_docs=true"
GTKDOC_DISABLE_FLAG = "-Denable_docs=false"
-GI_ENABLE_FLAG = "-Denable-introspection=yes"
-GI_DISABLE_FLAG = "-Denable-introspection=no"
-
-EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \
- '${GI_DISABLE_FLAG}', d)} "
-
EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
'${GTKDOC_DISABLE_FLAG}', d)} "
+GIR_MESON_OPTION = 'enable-introspection'
+GIR_MESON_ENABLE_FLAG = 'yes'
+GIR_MESON_DISABLE_FLAG = 'no'
+
FILES_${PN} += "${datadir}/dbus-1/services/*.service \
${datadir}/dbus-1/accessibility-services/*.service \
${datadir}/defaults/at-spi2 \