forked from flathub/com.dropbox.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.dropbox.Client.json
122 lines (119 loc) · 4.12 KB
/
com.dropbox.Client.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"app-id": "com.dropbox.Client",
"runtime": "org.gnome.Platform",
"runtime-version": "3.28",
"sdk": "org.gnome.Sdk",
"command": "dropbox-app",
"cleanup": [
"/lib/debug"
],
"finish-args": [
"--share=ipc", "--socket=x11",
"--socket=pulseaudio",
"--share=network",
"--filesystem=home",
"--filesystem=/tmp"
],
"modules": [
{
"name": "python3-psutil",
"buildsystem": "simple",
"sources": [
{
"type": "archive",
"url": "https://github.com/giampaolo/psutil/archive/release-5.4.5.tar.gz",
"sha256": "5bf25eff39ba5ba1d00dc94d114012d11b7a6ace62d98943897097d117e0a3f6"
}
],
"build-commands": [
"python3 setup.py build",
"python3 setup.py install --prefix /app"
]
},
{
"name": "dropbox-app",
"buildsystem": "simple",
"sources": [
{
"type": "file",
"path": "dropbox-app.py"
},
{
"type": "file",
"path": "com.dropbox.Client.appdata.xml"
},
{
"type": "file",
"path": "com.dropbox.Client.desktop"
},
{
"type": "file",
"path": "dropbox_16.png"
},
{
"type": "file",
"path": "dropbox_22.png"
},
{
"type": "file",
"path": "dropbox_24.png"
},
{
"type": "file",
"path": "dropbox_32.png"
},
{
"type": "file",
"path": "dropbox_48.png"
},
{
"type": "file",
"path": "dropbox_64.png"
},
{
"type": "file",
"path": "dropbox_256.png"
}
],
"build-commands": [
"install -d /app/bin",
"install dropbox-app.py /app/bin/dropbox-app",
"install -d /app/share/appdata",
"install -m644 com.dropbox.Client.appdata.xml /app/share/appdata/com.dropbox.Client.appdata.xml",
"install -d /app/share/applications",
"install -m644 com.dropbox.Client.desktop /app/share/applications/com.dropbox.Client.desktop",
"for icon_size in 16 22 24 32 48 64 256; do install -d /app/share/icons/hicolor/${icon_size}x${icon_size}/apps; install -m644 dropbox_${icon_size}.png /app/share/icons/hicolor/${icon_size}x${icon_size}/apps/com.dropbox.Client.png; done"
]
},
{
"name": "dropbox",
"buildsystem": "simple",
"sources": [
{
"type": "extra-data",
"filename": "dropbox.tar.gz",
"only-arches": [ "x86_64" ],
"url": "https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-61.4.95.tar.gz",
"sha256": "087e8fbcc678ad58cecc7a7bbec185f043f59a27ff0212220e170730255da0b9",
"size": 84694275,
"x-checker-data": {
"type": "rotating-url",
"url": "https://www.dropbox.com/download?plat=lnx.x86_64"
}
},
{
"type": "script",
"dest-filename": "apply_extra",
"commands": [
"tar xf dropbox.tar.gz",
"rm -f dropbox.tar.gz",
"chmod a+xr ."
]
}
],
"build-commands": [
"install apply_extra /app/bin/apply_extra"
]
}
]
}