/
org.gnome.gitlab.somas.Apostrophe.json
171 lines (171 loc) · 5.54 KB
/
org.gnome.gitlab.somas.Apostrophe.json
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"app-id": "org.gnome.gitlab.somas.Apostrophe",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"command": "apostrophe",
"finish-args": [
"--socket=fallback-x11",
"--socket=wayland",
"--share=ipc",
"--share=network",
"--device=dri",
"--filesystem=host",
"--filesystem=xdg-run/gvfsd",
"--talk-name=org.gtk.vfs.*",
"--env=PATH=/app/bin:/usr/bin:/app/extensions/TexLive/2018/bin/x86_64-linux/:/app/extensions/TexLive/2018/bin/aarch64-linux/"
],
"cleanup": [
"/lib/pkgconfig",
"/share/vala",
"/share/gir-1.0",
"/share/gtk-doc"
],
"add-extensions": {
"org.gnome.gitlab.somas.Apostrophe.Plugin": {
"directory": "extensions",
"version": "stable",
"subdirectories": true,
"no-autodownload": true,
"autodelete": true
}
},
"modules": [
{
"name": "pandoc",
"buildsystem": "simple",
"build-commands": [
"mkdir /app/bin",
"cp bin/pandoc /app/bin/pandoc"
],
"sources": [
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://github.com/jgm/pandoc/releases/download/3.1.8/pandoc-3.1.8-linux-amd64.tar.gz",
"sha512": "d09fac84c6bba940cc9a57e70c72cce107032d404a33a284687d607baf862bfadae58e8888c326fafb330e1e22a14cdc120d015a17a5dc8dbf795603af0436bf",
"only-arches": [
"x86_64"
],
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/jgm/pandoc/releases/latest",
"version-query": ".tag_name",
"url-query": ".assets[] | select(.name==\"pandoc-\" + $version + \"-linux-amd64.tar.gz\") | .browser_download_url"
}
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://github.com/jgm/pandoc/releases/download/3.1.8/pandoc-3.1.8-linux-arm64.tar.gz",
"sha512": "4f5d4c643e859d3a77faf48992aa64bef898da76312c4cbbb6cab5f772e5ab8085767938cfa50cb778078dfb4a4cdcf5073fbba6c3941305563b61e920c21a35",
"only-arches": [
"aarch64"
],
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/jgm/pandoc/releases/latest",
"version-query": ".tag_name",
"url-query": ".assets[] | select(.name==\"pandoc-\" + $version + \"-linux-arm64.tar.gz\") | .browser_download_url"
}
}
]
},
"python3-modules.json",
{
"name": "fira",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/share/fonts/",
"install -D ttf/FiraSans-Regular.ttf /app/share/fonts/",
"install -D ttf/FiraMono-Regular.ttf /app/share/fonts/",
"install -D ttf/FiraMono-Bold.ttf /app/share/fonts/",
"install -D ttf/FiraMono-Medium.ttf /app/share/fonts/",
"fc-cache -f -v"
],
"sources": [
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://api.github.com/repos/mozilla/Fira/tarball/4.202",
"sha512": "ab9f00c7290aa252448b0730cecccfea07cd99daec09883d261cc49b88b1dadd13e951511517a359646ebd94e6cd13861f468437d26465a079cf2b86ab999356",
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/mozilla/Fira/releases/latest",
"version-query": ".tag_name",
"url-query": ".tarball_url"
}
}
]
},
{
"name": "revealjs",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/share/apostrophe/libs/reveal.js/",
"cp -r * /app/share/apostrophe/libs/reveal.js/"
],
"sources": [
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://api.github.com/repos/hakimel/reveal.js/tarball/4.6.0",
"sha512": "96d6839264ba7b26fa281ca8b3c881dccc43e8338eaf397685a46885bd2685d301def9c33bfac65b46dfe35b51edd27df84f195ff01fb2993ebc43dd0017b4e2",
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/hakimel/reveal.js/releases/latest",
"version-query": ".tag_name",
"url-query": ".tarball_url"
}
}
]
},
{
"name": "sourceview",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/gtksourceview/5.12/gtksourceview-5.12.0.tar.xz",
"sha256": "daf32ff5d3150d6385917d3503a85b9e047ba158b2b03079314c9c00813fa01f"
},
{
"type": "patch",
"path": "sourceview_text_commits.patch"
}
]
},
{
"name": "libspelling",
"buildsystem": "meson",
"config-opts": ["-Ddocs=false", "-Dvapi=false"],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libspelling/0.2/libspelling-0.2.1.tar.xz",
"sha256": "7a787b467bd493f6baffb44138dbc4bef78aaab60efb76a7db88b243bf0f6343"
},
{
"type": "patch",
"path": "libspelling_text_commits.patch"
}
]
},
{
"name": "apostrophe",
"builddir": true,
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/World/apostrophe.git",
"tag": "v3.0",
"commit": "dff1c5ee3669c44e1400e78ac3128c23877439c1"
}
],
"post-install": [
"install -d /app/extensions"
]
}
]
}