summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorPetr Kubizňák <kubiznak@2n.com>2023-02-17 08:47:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-17 18:00:59 +0000
commita5e22ba9d7b82126c53ad373fa59267c870f7d6b (patch)
treed25cbd85f8e9c46aeff1126d4338cce623a7d4fc /meta/recipes-graphics
parentb2883bb86d8d0f7929b3c7a40f603010fbe153a4 (diff)
downloadopenembedded-core-contrib-a5e22ba9d7b82126c53ad373fa59267c870f7d6b.tar.gz
graphene: remove introspection from PACKAGECONFIG
Assignment of "introspection" as default PACKAGECONFIG value does not reflect gobject-introspection being globally enabled or disabled. As a result, graphene compilation used to fail when g-i was disabled. Use standard means to enable or disable introspection based on machine and distro features, as implemented by gobject-introspection class. Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/graphene/graphene_1.10.8.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-graphics/graphene/graphene_1.10.8.bb b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
index 75c8258d99..120ee80b17 100644
--- a/meta/recipes-graphics/graphene/graphene_1.10.8.bb
+++ b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
@@ -9,14 +9,15 @@ inherit gnomebase gobject-introspection gtk-doc
SRC_URI[archive.sha256sum] = "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a"
-# gtk4 & mutter 41.0 requires graphene build with introspection
# Disable neon support by default on ARM-32 platforms because of the
# following upstream bug: https://github.com/ebassi/graphene/issues/215
-PACKAGECONFIG ?= "introspection ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'neon', '', d)}"
+PACKAGECONFIG ?= "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'neon', '', d)}"
-PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled,"
PACKAGECONFIG[neon] = "-Darm_neon=true,-Darm_neon=false,"
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+
GTKDOC_MESON_OPTION = "gtk_doc"
EXTRA_OEMESON = "-Dinstalled_tests=false"