-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.sugarlabs.Calculate.json
56 lines (56 loc) · 2.19 KB
/
org.sugarlabs.Calculate.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
{
"app-id": "org.sugarlabs.Calculate",
"base": "org.sugarlabs.BaseApp",
"base-version": "24.04",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"separate-locales": false,
"command": "sugarapp",
"finish-args": [
"--socket=x11",
"--socket=pulseaudio",
"--share=ipc",
"--device=dri",
"--env=SUGAR_BUNDLE_ID=org.sugarlabs.Calculate",
"--env=SUGAR_BUNDLE_PATH=/app/share/sugar/activities/Calculate.activity"
],
"modules": [
{
"name": "Calculate",
"buildsystem": "simple",
"build-commands": [
"python3 setup.py install --prefix=${FLATPAK_DEST} --skip-install-desktop-file --skip-install-mime"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sugarlabs/calculate-activity",
"commit": "f3bedcf9c4ed967c65f1bd7e1ac18c299c81dff5"
},
{
"type": "patch",
"path": "calculate-port.patch"
},
{
"type": "patch",
"path": "calculate-info.patch"
},
{
"type": "patch",
"path": "calculate-monitors.patch"
}
],
"post-install": [
"sugarapp-gen-mimetypes activity/activity.info mimetypes",
"sugarapp-gen-appdata activity/activity.info appdata",
"sugarapp-gen-desktop activity/activity.info desktop --mimetypes mimetypes",
"install -D mimetypes /app/share/mime/packages/org.sugarlabs.Calculate.xml",
"install -D mimetypes /app/share/sugar/activities/Calculate.activity/activity/mimetypes.xml",
"install -D appdata /app/share/metainfo/org.sugarlabs.Calculate.metainfo.xml",
"install -D desktop /app/share/applications/org.sugarlabs.Calculate.desktop",
"install -D activity/calculate.svg /app/share/icons/hicolor/scalable/apps/org.sugarlabs.Calculate.svg"
]
}
]
}