Browse Source

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>
Markus Volk 10 months ago
parent
commit
dd241e2406
1 changed files with 24 additions and 0 deletions
  1. 24 0
      meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb

+ 24 - 0
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}"