diff mbox series

[meta-oe,2/4] luv: add recipe for 1.53.0

Message ID 20261119104903.176376-3-f_l_k@t-online.de
State Under Review
Headers show
Series tree-sitter grammars and neovim | expand

Commit Message

Markus Volk Nov. 19, 2026, 10:47 a.m. UTC
luv provides libuv bindings for LuaJIT and Lua and is a build
dependency of neovim. Built as a shared library against the system
libuv and LuaJIT from the release tarball, which carries the
lua-compat-5.3 sources the build needs.

Tested on intel-corei7-64 by building neovim against it.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-oe/recipes-devtools/luv/luv_1.53.0.bb | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/luv/luv_1.53.0.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/luv/luv_1.53.0.bb b/meta-oe/recipes-devtools/luv/luv_1.53.0.bb
new file mode 100644
index 0000000000..1611b31366
--- /dev/null
+++ b/meta-oe/recipes-devtools/luv/luv_1.53.0.bb
@@ -0,0 +1,24 @@ 
+SUMMARY = "libuv bindings for LuaJIT and Lua"
+HOMEPAGE = "https://github.com/luvit/luv"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+LUV_REV = "1"
+SRC_URI = "https://github.com/luvit/luv/releases/download/${PV}-${LUV_REV}/luv-${PV}-${LUV_REV}.tar.gz"
+SRC_URI[sha256sum] = "569b488d5d31609ea466a6c70e008a42661ec773ea1584d3d766d46280ab7cf4"
+
+S = "${UNPACKDIR}/luv-${PV}-${LUV_REV}"
+
+DEPENDS = "luajit libuv"
+
+inherit cmake
+
+EXTRA_OECMAKE = " \
+    -DBUILD_SHARED_LIBS=ON \
+    -DWITH_SHARED_LIBUV=ON \
+    -DBUILD_MODULE=OFF \
+    -DLUA_BUILD_TYPE=System \
+    -DWITH_LUA_ENGINE=LuaJIT \
+"
+
+BBCLASSEXTEND = "native"