Date: Friday, June 9, 2017 @ 17:51:51 Author: nicohood Revision: 235667
archrelease: copy trunk to community-any Added: arduino-avr-core/repos/community-any/PKGBUILD (from rev 235666, arduino-avr-core/trunk/PKGBUILD) arduino-avr-core/repos/community-any/platform.patch (from rev 235666, arduino-avr-core/trunk/platform.patch) Deleted: arduino-avr-core/repos/community-any/PKGBUILD arduino-avr-core/repos/community-any/platform.patch ----------------+ PKGBUILD | 75 ++++++++++++++++++++++++++++--------------------------- platform.patch | 74 +++++++++++++++++++++++++++--------------------------- 2 files changed, 76 insertions(+), 73 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-06-09 17:51:30 UTC (rev 235666) +++ PKGBUILD 2017-06-09 17:51:51 UTC (rev 235667) @@ -1,36 +0,0 @@ -# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de> -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-avr-core -pkgver=1.6.18 -pkgrel=1 -pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude" -arch=('any') -url="https://github.com/arduino/Arduino" -license=('GPL') -depends=('avrdude' 'avr-gcc' 'avr-libc') -options=(!strip !emptydirs) -source=("https://downloads.arduino.cc/cores/avr-${pkgver}.tar.bz2" - "platform.patch") -sha512sums=('a1f238655d228767ff3635f743105d24df9614bfd67c733ad584f982366182884fce8afec96ce1525f9db36f15e5a857e4f9af089ae9c73a326b09bc3502062f' - '306c121028a6e82f1b4e8a801776af14519741b1a657c23f755ad1e1b4c3b50db1e64b512c7e476f74f9331a2fbc31035134609e6af28b1beb4a75db5154b611') - -prepare() -{ - # Prepare arduino avr core to be used with internal avr-gcc - cd "${srcdir}/avr" - - # Update version in patchfile, then apply it - sed -i "s/^ version=.*/ version=${pkgver}/" "${srcdir}/platform.patch" - patch -Np1 -i "${srcdir}/platform.patch" - - # Remove elf files - find . -name "*.elf" -type f -exec rm -f {} \; - find . -name "*.a" -type f -exec rm -f {} \; -} - -package() { - # Copy archlinux arduino avr core - install -dm755 "${pkgdir}/usr/share/arduino/hardware/archlinux-arduino" - cp -a "${srcdir}/avr" "${pkgdir}/usr/share/arduino/hardware/archlinux-arduino" -} Copied: arduino-avr-core/repos/community-any/PKGBUILD (from rev 235666, arduino-avr-core/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-06-09 17:51:51 UTC (rev 235667) @@ -0,0 +1,39 @@ +# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de> +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-avr-core +pkgver=1.6.19 +pkgrel=1 +pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude" +arch=('any') +url="https://github.com/arduino/Arduino" +license=('GPL') +depends=('avrdude' 'avr-gcc' 'avr-libc') +options=(!strip !emptydirs) +source=("https://downloads.arduino.cc/cores/avr-${pkgver}.tar.bz2" + "https://downloads.arduino.cc/cores/avr-${pkgver}.tar.bz2.asc" + "platform.patch") +sha512sums=('8ad43e69876e8600f4ca4b61295021e251e49724480d9f882d3a10f876a1d35aa2ebf494461cd0471ba08381f524694d58282da2b9fdaef9ad73e2d6512d616d' + 'SKIP' + '306c121028a6e82f1b4e8a801776af14519741b1a657c23f755ad1e1b4c3b50db1e64b512c7e476f74f9331a2fbc31035134609e6af28b1beb4a75db5154b611') +validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages <supp...@arduino.cc> + +prepare() +{ + # Prepare arduino avr core to be used with internal avr-gcc + cd "${srcdir}/avr" + + # Update version in patchfile, then apply it + sed -i "s/^ version=.*/ version=${pkgver}/" "${srcdir}/platform.patch" + patch -Np1 -i "${srcdir}/platform.patch" + + # Remove elf files + find . -name "*.elf" -type f -exec rm -f {} \; + find . -name "*.a" -type f -exec rm -f {} \; +} + +package() { + # Copy archlinux arduino avr core + install -dm755 "${pkgdir}/usr/share/arduino/hardware/archlinux-arduino" + cp -a "${srcdir}/avr" "${pkgdir}/usr/share/arduino/hardware/archlinux-arduino" +} Deleted: platform.patch =================================================================== --- platform.patch 2017-06-09 17:51:30 UTC (rev 235666) +++ platform.patch 2017-06-09 17:51:51 UTC (rev 235667) @@ -1,37 +0,0 @@ -diff -aur avr/platform.txt avr.new/platform.txt ---- avr/platform.txt 2016-09-21 10:05:40.000000000 +0200 -+++ avr.new/platform.txt 2016-10-08 16:52:00.513630471 +0200 -@@ -5,7 +5,7 @@ - # For more info: - # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification - --name=Arduino AVR Boards -+name=Arch Linux Arduino AVR Boards - version=1.6.16 - - # AVR compile variables -@@ -18,14 +18,14 @@ - compiler.warning_flags.all=-Wall -Wextra - - # Default "compiler.path" is correct, change only if you want to override the initial value --compiler.path={runtime.tools.avr-gcc.path}/bin/ -+compiler.path=/usr/bin/ - compiler.c.cmd=avr-gcc - compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects - compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections - compiler.c.elf.cmd=avr-gcc - compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD - compiler.cpp.cmd=avr-g++ --compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -+compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -fno-devirtualize -fno-use-cxa-atexit - compiler.ar.cmd=avr-gcc-ar - compiler.ar.flags=rcs - compiler.objcopy.cmd=avr-objcopy -@@ -91,7 +91,7 @@ - # AVR Uploader/Programmers tools - # ------------------------------ - --tools.avrdude.path={runtime.tools.avrdude.path} -+tools.avrdude.path=/ - tools.avrdude.cmd.path={path}/bin/avrdude - tools.avrdude.config.path={path}/etc/avrdude.conf Copied: arduino-avr-core/repos/community-any/platform.patch (from rev 235666, arduino-avr-core/trunk/platform.patch) =================================================================== --- platform.patch (rev 0) +++ platform.patch 2017-06-09 17:51:51 UTC (rev 235667) @@ -0,0 +1,37 @@ +diff -aur avr/platform.txt avr.new/platform.txt +--- avr/platform.txt 2016-09-21 10:05:40.000000000 +0200 ++++ avr.new/platform.txt 2016-10-08 16:52:00.513630471 +0200 +@@ -5,7 +5,7 @@ + # For more info: + # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification + +-name=Arduino AVR Boards ++name=Arch Linux Arduino AVR Boards + version=1.6.16 + + # AVR compile variables +@@ -18,14 +18,14 @@ + compiler.warning_flags.all=-Wall -Wextra + + # Default "compiler.path" is correct, change only if you want to override the initial value +-compiler.path={runtime.tools.avr-gcc.path}/bin/ ++compiler.path=/usr/bin/ + compiler.c.cmd=avr-gcc + compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects + compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections + compiler.c.elf.cmd=avr-gcc + compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD + compiler.cpp.cmd=avr-g++ +-compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto ++compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -fno-devirtualize -fno-use-cxa-atexit + compiler.ar.cmd=avr-gcc-ar + compiler.ar.flags=rcs + compiler.objcopy.cmd=avr-objcopy +@@ -91,7 +91,7 @@ + # AVR Uploader/Programmers tools + # ------------------------------ + +-tools.avrdude.path={runtime.tools.avrdude.path} ++tools.avrdude.path=/ + tools.avrdude.cmd.path={path}/bin/avrdude + tools.avrdude.config.path={path}/etc/avrdude.conf