diff mbox series

[meta-oe,2/3] lua-lgi: add recipe

Message ID 20241216121527.1428075-2-f_l_k@t-online.de
State Accepted
Headers show
Series [meta-oe,1/3] luajit: update | expand

Commit Message

Markus Volk Dec. 16, 2024, 12:15 p.m. UTC
gobject bindings for lua

Required to build the lua51 loader for libpeas-2

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb | 24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb b/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
new file mode 100644
index 0000000000..1584a931c7
--- /dev/null
+++ b/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
@@ -0,0 +1,24 @@ 
+SUMMARY = "LGI is gobject-introspection based dynamic Lua binding to GObject based libraries."
+HOMEPAGE = "https://https://github.com/pavouk/lgi"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a77b7838f84aa753d37f88fd9c9ccf7d"
+
+SRC_URI = "git://github.com/pavouk/lgi.git;protocol=https;branch=master"
+
+DEPENDS = " \
+	luajit \
+	luajit-native \
+	cairo \
+	gobject-introspection \
+	gobject-introspection-native \
+"
+
+S = "${WORKDIR}/git"
+SRCREV = "d7666f77e7ee33907c84f5efdef32aef2e1cc196"
+SRCPV = "${PV}+${SRCREV}"
+
+inherit meson pkgconfig
+
+EXTRA_OEMESON += "--buildtype release -Dtests=false"
+
+FILES:${PN} = "${libdir} ${datadir}"