-
Notifications
You must be signed in to change notification settings - Fork 0
/
luafontmanager-0.1.0-1.rockspec
74 lines (74 loc) · 1.75 KB
/
luafontmanager-0.1.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package = "luafontmanager"
version = "0.1.0-1"
source = {
url = "git+https://github.com/deepakjois/luafontmanager",
tag = "v0.1.0"
}
description = {
summary = "A Lua module to access the system font catalog",
homepage = "https://github.com/deepakjois/luafontmanager",
license = "MIT"
}
supported_platforms = {
"linux",
"macosx",
"windows"
}
dependencies = {
"lua >= 5.2, < 5.4"
}
external_dependencies = {
platforms = {
linux = {
FONTCONFIG = {
header = "fontconfig/fontconfig.h"
}
}
}
}
build = {
type = "builtin",
modules = {
fontmanager = "src/fontmanager.lua"
},
platforms = {
linux = {
modules = {
luafontmanager = {
incdirs = {
"$(FONTCONFIG_INCDIR)/fontconfig"
},
libdirs = {
"$(FONTCONFIG_LIBDIR)"
},
libraries = {
"fontconfig"
},
sources = {
"src/luafontmanager/luafontmanager.c",
"src/luafontmanager/fonts_fontconfig.c"
}
}
}
},
macosx = {
build_variables = {
CFLAGS = "$(CFLAGS)",
LIBFLAG = "$(LIBFLAG)",
LUA = "$(LUA)",
LUA_BINDIR = "$(LUA_BINDIR)",
LUA_INCDIR = "$(LUA_INCDIR)",
LUA_LIBDIR = "$(LUA_LIBDIR)"
},
install_variables = {
INST_BINDIR = "$(BINDIR)",
INST_CONFDIR = "$(CONFDIR)",
INST_LIBDIR = "$(LIBDIR)",
INST_LUADIR = "$(LUADIR)",
INST_PREFIX = "$(PREFIX)"
},
makefile = "Makefile.osx",
type = "make"
}
}
}