forked from flathub/com.google.AndroidStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.google.AndroidStudio.json
More file actions
90 lines (90 loc) · 3.42 KB
/
com.google.AndroidStudio.json
File metadata and controls
90 lines (90 loc) · 3.42 KB
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
{
"app-id": "com.google.AndroidStudio",
"runtime": "org.freedesktop.Sdk",
"runtime-version": "22.08",
"sdk": "org.freedesktop.Sdk",
"command": "android-studio",
"finish-args": [
"--socket=x11",
"--socket=wayland",
"--socket=pulseaudio",
"--socket=ssh-auth",
"--share=ipc",
"--share=network",
"--device=all",
"--filesystem=host",
"--filesystem=xdg-run/keyring",
"--allow=multiarch",
"--env=JAVA_HOME=/app/extra/android-studio/jbr",
"--talk-name=org.freedesktop.Notifications",
"--talk-name=org.freedesktop.secrets",
"--talk-name=org.freedesktop.Flatpak"
],
"modules": [
{
"name": "android-studio",
"buildsystem": "simple",
"build-commands": [
"install -D apply_extra /app/bin/apply_extra",
"install -D android-studio.sh /app/bin/android-studio",
"install -Dm644 com.google.AndroidStudio.png /app/share/icons/hicolor/128x128/apps/com.google.AndroidStudio.png",
"install -Dm644 com.google.AndroidStudio.appdata.xml /app/share/appdata/com.google.AndroidStudio.appdata.xml",
"install -Dm644 com.google.AndroidStudio.desktop /app/share/applications/com.google.AndroidStudio.desktop"
],
"sources": [
{
"type": "file",
"path": "com.google.AndroidStudio.desktop"
},
{
"type": "file",
"path": "com.google.AndroidStudio.appdata.xml"
},
{
"type": "file",
"path": "com.google.AndroidStudio.png"
},
{
"type": "extra-data",
"filename": "android-studio.tar.gz",
"size": 1159467189,
"only-arches": [
"x86_64"
],
"url": "https://dl.google.com/dl/android/studio/ide-zips/2022.3.1.18/android-studio-2022.3.1.18-linux.tar.gz",
"sha256": "24215e1324a6ac911810b2cc1afb2d735cf745dfbc06918a42b8d6fbc6bf7433"
},
{
"type": "script",
"dest-filename": "apply_extra",
"commands": [
"tar xzf /app/extra/android-studio.tar.gz",
"rm -f /app/extra/android-studio.tar.gz"
]
},
{
"type": "script",
"dest-filename": "android-studio.sh",
"commands": [
"exec env \"PATH=$PATH:$EXTRA_PATH\" /app/extra/android-studio/bin/studio.sh"
]
}
]
},
{
"name": "git-lfs",
"buildsystem": "simple",
"build-commands": [
"PREFIX=$FLATPAK_DEST ./install.sh"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/git-lfs/git-lfs/releases/download/v3.2.0/git-lfs-linux-amd64-v3.2.0.tar.gz",
"sha256": "d6730b8036d9d99f872752489a331995930fec17b61c87c7af1945c65a482a50"
}
]
},
"shared-modules/libsecret/libsecret.json"
]
}