-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathcom.dropbox.Client.json
executable file
·131 lines (131 loc) · 5.08 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
123
124
125
126
127
128
129
130
131
{
"app-id": "com.dropbox.Client",
"runtime": "org.gnome.Platform",
"runtime-version": "47",
"sdk": "org.gnome.Sdk",
"command": "dropbox-app",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=pulseaudio",
"--share=network",
"--filesystem=home",
"--filesystem=/tmp",
"--talk-name=org.freedesktop.Notifications",
"--talk-name=org.kde.StatusNotifierWatcher",
"--own-name=org.kde.*"
],
"modules": [
{
"name": "python3-psutil",
"buildsystem": "simple",
"sources": [
{
"type": "archive",
"url": "https://github.com/giampaolo/psutil/archive/release-6.1.1.tar.gz",
"sha256": "8a3fad3310797351aafe6bc5872cb4795f0879ba88fc92680658293c4712befd",
"x-checker-data": {
"type": "anitya",
"project-id": 3978,
"url-template": "https://github.com/giampaolo/psutil/archive/release-$version.tar.gz"
}
}
],
"build-commands": [
"python3 setup.py build",
"python3 setup.py install --single-version-externally-managed --root / --prefix /app"
],
"cleanup": [
"tests",
"_psaix.*",
"_psbsd.*",
"_psosx.*",
"_pssunos.*",
"_pswindows.*"
]
},
{
"//": "Just for the icons",
"name": "nautilus-dropbox",
"buildsystem": "simple",
"sources": [
{
"type": "git",
"url": "https://github.com/dropbox/nautilus-dropbox.git",
"commit": "e0aeba971d11e86ec9acfb800084dcd93cece931",
"tag": "v2024.04.17",
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/dropbox/nautilus-dropbox/tags",
"tag-query": ".[0].name",
"version-query": "$tag | sub(\"^v\"; \"\")"
}
}
],
"build-commands": [
"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 data/icons/hicolor/${icon_size}x${icon_size}/apps/dropbox.png /app/share/icons/hicolor/${icon_size}x${icon_size}/apps/com.dropbox.Client.png; done"
]
},
{
"name": "dropbox-app",
"buildsystem": "simple",
"sources": [
{
"type": "file",
"path": "dropbox-app.py"
},
{
"type": "file",
"path": "com.dropbox.Client.metainfo.xml"
},
{
"type": "file",
"path": "com.dropbox.Client.desktop"
}
],
"build-commands": [
"install -d /app/bin",
"install dropbox-app.py /app/bin/dropbox-app",
"install -d /app/share/metainfo",
"install -m644 com.dropbox.Client.metainfo.xml /app/share/metainfo/com.dropbox.Client.metainfo.xml",
"install -d /app/share/applications",
"install -m644 com.dropbox.Client.desktop /app/share/applications/com.dropbox.Client.desktop"
]
},
{
"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-216.4.4420.tar.gz",
"sha256": "304a6852cbd1b9563f4ffb61422cd40e1f6352aded9e1797020da63c87221d6b",
"size": 111371085,
"x-checker-data": {
"is-main-source": true,
"type": "html",
"url": "https://www.dropboxforum.com/t5/forums/filteredbylabelpage/board-id/101003016/label-name/stable%20build",
"version-pattern": "Stable Build (\\d+.\\d+.\\d+)",
"url-template": "https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-$version.tar.gz"
}
},
{
"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"
]
}
]
}