From bd8748209b4f0637a8f659e18039de49db3f4757 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 17 Dec 2024 12:34:27 -0800 Subject: [PATCH] libpeas: Disable lua support on architectures without luajit port Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/libpeas/libpeas_2.0.5.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-gnome/recipes-gnome/libpeas/libpeas_2.0.5.bb b/meta-gnome/recipes-gnome/libpeas/libpeas_2.0.5.bb index 8c7d364765..557831da6e 100644 --- a/meta-gnome/recipes-gnome/libpeas/libpeas_2.0.5.bb +++ b/meta-gnome/recipes-gnome/libpeas/libpeas_2.0.5.bb @@ -11,6 +11,11 @@ SRC_URI += "file://disable-lgi-check.patch" SRC_URI[archive.sha256sum] = "376f2f73d731b54e13ddbab1d91b6382cf6a980524def44df62add15489de6dd" PACKAGECONFIG ?= "python3 gjs lua51 ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection', 'vala', '', d)}" +PACKAGECONFIG:remove:riscv32 = "lua51" +PACKAGECONFIG:remove:riscv64 = "lua51" +PACKAGECONFIG:remove:powerpc64 = "lua51" +PACKAGECONFIG:remove:powerpc64le = "lua51" + PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject,python3-pygobject" PACKAGECONFIG[gjs] = "-Dgjs=true,-Dgjs=false,gjs mozjs-128" PACKAGECONFIG[lua51] = "-Dlua51=true,-Dlua51=false,luajit luajit-native,lua-lgi"