[arch-commits] Commit in arduino-avr-core/repos/community-any (4 files)
NicoHood
nicohood at archlinux.org
Mon Jan 27 16:29:08 UTC 2020
Date: Monday, January 27, 2020 @ 16:29:07
Author: nicohood
Revision: 556184
archrelease: copy trunk to community-any
Added:
arduino-avr-core/repos/community-any/PKGBUILD
(from rev 556183, arduino-avr-core/trunk/PKGBUILD)
arduino-avr-core/repos/community-any/platform.patch
(from rev 556183, arduino-avr-core/trunk/platform.patch)
Deleted:
arduino-avr-core/repos/community-any/PKGBUILD
arduino-avr-core/repos/community-any/platform.patch
----------------+
PKGBUILD | 78 +++++++++++++++++++++++++++----------------------------
platform.patch | 74 ++++++++++++++++++++++++++--------------------------
2 files changed, 76 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-27 16:28:56 UTC (rev 556183)
+++ PKGBUILD 2020-01-27 16:29:07 UTC (rev 556184)
@@ -1,39 +0,0 @@
-# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
-# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
-
-pkgname=arduino-avr-core
-pkgver=1.6.23
-pkgrel=1
-pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude"
-arch=('any')
-url="https://github.com/arduino/ArduinoCore-avr"
-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=('70ff70446bfc0f036f7a2927e8e53861e60225a0a6c1eb993557278ec79b8337f3a5ee6fd6f6d200744d80104efb1783332eb8d6d53c9f1b6ea6dc3054d78fd4'
- 'SKIP'
- '34bdd71d8796682ddd1a57e4ef38b2dc4557656f32528af3caa96e6d6f803b6982b9edf044294c2af9478c5ca3dbb6567faa6d24aa97228173e38f7a139b3b68')
-validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages <support at 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"
-}
Copied: arduino-avr-core/repos/community-any/PKGBUILD (from rev 556183, arduino-avr-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-27 16:29:07 UTC (rev 556184)
@@ -0,0 +1,39 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+
+pkgname=arduino-avr-core
+pkgver=1.8.2
+pkgrel=1
+pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude"
+arch=('any')
+url="https://github.com/arduino/ArduinoCore-avr"
+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=('e2d006f0b6540dba6623baac07d36078987fe8efdac39c6d160ab018a6c93a96369ece1ee92de0fae4a58fd4e93db108d2395de06c68d84ed2743739ed466aac'
+ 'SKIP'
+ '34bdd71d8796682ddd1a57e4ef38b2dc4557656f32528af3caa96e6d6f803b6982b9edf044294c2af9478c5ca3dbb6567faa6d24aa97228173e38f7a139b3b68')
+validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages <support at 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 2020-01-27 16:28:56 UTC (rev 556183)
+++ platform.patch 2020-01-27 16:29:07 UTC (rev 556184)
@@ -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.23
-
- # 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 -Wno-error=narrowing -MMD -flto
-+compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -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 556183, arduino-avr-core/trunk/platform.patch)
===================================================================
--- platform.patch (rev 0)
+++ platform.patch 2020-01-27 16:29:07 UTC (rev 556184)
@@ -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.23
+
+ # 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 -Wno-error=narrowing -MMD -flto
++compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -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
More information about the arch-commits
mailing list