-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathabletonlink-1.0.0-1.rockspec
58 lines (56 loc) · 1.17 KB
/
abletonlink-1.0.0-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
rockspec_format = "3.0"
package = "abletonlink"
version = "1.0.0-1"
source = {
url = 'git+https://git.s-ol.nu/lua-abletonlink.git',
tag = 'v1.0.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',
'link/extensions/abl_link/src/abl_link.cpp',
},
incdirs = {'link/include', 'link/extensions/abl_link/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'},
},
},
},
},
}