forked from gaphor/gaphor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.gaphor.Gaphor.json
81 lines (81 loc) · 1.78 KB
/
org.gaphor.Gaphor.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
{
"app-id": "org.gaphor.Gaphor.Devel",
"runtime": "org.gnome.Platform",
"runtime-version": "45",
"tags": [
"devel",
"development",
"nightly"
],
"sdk": "org.gnome.Sdk",
"command": "gaphor",
"build-options": {
"build-args": [
"--share=network"
],
"test-args": [
"--socket=wayland"
]
},
"finish-args": [
"--socket=fallback-x11",
"--share=ipc",
"--socket=wayland",
"--device=dri",
"--socket=session-bus"
],
"modules": [
{
"name": "fake-graphviz",
"buildsystem": "simple",
"build-commands": [
"mkdir -p ${FLATPAK_DEST}/bin",
"cp dot ${FLATPAK_DEST}/bin/dot",
"chmod +x ${FLATPAK_DEST}/bin/dot"
],
"sources": [
{
"type": "file",
"path": "_packaging/flatpak-devel/dot"
}
]
},
{
"name": "install",
"buildsystem": "simple",
"build-commands": [
"pip3 install --prefix=${FLATPAK_DEST} poetry",
"${FLATPAK_DEST}/bin/poetry export --output=requirements.txt",
"pip3 install --no-cache-dir --ignore-installed --prefix=${FLATPAK_DEST} -r requirements.txt"
],
"sources": [
{
"type": "file",
"path": "pyproject.toml"
},
{
"type": "file",
"path": "poetry.lock"
}
]
},
{
"name": "gaphor",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-cache-dir --ignore-installed --prefix=${FLATPAK_DEST} .",
"gaphor install-schemas --schemas-dir=/app/share/glib-2.0/schemas"
],
"sources": [
{
"type": "dir",
"path": "."
}
],
"run-tests": true,
"test-commands": [
"gaphor self-test"
]
}
]
}