-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcc.arduino.IDE2.json
153 lines (153 loc) · 5.8 KB
/
cc.arduino.IDE2.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"app-id": "cc.arduino.IDE2",
"runtime": "org.freedesktop.Platform",
"runtime-version": "22.08",
"base": "org.electronjs.Electron2.BaseApp",
"base-version": "22.08",
"sdk": "org.freedesktop.Sdk",
"command": "arduino-ide",
"separate-locales": false,
"finish-args": [
"--socket=x11",
"--socket=pulseaudio",
"--share=ipc",
"--share=network",
"--device=all",
"--filesystem=home",
"--filesystem=xdg-run/keyring",
"--system-talk-name=org.gtk.vfs.*",
"--talk-name=org.freedesktop.secrets",
"--talk-name=org.freedesktop.Notifications"
],
"modules": [
"shared-modules/libsecret/libsecret.json",
"shared-modules/libusb/libusb.json",
{
"name": "usbutils",
"config-opts": [
"--datadir=/app/share/hwdata",
"--sbindir=/app/bin"
],
"sources": [
{
"type": "git",
"url": "https://github.com/gregkh/usbutils.git",
"tag": "v015",
"commit": "79b796f945ea7d5c2b0e2a74f9b8819cb7948680",
"x-checker-data": {
"type": "git",
"tag-pattern": "^v([\\d.]+)$"
}
}
]
},
{
"name": "libusb-compat",
"config-opts": [
"--disable-static",
"--disable-build-docs"
],
"sources": [
{
"type": "git",
"url": "https://github.com/libusb/libusb-compat-0.1.git",
"tag": "v0.1.7",
"commit": "4a27760ec5954ec8605e052a3207afbe0979eeef",
"x-checker-data": {
"type": "git",
"tag-pattern": "^v([\\d.]+)$"
}
}
]
},
{
"name": "python3-pyserial",
"buildsystem": "simple",
"build-commands": [
"pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyserial\""
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyserial-3.5-py2.py3-none-any.whl",
"sha256": "c4451db6ba391ca6ca299fb3ec7bae67a5c55dde170964c7a14ceefec02f2cf0",
"x-checker-data": {
"type": "pypi",
"name": "pyserial",
"packagetype": "bdist_wheel"
}
}
]
},
{
"name": "git",
"make-args": [
"NO_TCLTK=1",
"INSTALL_SYMLINKS=1"
],
"make-install-args": [
"NO_TCLTK=1",
"INSTALL_SYMLINKS=1"
],
"sources": [
{
"type": "archive",
"url": "https://www.kernel.org/pub/software/scm/git/git-2.38.1.tar.gz",
"sha256": "620ed3df572a34e782a2be4c7d958d443469b2665eac4ae33f27da554d88b270",
"x-checker-data": {
"type": "anitya",
"project-id": 5350,
"stable-only": true,
"url-template": "https://www.kernel.org/pub/software/scm/git/git-$version.tar.gz"
}
}
]
},
{
"name": "arduino-ide",
"buildsystem": "simple",
"build-commands": [
"mv ./arduino-ide /app/arduino-ide",
"install -D arduino-ide.sh /app/bin/arduino-ide",
"install -Dm644 cc.arduino.IDE2.svg /app/share/icons/hicolor/scalable/apps/cc.arduino.IDE2.svg",
"install -Dm644 cc.arduino.IDE2.appdata.xml /app/share/appdata/cc.arduino.IDE2.appdata.xml",
"install -Dm644 cc.arduino.IDE2.desktop /app/share/applications/cc.arduino.IDE2.desktop"
],
"sources": [
{
"type": "file",
"path": "arduino-ide.sh"
},
{
"type": "file",
"path": "cc.arduino.IDE2.desktop"
},
{
"type": "file",
"path": "cc.arduino.IDE2.appdata.xml"
},
{
"type": "file",
"dest-filename": "cc.arduino.IDE2.svg",
"url": "https://www.arduino.cc/wiki/370832ed4114dd35d498f2f449b4781e/arduino.svg",
"sha256": "4137981bcb4057c2e0092f22faea287767f102e0b48497d22cd55e8d6988e4ac"
},
{
"type": "archive",
"dest": "arduino-ide",
"only-arches": [
"x86_64"
],
"url": "https://github.com/arduino/arduino-ide/releases/download/2.0.1/arduino-ide_2.0.1_Linux_64bit.zip",
"sha256": "16a1eba39a9795ddf3e65d2c84d6a7c452866efbda4ca43329c8a037c85525b4",
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/arduino/arduino-ide/releases/latest",
"version-query": ".tag_name | sub(\"^jq-\"; \"\")",
"url-query": ".assets[] | select(.name==\"arduino-ide_\" + $version + \"_Linux_64bit.zip\") | .browser_download_url"
}
}
]
}
]
}