libpeas: Disable lua support on architectures without luajit port
PATCH 1/1 libpeas: Disable lua support on architectures without luajit port
Signed-off-by Khem Raj <[email protected]>
--- meta-gnome/recipes-gnome/libpeas/libpeas_2.0.5.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-gnome/recipes-gnome/libpeas/libpeas_2.0.5.bb +5 -0
@@ -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"
PATCH 1/1 lua-lgi: Disable on architecture without luajit port
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb +6 -0
@@ -22,3 +22,9 @@ inherit meson pkgconfig EXTRA_OEMESON += "--buildtype release -Dtests=false" FILES:${PN} = "${libdir} ${datadir}" + +# ppc64/riscv64/riscv32 is not supported on luajit +COMPATIBLE_HOST:riscv32 = "null" +COMPATIBLE_HOST:riscv64 = "null" +COMPATIBLE_HOST:powerpc64 = "null" +COMPATIBLE_HOST:powerpc64le = "null"