[arch-commits] Commit in arduino-avr-core/repos/community-any (4 files)

NicoHood nicohood at archlinux.org
Fri Jul 17 17:39:17 UTC 2020


    Date: Friday, July 17, 2020 @ 17:39:17
  Author: nicohood
Revision: 664309

archrelease: copy trunk to community-any

Added:
  arduino-avr-core/repos/community-any/PKGBUILD
    (from rev 664308, arduino-avr-core/trunk/PKGBUILD)
  arduino-avr-core/repos/community-any/platform.patch
    (from rev 664308, 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 |   72 +++++++++++++++++++++++++-------------------------
 2 files changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-17 17:39:06 UTC (rev 664308)
+++ PKGBUILD	2020-07-17 17:39:17 UTC (rev 664309)
@@ -1,39 +0,0 @@
-# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
-# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
-
-pkgname=arduino-avr-core
-pkgver=1.8.2
-pkgrel=2
-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'
-            '916d76a1313fa9372e141eb132eb3d5d4db32e27f695d3b6b0e2894111bfdacd54feec2ba6ea89b10918b9ef904f9b3d4c105c37d5a6851ac92c5c1758679f00')
-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 664308, arduino-avr-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-17 17:39:17 UTC (rev 664309)
@@ -0,0 +1,39 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+
+pkgname=arduino-avr-core
+pkgver=1.8.3
+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=('c8a63ad79f16c380def83b1215762f5cbddfc51480d658853370c3210724bb04627272f3affc0ad01af4463a68980665a4e1c37cc8fabcec16e97c4550d1bb03'
+            'SKIP'
+            '916d76a1313fa9372e141eb132eb3d5d4db32e27f695d3b6b0e2894111bfdacd54feec2ba6ea89b10918b9ef904f9b3d4c105c37d5a6851ac92c5c1758679f00')
+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-07-17 17:39:06 UTC (rev 664308)
+++ platform.patch	2020-07-17 17:39:17 UTC (rev 664309)
@@ -1,36 +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.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 664308, arduino-avr-core/trunk/platform.patch)
===================================================================
--- platform.patch	                        (rev 0)
+++ platform.patch	2020-07-17 17:39:17 UTC (rev 664309)
@@ -0,0 +1,36 @@
+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.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