lua-lgi: add recipe

gobject bindings for lua

Required to build the lua51 loader for libpeas-2

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2024-12-16 13:15:26 +01:00 committed by Khem Raj
parent c807ead7aa
commit dd241e2406
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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}"