luv: bump to 1.52.1_0 (#13840)

This commit is contained in:
nilFinx
2026-03-25 07:51:10 +01:00
committed by GitHub
parent f40393bd05
commit 21ff5b5e48
2 changed files with 35 additions and 1 deletions

View File

@@ -5,8 +5,9 @@ COPYRIGHT="2014 The Luvit Authors"
LICENSE="Apache v2"
REVISION="1"
SOURCE_URI="https://github.com/luvit/luv/archive/refs/tags/${portVersion//_/-}.tar.gz"
CHECKSUM_SHA256="e64cd8a0197449288b37df6ca058120e8d2308fc305f543162b5bf3e92273a05"
CHECKSUM_SHA256="e8b8774b31d24be4fcf2b021b90599ecccc8e476c61efcc59c3c10cab813a885"
SOURCE_DIR="luv-${portVersion//_/-}"
PATCHES="luv-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
if [ "$targetArchitecture" = x86_gcc2 ]; then
@@ -45,6 +46,10 @@ BUILD_PREREQUIRES="
cmd:cmake
"
TEST_REQUIRES="
cmd:lua5.4
"
BUILD()
{
LUAVERSION=$(lua -v | sed 's/Lua //' | head -c3)
@@ -74,3 +79,8 @@ INSTALL()
packageEntries devel $developDir
}
TEST()
{
make test
}

View File

@@ -0,0 +1,24 @@
From b834c9fe429dbcbb811385f99385d06235b6dd7c Mon Sep 17 00:00:00 2001
From: nilFinx <nulflox@disroot.org>
Date: Tue, 17 Mar 2026 16:46:31 +0900
Subject: Fix test
diff --git a/Makefile b/Makefile
index 70679fe..ed51b01 100644
--- a/Makefile
+++ b/Makefile
@@ -68,8 +68,8 @@ install: luv
clean:
rm -rf $(BUILD_DIR) luv$(LUV_EXT)
-test: luv
- ${LUABIN} tests/run.lua
+test:
+ LUA_CPATH=";build/?.so" lua tests/run.lua
$(MAKE) -C $(BUILD_DIR) test
$(BUILD_DIR)/test tests/manual-test-external-loop.lua
--
2.52.0