summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Kubizňák <kubiznak@2n.com>2023-04-03 13:06:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-04 13:11:50 +0100
commit6cce262cc415e42199cf78f79ce5f4d1f7f94c79 (patch)
treead74791f4375f6ddad05e46a8a4b749f66dd2de7
parent93196f698a7aab014d3999e3d21dd4ffd7a05d79 (diff)
downloadpoky-6cce262cc415e42199cf78f79ce5f4d1f7f94c79.tar.gz
graphene: add gobject-types PACKAGECONFIG
Add an option to enable/disable build of graphene-gobject. When enabled, add glib dependency (not pulled in implicitly if the gobject-introspection feature is disabled). Default is to enable gobject-types so that graphene-gobject is built (dependency of gtk4). (From OE-Core rev: b82781498cda67f4797de5b8b7c2b90a275a72e1) Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/graphene/graphene_1.10.8.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/graphene/graphene_1.10.8.bb b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
index 120ee80b17..9f5b4d0e2d 100644
--- a/meta/recipes-graphics/graphene/graphene_1.10.8.bb
+++ b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
@@ -11,8 +11,9 @@ SRC_URI[archive.sha256sum] = "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da3
11 11
12# Disable neon support by default on ARM-32 platforms because of the 12# Disable neon support by default on ARM-32 platforms because of the
13# following upstream bug: https://github.com/ebassi/graphene/issues/215 13# following upstream bug: https://github.com/ebassi/graphene/issues/215
14PACKAGECONFIG ?= "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'neon', '', d)}" 14PACKAGECONFIG ?= "gobject-types ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'neon', '', d)}"
15 15
16PACKAGECONFIG[gobject-types] = "-Dgobject_types=true,-Dgobject_types=false,glib-2.0"
16PACKAGECONFIG[neon] = "-Darm_neon=true,-Darm_neon=false," 17PACKAGECONFIG[neon] = "-Darm_neon=true,-Darm_neon=false,"
17 18
18GIR_MESON_ENABLE_FLAG = 'enabled' 19GIR_MESON_ENABLE_FLAG = 'enabled'