pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lua-luv: sync with main pkgsrc, update to luv-1.43.0-0



Module Name:	pkgsrc-wip
Committed By:	Claes Nästén <pekdon%gmail.com@localhost>
Pushed By:	pekdon
Date:		Sat Mar 12 20:50:58 2022 +0100
Changeset:	5100845125f1c12b6118f8f3854891b6b4f61993

Modified Files:
	lua-luv/Makefile
	lua-luv/distinfo

Log Message:
lua-luv: sync with main pkgsrc, update to luv-1.43.0-0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5100845125f1c12b6118f8f3854891b6b4f61993

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-luv/Makefile | 19 +++++++++++++++----
 lua-luv/distinfo | 10 ++++------
 2 files changed, 19 insertions(+), 10 deletions(-)

diffs:
diff --git a/lua-luv/Makefile b/lua-luv/Makefile
index 022c9e4fa8..9be2d3bd7a 100644
--- a/lua-luv/Makefile
+++ b/lua-luv/Makefile
@@ -1,17 +1,23 @@
-# $NetBSD: Makefile,v 1.2 2021/05/13 10:23:10 nia Exp $
+# $NetBSD$
 
-DISTNAME=	luv-1.41.0-0
-PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME:S/-0//1}
+DISTNAME=	luv-1.43.0-0
+PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME:S/-0$//1}
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=luvit/}
 GITHUB_PROJECT=	luv
-GITHUB_RELEASE=	${PKGVERSION_NOREV}-0
+GITHUB_TAG=	${DISTNAME:S/^luv-//1}
 
 MAINTAINER=	nia%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/luvit/luv
 COMMENT=	Bare libuv bindings for Lua
 LICENSE=	apache-2.0
 
+.include "../../lang/lua/luaversion.mk"
+
+.if ${_LUA_VERSION} == "51" || ${_LUA_VERSION} == "52"
+DEPENDS+=	${LUA_PKGPREFIX}-compat53-[0-9]*:../../devel/lua-compat53
+.endif
+
 USE_CMAKE=	yes
 
 CMAKE_ARGS+=	-DWITH_SHARED_LIBUV=ON
@@ -20,6 +26,11 @@ CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=ON
 CMAKE_ARGS+=	-DLUA_BUILD_TYPE=System
 CMAKE_ARGS+=	-DWITH_LUA_ENGINE=Lua
 
+pre-configure:
+.if ${_LUA_VERSION} == "51" || ${_LUA_VERSION} == "52"
+	${CP} ${PREFIX}/${LUA_INCDIR}/compat-5.3.* ${WRKSRC}/src
+.endif
+
 .include "../../lang/lua/module.mk"
 .include "../../devel/libuv/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/lua-luv/distinfo b/lua-luv/distinfo
index 97c1c7dedf..1abc534cac 100644
--- a/lua-luv/distinfo
+++ b/lua-luv/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.2 2021/05/13 10:23:10 nia Exp $
+$NetBSD$
 
-RMD160 (luv-1.41.0-0.tar.gz) = da2d8d2bb0451663af816bf91800f5b71af6164f
-SHA512 (luv-1.41.0-0.tar.gz) = ae6a74619988c972df3bf8f00330da981d70e64713d7ad68528e93e5ac118a28523b4de2a559cb537893f7df93bba0b0bb67559a538cf0e55eaced76f11ba26e
-Size (luv-1.41.0-0.tar.gz) = 1430613 bytes
-SHA1 (patch-src_luv.c) = 52ec94671dfdc86e421119ddca13646ee7c6e2e2
-SHA1 (patch-src_private.h) = f086e40c912851a319626986840fe75eeb0e52f5
+BLAKE2s (luv-1.43.0-0.tar.gz) = 9a7d0247373b79cffec08a44b103b8b0985a2f62ef6d4a7fd31e80ca20a175da
+SHA512 (luv-1.43.0-0.tar.gz) = f51d9b3c733dd5617fca49534fdd77dbb6a3d6f58263f453db8dcde21679f4a471e15d6f5b05bcb22a2552455df8beb238d33b0999306bf2a5ad6755da4044ff
+Size (luv-1.43.0-0.tar.gz) = 122337 bytes


Home | Main Index | Thread Index | Old Index