From 7afbcf349dc66f95fc02ca819851c39e44500c9c Mon Sep 17 00:00:00 2001 From: s-ol Date: Mon, 13 Apr 2026 20:13:25 +0200 Subject: fix rockspec --- abletonlink-1.1.0-2.rockspec | 63 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 abletonlink-1.1.0-2.rockspec (limited to 'abletonlink-1.1.0-2.rockspec') diff --git a/abletonlink-1.1.0-2.rockspec b/abletonlink-1.1.0-2.rockspec new file mode 100644 index 0000000..d9c5981 --- /dev/null +++ b/abletonlink-1.1.0-2.rockspec @@ -0,0 +1,63 @@ +rockspec_format = "3.0" +package = "abletonlink" +version = "1.1.0-2" +source = { + url = 'git+https://git.s-ol.nu/lua-abletonlink.git', + tag = 'v1.1.0', +} +description = { + summary = "Ableton Link bindings for Lua", + detailed = [[ +Lightweight wrapper of the Ableton Link C API (abl_link). + +https://github.com/Ableton/link/tree/master/extensions/abl_link + ]], + homepage = "https://git.s-ol.nu/lua-abletonlink/-/", + license = "GPL-2.0-or-later", +} + +dependencies = { + "lua >= 5.1", +} +build = { + type = 'builtin', + modules = { + -- C module + abletonlink = { + sources = { + 'abletonlink.c', + 'tinycthread.c', + 'link/extensions/abl_link/src/abl_link.cpp', + }, + incdirs = { + 'link/include', + 'link/extensions/abl_link/include', + 'link/modules/asio-standalone/asio/include', + }, + libraries = {'stdc++'}, + }, + }, + platforms = { + linux = { + modules = { + abletonlink = { + defines = {'LINK_PLATFORM_LINUX'}, + }, + }, + }, + windows = { + modules = { + abletonlink = { + defines = {'LINK_PLATFORM_WINDOWS'}, + }, + }, + }, + macosx = { + modules = { + abletonlink = { + defines = {'LINK_PLATFORM_MACOSX'}, + }, + }, + }, + }, +} -- cgit v1.2.3