libpeas: Disable lua support on architectures without luajit port

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2024-12-17 12:34:27 -08:00
parent 0c59f9fc36
commit bd8748209b
@@ -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"