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

NicoHood nicohood at archlinux.org
Sun Jan 29 12:03:02 UTC 2017


    Date: Sunday, January 29, 2017 @ 12:03:01
  Author: nicohood
Revision: 209354

archrelease: copy trunk to community-any

Added:
  arduino-avr-core/repos/community-any/PKGBUILD
    (from rev 209353, arduino-avr-core/trunk/PKGBUILD)
  arduino-avr-core/repos/community-any/platform.patch
    (from rev 209353, arduino-avr-core/trunk/platform.patch)
Deleted:
  arduino-avr-core/repos/community-any/PKGBUILD
  arduino-avr-core/repos/community-any/platform.patch

----------------+
 PKGBUILD       |   72 ++++++++++++++++++++++++++---------------------------
 platform.patch |   74 +++++++++++++++++++++++++++----------------------------
 2 files changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-29 12:02:49 UTC (rev 209353)
+++ PKGBUILD	2017-01-29 12:03:01 UTC (rev 209354)
@@ -1,36 +0,0 @@
-# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
-# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
-
-pkgname=arduino-avr-core
-pkgver=1.6.16
-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=('3dd600f63d901c118de11cf996d2247497d254b353481bbf05ad860915fb0268956c575521680cfe8e4b8e14e4a3c0839b014986f27055c54128c83fbe1b8d51'
-            '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 209353, arduino-avr-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-29 12:03:01 UTC (rev 209354)
@@ -0,0 +1,36 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+
+pkgname=arduino-avr-core
+pkgver=1.6.17
+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=('0dbf8f348270485259f86a00a9d7f429eb999d0064b4f99e95e2d64c1c0eae55a198f631e28bc3cf227db01e3dd6ea894c08e88fff2f0cb946684dde1f15d0f1'
+            '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"
+}

Deleted: platform.patch
===================================================================
--- platform.patch	2017-01-29 12:02:49 UTC (rev 209353)
+++ platform.patch	2017-01-29 12:03:01 UTC (rev 209354)
@@ -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 209353, arduino-avr-core/trunk/platform.patch)
===================================================================
--- platform.patch	                        (rev 0)
+++ platform.patch	2017-01-29 12:03:01 UTC (rev 209354)
@@ -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



More information about the arch-commits mailing list