Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : arduino | name : arduino | ||||
| version : 1.8.12 | version : 1.8.13 | ||||
| release : 5 | release : 6 | ||||
| source : | source : | ||||
| - https://github.com/arduino/Arduino/archive/1.8.12.tar.gz : f4723f49c9dd462f003f4fde712b89d2439582be028f593f92b7b904d074523b | - https://github.com/arduino/Arduino/archive/1.8.13.tar.gz : 2a2a7bf0a93d36dff2e27f50e490529f10ff73337d6a0b7b222fa6b1a529c9f7 | ||||
| - https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.10.10/WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip : 0d70f3aa3cd7dc46cc402fc0a915519e7cf8af6cdc544458c182394d5fc3452f | - https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.10.10/WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip : 0d70f3aa3cd7dc46cc402fc0a915519e7cf8af6cdc544458c182394d5fc3452f | ||||
| - https://downloads.arduino.cc/libastylej-2.05.1-5.zip : def22874099c28d482720ee2a444ec4709f0980bae41f3ebb6033bbc79beb486 | - https://downloads.arduino.cc/libastylej-2.05.1-5.zip : def22874099c28d482720ee2a444ec4709f0980bae41f3ebb6033bbc79beb486 | ||||
| - https://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.2-2.zip : a338d470822de19bd971bd7a71d43f5273ba082baa9236be28c44b47c3e51f6b | - https://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.2-2.zip : a338d470822de19bd971bd7a71d43f5273ba082baa9236be28c44b47c3e51f6b | ||||
| - https://downloads.arduino.cc/cores/avr-1.8.2.tar.bz2 : 6213d41c6e91a75ac931527da5b10f2dbe0140c8cc1dd41b06cd4e78b943f41b | - https://downloads.arduino.cc/cores/avr-1.8.3.tar.bz2 : de8a9b982477762d3d3e52fc2b682cdd8ff194dc3f1d46f4debdea6a01b33c14 | ||||
| - https://github.com/arduino/arduino-builder/releases/download/1.5.2/arduino-builder-1.5.2.tar.xz : 3bf097d64a3868a204949d40372865d576a3ec064b914c0cabaa3b480bdf660e | - https://github.com/arduino/arduino-builder/releases/download/1.5.4/arduino-builder-1.5.4.tar.xz : e305f99d86cd6efe1265bebbebc9e37b7cd0f98169fe8ee3198233a4341376cc | ||||
| - https://github.com/arduino/ctags/releases/download/5.8-arduino11/ctags-5.8-arduino11.tar.xz : 9591ce86efa2ff7c277561706e6ace376201c5ec5f0b3925c50884ebf365d7e7 | - https://github.com/arduino/ctags/releases/download/5.8-arduino11/ctags-5.8-arduino11.tar.xz : 9591ce86efa2ff7c277561706e6ace376201c5ec5f0b3925c50884ebf365d7e7 | ||||
| license : GPL-2.0-or-later | license : GPL-2.0-or-later | ||||
| component : programming.ide | component : programming.ide | ||||
| summary : Arduino IDE | summary : Arduino IDE | ||||
| description: | | description: | | ||||
| The Arduino integrated development environment (IDE) is a cross-platform application written in the programming language Java. | The Arduino integrated development environment (IDE) is a cross-platform application written in the programming language Java. | ||||
| It is used to write and upload programs to Arduino compatible boards, but also, with the help of 3rd party cores, | It is used to write and upload programs to Arduino compatible boards, but also, with the help of 3rd party cores, | ||||
| other vendor development boards. | other vendor development boards. | ||||
| strip : no | strip : no | ||||
| networking : yes | networking : yes | ||||
| builddeps : | builddeps : | ||||
| - openjdk-8 | - openjdk-11 | ||||
| - apache-ant | - apache-ant | ||||
| - unzip | - unzip | ||||
| - golang | - golang | ||||
| - git | - git | ||||
| rundeps : | rundeps : | ||||
| - openjdk-8 | - openjdk-11 | ||||
| - avr-libc | - avr-libc | ||||
| - avrdude | - avrdude | ||||
| environment: | | environment: | | ||||
| export PREFIX=/usr/share/arduino | export PREFIX=/usr/share/arduino | ||||
| export HARDWARE_DIR=$workdir/build/linux/work/hardware/arduino | export HARDWARE_DIR=$workdir/build/linux/work/hardware/arduino | ||||
| export BUILDER_DIR=$workdir/build/arduino-builder | export BUILDER_DIR=$workdir/build/arduino-builder | ||||
| export CTAGS_DIR=$workdir/build/ctags | export CTAGS_DIR=$workdir/build/ctags | ||||
| export CTAGS_VERSION=ctags-5.8-arduino11 | export CTAGS_VERSION=ctags-5.8-arduino11 | ||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/use-openjdk-8.patch | %patch -p1 < $pkgfiles/use-openjdk-11.patch | ||||
| # copy dependency libraries | # copy dependency libraries | ||||
| cp $sources/WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip $workdir/build/shared/ | cp $sources/WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip $workdir/build/shared/ | ||||
| cp $sources/libastylej-2.05.1-5.zip $workdir/build/ | cp $sources/libastylej-2.05.1-5.zip $workdir/build/ | ||||
| cp $sources/liblistSerials-1.4.2-2.zip $workdir/build/ | cp $sources/liblistSerials-1.4.2-2.zip $workdir/build/ | ||||
| # unpack and patch ArduinoCore-avr to use system avr toolchain and avrdude | # unpack and patch ArduinoCore-avr to use system avr toolchain and avrdude | ||||
| mkdir -p $HARDWARE_DIR | mkdir -p $HARDWARE_DIR | ||||
| tar xCjv $HARDWARE_DIR -f $sources/avr-1.8.2.tar.bz2 | tar xCjv $HARDWARE_DIR -f $sources/avr-1.8.3.tar.bz2 | ||||
| %patch -p1 < $pkgfiles/0001-use-system-toolchain.patch -d $HARDWARE_DIR/avr | %patch -p1 < $pkgfiles/0001-use-system-toolchain.patch -d $HARDWARE_DIR/avr | ||||
| # unpack arduino-builder source | # unpack arduino-builder source | ||||
| mkdir -p $BUILDER_DIR | mkdir -p $BUILDER_DIR | ||||
| tar xCv $BUILDER_DIR -f $sources/arduino-builder-1.5.2.tar.xz --strip-components=1 | tar xCv $BUILDER_DIR -f $sources/arduino-builder-1.5.4.tar.xz --strip-components=1 | ||||
| # unpack arduino-ctags source | # unpack arduino-ctags source | ||||
| mkdir -p $CTAGS_DIR | mkdir -p $CTAGS_DIR | ||||
| tar xCv $CTAGS_DIR -f $sources/$CTAGS_VERSION.tar.xz --strip-components=1 | tar xCv $CTAGS_DIR -f $sources/$CTAGS_VERSION.tar.xz --strip-components=1 | ||||
| build : | | build : | | ||||
| cd build | cd build | ||||
| ant dist -Dversion=%version% build \ | ant dist -Dversion=%version% build \ | ||||
| -Dlight_bundle=true \ | -Dlight_bundle=true \ | ||||
| Show All 37 Lines | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.