summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/graphene
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-02-14 06:43:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-15 10:21:35 +0000
commit491a323d0866e85d6ebf621baade2924ad474a78 (patch)
tree0dd8745cccecb00070bf328eb3e19d1134659a34 /meta/recipes-graphics/graphene
parent45d30727926ba8d673df9a01687ba0f809024abf (diff)
downloadpoky-491a323d0866e85d6ebf621baade2924ad474a78.tar.gz
graphene: add a PACKAGECONFIG for arm_neon
Not all arm platforms support neon and runtime detection for this feature is currently not reliable. Disable neon support by default on ARM-32 platforms because of the following upstream bug: https://github.com/ebassi/graphene/issues/215 Enable neon for aarch64 by default (From OE-Core rev: 72778f6a647f47926c6ba1b77f0984999a22e44a) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/graphene')
-rw-r--r--meta/recipes-graphics/graphene/graphene_1.10.8.bb6
1 files changed, 5 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 813ff74adf..75c8258d99 100644
--- a/meta/recipes-graphics/graphene/graphene_1.10.8.bb
+++ b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
@@ -10,8 +10,12 @@ inherit gnomebase gobject-introspection gtk-doc
10SRC_URI[archive.sha256sum] = "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a" 10SRC_URI[archive.sha256sum] = "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a"
11 11
12# gtk4 & mutter 41.0 requires graphene build with introspection 12# gtk4 & mutter 41.0 requires graphene build with introspection
13PACKAGECONFIG ?= "introspection" 13# Disable neon support by default on ARM-32 platforms because of the
14# following upstream bug: https://github.com/ebassi/graphene/issues/215
15PACKAGECONFIG ?= "introspection ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'neon', '', d)}"
16
14PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled," 17PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled,"
18PACKAGECONFIG[neon] = "-Darm_neon=true,-Darm_neon=false,"
15 19
16GTKDOC_MESON_OPTION = "gtk_doc" 20GTKDOC_MESON_OPTION = "gtk_doc"
17 21