package/lua-lsdbus: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2024-04-03 10:55:24 +02:00 committed by Thomas Petazzoni
parent 35635cdc5b
commit 119cfd836e
4 changed files with 33 additions and 0 deletions

View File

@ -751,6 +751,7 @@ menu "Lua libraries/modules"
source "package/lua-livr/Config.in"
source "package/lua-livr-extra/Config.in"
source "package/lua-lpeg-patterns/Config.in"
source "package/lua-lsdbus/Config.in"
source "package/lua-lunitx/Config.in"
source "package/lua-lunix/Config.in"
source "package/lua-lyaml/Config.in"

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_LUA_LSDBUS
bool "lua-lsdbus"
depends on BR2_PACKAGE_SYSTEMD
select BR2_PACKAGE_MXML
select BR2_PACKAGE_LUA_COMPAT53 if BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
help
Lua D-Bus bindings based on sd-bus and sd-event
https://github.com/kmarkus/lsdbus
comment "lua-lsdbus needs systemd"
depends on !BR2_PACKAGE_SYSTEMD

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 b515cd00c844abc80993e9552d884c71a80a680e47b90a628f1f7bd18b9b821a lua-lsdbus-d132f8b2bd390d0b1c7d17b300190279f92bd494.tar.gz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING

View File

@ -0,0 +1,17 @@
################################################################################
#
# lua-lsdbus
#
################################################################################
LUA_LSDBUS_VERSION = d132f8b2bd390d0b1c7d17b300190279f92bd494
LUA_LSDBUS_SITE = $(call github,kmarkus,lsdbus,$(LUA_LSDBUS_VERSION))
LUA_LSDBUS_DEPENDENCIES = luainterpreter mxml systemd
LUA_LSDBUS_LICENSE = LGPL-2.1
LUA_LSDBUS_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LUA_COMPAT53),y)
LUA_LSDBUS_DEPENDENCIES += lua-compat53
endif
$(eval $(cmake-package))