diff mbox series

[meta-gnome] libpeas: Disable lua support on architectures without luajit port

Message ID 20241218171110.680112-1-raj.khem@gmail.com
State New
Headers show
Series [meta-gnome] libpeas: Disable lua support on architectures without luajit port | expand

Commit Message

Khem Raj Dec. 18, 2024, 5:11 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-gnome/recipes-gnome/libpeas/libpeas_2.0.5.bb | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

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"