pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul  9 10:04:25 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/lua-sdl2: DESCR Makefile PLIST distinfo

Log Message:
devel: Add lua-sdl2

Lua-SDL2 is a portable binding of SDL2, written in pure C for efficiency.
It tries to stay as close to SDL as possible, acting as a simple binding
rather than attempting to re-design the interaction between the programmer
and SDL.

Lua-SDL2 takes full advantage of Lua's object-oriented capabilities wherever
possible, allowing the programmer to fully leverage SDL's inherent
object-oriented design.


To generate a diff of this commit:
cvs rdiff -u -r1.3165 -r1.3166 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-sdl2/DESCR \
    pkgsrc/devel/lua-sdl2/Makefile pkgsrc/devel/lua-sdl2/PLIST \
    pkgsrc/devel/lua-sdl2/distinfo

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3165 pkgsrc/devel/Makefile:1.3166
--- pkgsrc/devel/Makefile:1.3165        Wed Jul  8 16:23:23 2020
+++ pkgsrc/devel/Makefile       Thu Jul  9 10:04:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3165 2020/07/08 16:23:23 nia Exp $
+# $NetBSD: Makefile,v 1.3166 2020/07/09 10:04:25 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -876,6 +876,7 @@ SUBDIR+=    lua-penlight
 SUBDIR+=       lua-posix
 SUBDIR+=       lua-rocks
 SUBDIR+=       lua-say
+SUBDIR+=       lua-sdl2
 SUBDIR+=       lua-std-_debug
 SUBDIR+=       lua-std-normalize
 SUBDIR+=       lua-stdlib

Added files:

Index: pkgsrc/devel/lua-sdl2/DESCR
diff -u /dev/null pkgsrc/devel/lua-sdl2/DESCR:1.1
--- /dev/null   Thu Jul  9 10:04:26 2020
+++ pkgsrc/devel/lua-sdl2/DESCR Thu Jul  9 10:04:25 2020
@@ -0,0 +1,8 @@
+Lua-SDL2 is a portable binding of SDL2, written in pure C for efficiency.
+It tries to stay as close to SDL as possible, acting as a simple binding
+rather than attempting to re-design the interaction between the programmer
+and SDL.
+
+Lua-SDL2 takes full advantage of Lua's object-oriented capabilities wherever
+possible, allowing the programmer to fully leverage SDL's inherent
+object-oriented design.
Index: pkgsrc/devel/lua-sdl2/Makefile
diff -u /dev/null pkgsrc/devel/lua-sdl2/Makefile:1.1
--- /dev/null   Thu Jul  9 10:04:26 2020
+++ pkgsrc/devel/lua-sdl2/Makefile      Thu Jul  9 10:04:25 2020
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/07/09 10:04:25 nia Exp $
+
+DISTNAME=      luasdl2-2.0.5.6.0
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/^lua//1}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=Tangent128/}
+GITHUB_PROJECT=        luasdl2
+GITHUB_TAG=    v2.0.5-6.0
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Tangent128/luasdl2
+COMMENT=       Pure C binding of SDL 2.0 for Lua
+LICENSE=       isc
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+=   -DWITH_DOCSDIR="share/doc/${PKGNAME_NOREV}"
+CMAKE_ARGS+=   -DWITH_LUAVER="user"
+CMAKE_ARGS+=   -DLUA_LIBDIR=${LUA_CDIR}
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../fonts/SDL2_ttf/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../net/SDL2_net/buildlink3.mk"
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-sdl2/PLIST
diff -u /dev/null pkgsrc/devel/lua-sdl2/PLIST:1.1
--- /dev/null   Thu Jul  9 10:04:26 2020
+++ pkgsrc/devel/lua-sdl2/PLIST Thu Jul  9 10:04:25 2020
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/09 10:04:25 nia Exp $
+${LUA_CDIR}/SDL.so
+${LUA_CDIR}/SDL/image.so
+${LUA_CDIR}/SDL/mixer.so
+${LUA_CDIR}/SDL/net.so
+${LUA_CDIR}/SDL/ttf.so
+share/doc/${PKGNAME}/examples/audio/audio-processor.lua
+share/doc/${PKGNAME}/examples/audio/audio.lua
+share/doc/${PKGNAME}/examples/audio/gun.wav
+share/doc/${PKGNAME}/examples/font/DejaVuSans.ttf
+share/doc/${PKGNAME}/examples/font/font.lua
+share/doc/${PKGNAME}/examples/image/Lua-SDL2.png
+share/doc/${PKGNAME}/examples/image/image.lua
+share/doc/${PKGNAME}/examples/joystick/joystick.lua
+share/doc/${PKGNAME}/examples/keyboard/keyboard.lua
+share/doc/${PKGNAME}/examples/paths/paths.lua
+share/doc/${PKGNAME}/examples/rwops/rwops.lua
+share/doc/${PKGNAME}/examples/tcp/client.lua
+share/doc/${PKGNAME}/examples/tcp/server.lua
+share/doc/${PKGNAME}/examples/threads/channel.lua
+share/doc/${PKGNAME}/examples/udp/client.lua
+share/doc/${PKGNAME}/examples/udp/server.lua
+share/doc/${PKGNAME}/tutorials/01-initialization/tutorial.lua
+share/doc/${PKGNAME}/tutorials/02-window/tutorial.lua
+share/doc/${PKGNAME}/tutorials/03-events/tutorial.lua
+share/doc/${PKGNAME}/tutorials/04-drawing/Lua-SDL2.png
+share/doc/${PKGNAME}/tutorials/04-drawing/tutorial.lua
+share/doc/${PKGNAME}/tutorials/05-sound/gun.wav
+share/doc/${PKGNAME}/tutorials/05-sound/tutorial.lua
+share/doc/${PKGNAME}/tutorials/06-text/DejaVuSans.ttf
+share/doc/${PKGNAME}/tutorials/06-text/tutorial.lua
+share/doc/${PKGNAME}/tutorials/07-bouncing/Lua-SDL2.png
+share/doc/${PKGNAME}/tutorials/07-bouncing/tutorial.lua
Index: pkgsrc/devel/lua-sdl2/distinfo
diff -u /dev/null pkgsrc/devel/lua-sdl2/distinfo:1.1
--- /dev/null   Thu Jul  9 10:04:26 2020
+++ pkgsrc/devel/lua-sdl2/distinfo      Thu Jul  9 10:04:25 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/09 10:04:25 nia Exp $
+
+SHA1 (luasdl2-2.0.5.6.0.tar.gz) = 44ba8a90dfb1a20e10badea65bcbc56863eb413b
+RMD160 (luasdl2-2.0.5.6.0.tar.gz) = aa999efd4c4cf524c0d360edac8d79f44873e6e8
+SHA512 (luasdl2-2.0.5.6.0.tar.gz) = 9c10c15f24fc46b4e4c3de9545dd1b680bd740d0e9f76e4aa799534b0d447a690623815b1d6034b1a1e3d81ae6d86f4e922dbac1eae659f343dd54949db60998
+Size (luasdl2-2.0.5.6.0.tar.gz) = 11147375 bytes



Home | Main Index | Thread Index | Old Index