-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathflatpak.json
46 lines (46 loc) · 1.08 KB
/
flatpak.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
{
"app-id": "com.github.eyelash.xi-gtk",
"runtime": "org.gnome.Platform",
"runtime-version": "3.36",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
"command": "xi-gtk",
"finish-args": [
"--socket=x11",
"--socket=wayland",
"--filesystem=home"
],
"modules": [
{
"name": "xi-core",
"sources": [
{
"type": "git",
"url": "https://github.com/xi-editor/xi-editor"
}
],
"subdir": "rust",
"buildsystem": "simple",
"build-commands": [
"cargo build --all --release",
"install -D target/release/xi-core /app/bin/xi-core",
"install -D target/release/xi-syntect-plugin /app/share/xi-gtk/plugins/syntect/bin/xi-syntect-plugin",
"install -D syntect-plugin/manifest.toml /app/share/xi-gtk/plugins/syntect/manifest.toml"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin",
"build-args": ["--share=network"]
}
},
{
"name": "xi-gtk",
"sources": [
{
"type": "git",
"url": "https://github.com/eyelash/xi-gtk"
}
],
"buildsystem": "meson"
}
]
}