|
5 | 5 | "runtime-version": "20.08",
|
6 | 6 | "sdk": "org.freedesktop.Sdk",
|
7 | 7 | "sdk-extensions": [
|
8 |
| - "org.freedesktop.Sdk.Extension.openjdk11" |
| 8 | + "org.freedesktop.Sdk.Extension.openjdk8" |
9 | 9 | ],
|
10 | 10 | "rename-icon": "arduino",
|
11 | 11 | "build-options": {
|
|
35 | 35 | "name": "openjdk",
|
36 | 36 | "buildsystem": "simple",
|
37 | 37 | "build-commands": [
|
38 |
| - "/usr/lib/sdk/openjdk11/install.sh" |
| 38 | + "/usr/lib/sdk/openjdk8/install.sh" |
39 | 39 | ]
|
40 | 40 | },
|
41 | 41 | "shared-modules/libusb/libusb.json",
|
|
60 | 60 | "buildsystem": "simple",
|
61 | 61 | "build-options": {
|
62 | 62 | "env": {
|
63 |
| - "PATH": "/usr/bin:/usr/lib/sdk/openjdk11/bin", |
64 |
| - "JAVA_HOME": "/usr/lib/sdk/openjdk11/jvm/openjdk-11" |
| 63 | + "PATH": "/usr/bin:/usr/lib/sdk/openjdk8/bin", |
| 64 | + "JAVA_HOME": "/usr/lib/sdk/openjdk8/jvm/java-8-openjdk" |
65 | 65 | }
|
66 | 66 | },
|
67 | 67 | "build-commands": [
|
68 |
| - "ant --execdebug build", |
| 68 | + "./ant/bin/ant --execdebug build", |
69 | 69 | "mkdir -p /app/bin /app/Arduino",
|
70 | 70 | "cp -a linux/work/* /app/Arduino",
|
71 | 71 | "ln -s /app/Arduino/arduino /app/bin",
|
|
83 | 83 | "sources": [
|
84 | 84 | {
|
85 | 85 | "type": "archive",
|
86 |
| - "url": "https://github.com/arduino/Arduino/releases/download/1.8.13/arduino-1.8.13.tar.xz", |
87 |
| - "sha256": "2b4423acf7a1ddf727de99b165a92bbf7981788dae121dfbcf97e3fad15e28c6" |
| 86 | + "url": "https://github.com/arduino/Arduino/releases/download/1.8.15/arduino-1.8.15.tar.xz", |
| 87 | + "sha256": "2afb18a98652178e948f77720e9897e173d75735eb8f72e4071f13202ba2e938" |
88 | 88 | },
|
89 | 89 | {
|
90 | 90 | "type": "patch",
|
|
114 | 114 | "sha256": "de8a9b982477762d3d3e52fc2b682cdd8ff194dc3f1d46f4debdea6a01b33c14",
|
115 | 115 | "dest": "build"
|
116 | 116 | },
|
| 117 | + { |
| 118 | + "type": "file", |
| 119 | + "url": "https://github.com/arduino/arduino-examples/archive/1.9.1.zip", |
| 120 | + "sha256": "900c4885843c3f650b4f34308ba6d45d7117279de628d810c6ec17dd06213684", |
| 121 | + "dest": "build", |
| 122 | + "dest-filename": "arduino-examples-1.9.1.zip" |
| 123 | + }, |
117 | 124 | {
|
118 | 125 | "type": "file",
|
119 | 126 | "url": "https://github.com/arduino-libraries/Ethernet/archive/2.0.0.zip",
|
|
228 | 235 | },
|
229 | 236 | {
|
230 | 237 | "type": "file",
|
231 |
| - "url": "https://github.com/arduino-libraries/Servo/archive/1.1.6.zip", |
232 |
| - "sha256": "43cbb1196566ef5bb139506ef69312d93d5e26710679982072a315f93b4d33fd", |
| 238 | + "url": "https://github.com/arduino-libraries/Servo/archive/1.1.7.zip", |
| 239 | + "sha256": "c09185ed92ed292428177dd8a5b543a98aa91e2d4e41c3ef20a57498ea12b021", |
233 | 240 | "dest": "build",
|
234 |
| - "dest-filename": "Servo-1.1.6.zip" |
| 241 | + "dest-filename": "Servo-1.1.7.zip" |
235 | 242 | },
|
236 | 243 | {
|
237 | 244 | "type": "file",
|
|
242 | 249 | },
|
243 | 250 | {
|
244 | 251 | "type": "file",
|
245 |
| - "url": "https://github.com/Adafruit/Adafruit_CircuitPlayground/archive/1.10.4.zip", |
246 |
| - "sha256": "d49a9a1d9f24b753bc17187801b66f7824de32fe809f67c9e340ffde6ff98aa4", |
| 252 | + "url": "https://github.com/Adafruit/Adafruit_CircuitPlayground/archive/1.11.3.zip", |
| 253 | + "sha256": "60be19022f459e8fab1bf6c0763c675c88257d99db37a2a95c5a63db705fdcb4", |
247 | 254 | "dest": "build",
|
248 |
| - "dest-filename": "Adafruit_Circuit_Playground-1.10.4.zip" |
| 255 | + "dest-filename": "Adafruit_Circuit_Playground-1.11.3.zip" |
249 | 256 | },
|
250 | 257 | {
|
251 | 258 | "type": "file",
|
252 |
| - "url": "https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.10.10/WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip", |
253 |
| - "sha256": "0d70f3aa3cd7dc46cc402fc0a915519e7cf8af6cdc544458c182394d5fc3452f", |
| 259 | + "url": "https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.11.0/WiFi101-Updater-ArduinoIDE-Plugin-0.11.0.zip", |
| 260 | + "sha256": "68ad4ab4423d094b93e94710c07e1af09e9e08762b6ab994c702900787ca1b00", |
254 | 261 | "dest": "build/shared"
|
255 | 262 | },
|
256 | 263 | {
|
|
268 | 275 | {
|
269 | 276 | "only-arches": ["aarch64"],
|
270 | 277 | "type": "file",
|
271 |
| - "url": "https://downloads.arduino.cc/tools/arduino-builder-linuxaarch64-1.5.4.tar.bz2", |
272 |
| - "sha256": "d4d2e6cb70d1d3b0509a4bba2d171ae69366593a0bd235cb8f79d6cf6b286dab", |
273 |
| - "dest": "build" |
274 |
| - }, |
275 |
| - { |
276 |
| - "only-arches": ["arm"], |
277 |
| - "type": "file", |
278 |
| - "url": "https://downloads.arduino.cc/tools/arduino-builder-linuxarm-1.5.4.tar.bz2", |
279 |
| - "sha256": "1315c3ed126b311d851f6daa8d923787afbd65e32572acf926e40917f13d35f4", |
| 278 | + "url": "https://downloads.arduino.cc/tools/arduino-builder-linuxaarch64-1.6.1.tar.bz2", |
| 279 | + "sha256": "04b70022f1add0e41f8cdf3b5b568ba4b01072185d147a01a893c27085b21f14", |
280 | 280 | "dest": "build"
|
281 | 281 | },
|
282 | 282 | {
|
283 | 283 | "only-arches": ["x86_64"],
|
284 | 284 | "type": "file",
|
285 |
| - "url": "https://downloads.arduino.cc/tools/arduino-builder-linux64-1.5.4.tar.bz2", |
286 |
| - "sha256": "fa28ddc7a49b02d9e07a87a53f7933821ee1a2ce357c698954f2fedf37e5fbb1", |
| 285 | + "url": "https://downloads.arduino.cc/tools/arduino-builder-linux64-1.6.1.tar.bz2", |
| 286 | + "sha256": "4141ee0beac4e6facc5fcf8191fbb0fb9f5441d2407a47a869977531c87b5171", |
287 | 287 | "dest": "build"
|
288 | 288 | },
|
289 | 289 | {
|
|
293 | 293 | "sha256": "03d322b9df6da17289e9e7c6233c34a8535d9c645c19efc772ba19e56914f339",
|
294 | 294 | "dest": "build/linux"
|
295 | 295 | },
|
296 |
| - { |
297 |
| - "only-arches": ["arm"], |
298 |
| - "type": "file", |
299 |
| - "url": "https://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino7-arm-linux-gnueabihf.tar.bz2", |
300 |
| - "sha256": "3903553d035da59e33cff9941b857c3cb379cb0638105dfdf69c97f0acc8e7b5", |
301 |
| - "dest": "build/linux" |
302 |
| - }, |
303 | 296 | {
|
304 | 297 | "only-arches": ["x86_64"],
|
305 | 298 | "type": "file",
|
|
314 | 307 | "sha256": "6cf948f751acfe7b96684537f2291c766ec8b54b4f7dc95539864821456fa9fc",
|
315 | 308 | "dest": "build/linux"
|
316 | 309 | },
|
317 |
| - { |
318 |
| - "only-arches": ["arm"], |
319 |
| - "type": "file", |
320 |
| - "url": "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino17-armhf-pc-linux-gnu.tar.bz2", |
321 |
| - "sha256": "2a8e68c5d803aa6f902ef219f177ec3a4c28275d85cbe272962ad2cd374f50d1", |
322 |
| - "dest": "build/linux" |
323 |
| - }, |
324 | 310 | {
|
325 | 311 | "only-arches": ["x86_64"],
|
326 | 312 | "type": "file",
|
|
335 | 321 | "sha256": "835ed8f37cffac37e979d1b0f6041559592d3d98be52f0e8611b76c4858e4113",
|
336 | 322 | "dest": "build/linux"
|
337 | 323 | },
|
338 |
| - { |
339 |
| - "only-arches": ["arm"], |
340 |
| - "type": "file", |
341 |
| - "url": "http://downloads.arduino.cc/tools/arduinoOTA-1.3.0-linux_arm.tar.bz2", |
342 |
| - "sha256": "1888587409b56aef4ba0ab0e6703b3dccba7cc3a022756ba9b908247e5d5a656", |
343 |
| - "dest": "build/linux" |
344 |
| - }, |
345 | 324 | {
|
346 | 325 | "only-arches": ["x86_64"],
|
347 | 326 | "type": "file",
|
348 | 327 | "url": "http://downloads.arduino.cc/tools/arduinoOTA-1.3.0-linux_amd64.tar.bz2",
|
349 | 328 | "sha256": "aa45ee2441ffc3a122daec5802941d1fa2ac47adf5c5c481b5e0daa4dc259ffa",
|
350 | 329 | "dest": "build/linux"
|
| 330 | + }, |
| 331 | + { |
| 332 | + "type": "archive", |
| 333 | + "url": "https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.11-bin.tar.xz", |
| 334 | + "sha256": "baa049855cdecbefa62539555824058e52412e5ebe8f102e1db944cb762e06d9", |
| 335 | + "dest": "build/ant" |
351 | 336 | }
|
352 | 337 | ]
|
353 | 338 | },
|
|
0 commit comments