forked from donadigo/appeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.github.donadigo.appeditor.json
69 lines (69 loc) · 2.24 KB
/
com.github.donadigo.appeditor.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
{
"app-id": "com.github.donadigo.appeditor",
"runtime": "io.elementary.Platform",
"runtime-version": "6.1",
"sdk": "io.elementary.Sdk",
"command": "appeditor-wrapper",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--filesystem=host:ro",
"--filesystem=xdg-data/applications:create",
"--metadata=X-DConf=migrate-path=/com/github/donadigo/appeditor/"
],
"modules": [
{
"name": "glib",
"buildsystem": "meson",
"config-opts": [
"-Dtests=false",
"-Dselinux=disabled",
"-Dinternal_pcre=false"
],
"sources": [
{
"type": "archive",
"path": "external/glib-2.70.0.tar.xz",
"sha256": "200d7df811c5ba634afbf109f14bb40ba7fde670e89389885da14e27c0840742"
},
{
"type": "patch",
"path": "external/glib-appinfo.patch"
}
]
},
{
"name": "wrapper",
"buildsystem": "simple",
"build-commands": [
"install -m755 appeditor-wrapper /app/bin"
],
"sources": [{
"type": "script",
"dest-filename": "appeditor-wrapper",
"commands": [
"export PATH=$PATH:/run/host/usr/bin",
"export XDG_DATA_DIRS=$XDG_DATA_DIRS:/run/host/usr/share:/var/lib/flatpak/exports/share:~/.local/share/flatpak/exports/share",
"com.github.donadigo.appeditor"
]
}]
},
{
"name": "appeditor",
"buildsystem": "meson",
"builddir": true,
"sources": [{
"type": "dir",
"path": "."
}],
"config-opts": [
"--buildtype=release",
"-Dflatpak=true"
],
"post-install": [
"desktop-file-edit --set-key=Exec --set-value=/app/bin/appeditor-wrapper /app/share/applications/com.github.donadigo.appeditor.desktop"
]
}
]
}