lua-sdl2: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [Thomas: add missing !BR2_STATIC_LIBS dependency, inherited from SDL2.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
a8fc9a3bde
commit
3703edb516
|
@ -567,6 +567,7 @@ menu "Lua libraries/modules"
|
|||
source "package/lua-messagepack/Config.in"
|
||||
source "package/lua-msgpack-native/Config.in"
|
||||
source "package/lua-periphery/Config.in"
|
||||
source "package/lua-sdl2/Config.in"
|
||||
source "package/lua-testmore/Config.in"
|
||||
source "package/luabitop/Config.in"
|
||||
source "package/luacrypto/Config.in"
|
||||
|
|
16
package/lua-sdl2/Config.in
Normal file
16
package/lua-sdl2/Config.in
Normal file
|
@ -0,0 +1,16 @@
|
|||
config BR2_PACKAGE_LUA_SDL2
|
||||
bool "lua-sdl2"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_SDL2
|
||||
select BR2_PACKAGE_SDL2_IMAGE
|
||||
select BR2_PACKAGE_SDL2_MIXER
|
||||
select BR2_PACKAGE_SDL2_NET
|
||||
select BR2_PACKAGE_SDL2_TTF
|
||||
help
|
||||
Lua-SDL2 is a pure C binding of SDL2 to Lua 5.1, Lua 5.2,
|
||||
Lua 5.3, and LuaJIT.
|
||||
|
||||
https://github.com/Tangent128/luasdl2
|
||||
|
||||
comment "lua-sdl2 needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
2
package/lua-sdl2/lua-sdl2.hash
Normal file
2
package/lua-sdl2/lua-sdl2.hash
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Locally calculated
|
||||
sha256 36b626485529f318f284e0cc0c806d5a425fbde4e1e6329d4d5ee9f495ecff62 lua-sdl2-2.0.5.6.0-1.src.rock
|
13
package/lua-sdl2/lua-sdl2.mk
Normal file
13
package/lua-sdl2/lua-sdl2.mk
Normal file
|
@ -0,0 +1,13 @@
|
|||
################################################################################
|
||||
#
|
||||
# lua-sdl2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUA_SDL2_VERSION = 2.0.5.6.0-1
|
||||
LUA_SDL2_LICENSE = ISC
|
||||
LUA_SDL2_SUBDIR = luasdl2-2.0.5-6.0
|
||||
LUA_SDL2_LICENSE_FILES = $(LUA_SDL2_SUBDIR)/LICENSE
|
||||
LUA_SDL2_DEPENDENCIES = sdl2 sdl2_image sdl2_mixer sdl2_net sdl2_ttf
|
||||
|
||||
$(eval $(luarocks-package))
|
Loading…
Reference in a new issue