summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-14 00:51:39 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-14 00:51:39 -0500
commit96b970c71bcc37fa62962aad88ce1715c0abcc86 (patch)
tree26f728ba96163dfc9ed361da8b54e8bc9d5947d0
parent79e88b0afb93ad661326ecfc1516441d86e6649f (diff)
downloadabslibre-96b970c71bcc37fa62962aad88ce1715c0abcc86.tar.gz
abslibre-96b970c71bcc37fa62962aad88ce1715c0abcc86.tar.bz2
abslibre-96b970c71bcc37fa62962aad88ce1715c0abcc86.zip
Removing java/arduino. Use pcr/arduino instead
-rw-r--r--java/arduino/PKGBUILD92
-rw-r--r--java/arduino/arduino.desktop9
-rw-r--r--java/arduino/arduino.install9
-rw-r--r--java/arduino/arduino.pngbin47981 -> 0 bytes
-rw-r--r--java/arduino/external-avrtools.patch28
5 files changed, 0 insertions, 138 deletions
diff --git a/java/arduino/PKGBUILD b/java/arduino/PKGBUILD
deleted file mode 100644
index 5f8ae8808..000000000
--- a/java/arduino/PKGBUILD
+++ /dev/null
@@ -1,92 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): PyroPeter <googlemail.com@abi1789>
-
-pkgname=arduino
-pkgver=1.0.5
-pkgrel=1
-pkgdesc="Arduino SDK and IDE"
-arch=('i686' 'x86_64')
-url="http://arduino.cc/en/Main/Software"
-options=(!strip)
-license=('GPL')
-
-depends=('avr-gcc' 'avr-libc' 'libusb-compat' 'java-runtime' 'avrdude'
- 'java-rxtx' 'antlr2' 'eclipse-ecj' 'jna')
-makedepends=(java-environment apache-ant)
-install="arduino.install"
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/arduino/Arduino/archive/${pkgver}.tar.gz"
- 'external-avrtools.patch'
- 'arduino.png'
- 'arduino.desktop')
-
-unset _JAVA_OPTIONS
-. /etc/profile.d/jre.sh
-
-prepare() {
- cd "$srcdir/Arduino-$pkgver"
- find . -name '*.hex' -delete
- find . -name '*.jar' -delete
- find . -name '*.so' -delete
- find . -name '*.swp' -delete
- rm -f build/linux/dist/tools/avrdude*
- rm -rf hardware/arduino/firmwares/wifishield
-}
-
-_link_jars() {
- for jar in rxtx/RXTXcomm.jar antlr2.jar ecj.jar jna.jar; do
- ln -sf /usr/share/java/$jar .
- done
-}
-
-_patch() {
- cd "$srcdir/Arduino-$pkgver"
-
- # Don't look for pre-compiled avr-tools
- patch -Np1 -i "$srcdir/external-avrtools.patch"
-
- rm -rf app/src/processing/app/macosx
- rm -rf app/src/processing/app/windows
-
- cd app/lib
- _link_jars
-}
-
-build() {
- _patch
-
- # build submodules
- for submodule in core/methods core/preproc; do
- cd "$srcdir/Arduino-$pkgver/$submodule"
- ant
- done
-
- # build the main package
- cd "$srcdir/Arduino-$pkgver/build"
- ant
-
- # symlink jar files to the system locations
- cd "linux/work/lib"
- _link_jars
-}
-
-package() {
- cd "$srcdir/Arduino-$pkgver/build/linux/work"
-
- install -d "$pkgdir"/usr/{bin,share/{doc,applications,pixmaps}}
-
- # copy the whole SDK to /usr/share/arduino/
- cp -r . "$pkgdir/usr/share/arduino"
-
- # at least support the FHS a little bit:
- ln -s ../share/arduino/arduino "$pkgdir/usr/bin/arduino"
- ln -s ../arduino/reference "$pkgdir/usr/share/doc/arduino"
-
- # desktop icon
- install -m644 "$srcdir/arduino.desktop" "$pkgdir/usr/share/applications/"
- install -m644 "$srcdir/arduino.png" "$pkgdir/usr/share/pixmaps/"
-}
-
-md5sums=('a7a00be1c3191b7e2c9ceb7a84a30e6f'
- '9c696c2361d57027be41ae64436182aa'
- '9e36d33891d5e68d38ec55d1494499a5'
- 'eebc4d6495864bea99ad057af801afb9')
diff --git a/java/arduino/arduino.desktop b/java/arduino/arduino.desktop
deleted file mode 100644
index 8469724ea..000000000
--- a/java/arduino/arduino.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Arduino
-GenericName=Arduino IDE
-Comment=The open-source Arduino environment
-Exec=arduino
-Icon=arduino
-Type=Application
-Terminal=false
-Categories=Development;IDE;Qt;KDE;;Application;
diff --git a/java/arduino/arduino.install b/java/arduino/arduino.install
deleted file mode 100644
index c222e1b6d..000000000
--- a/java/arduino/arduino.install
+++ /dev/null
@@ -1,9 +0,0 @@
-post_install() {
- xdg-icon-resource install --size 256 --novendor /usr/share/pixmaps/arduino.png
-}
-
-pre_remove() {
- xdg-icon-resource uninstall --size 256 arduino
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/java/arduino/arduino.png b/java/arduino/arduino.png
deleted file mode 100644
index ea3ac81b4..000000000
--- a/java/arduino/arduino.png
+++ /dev/null
Binary files differ
diff --git a/java/arduino/external-avrtools.patch b/java/arduino/external-avrtools.patch
deleted file mode 100644
index a47575b53..000000000
--- a/java/arduino/external-avrtools.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -ru arduino-1.0.2.orig/build/build.xml arduino-1.0.2/build/build.xml
---- arduino-1.0.2.orig/build/build.xml 2012-11-04 16:29:09.000000000 -0500
-+++ arduino-1.0.2/build/build.xml 2012-12-03 15:22:39.000000000 -0500
-@@ -353,24 +353,9 @@
- </target>
-
- <target name="linux32-build" depends="linux-build" description="Build linux (32-bit) version">
-- <!-- Unzip AVR tools -->
-- <exec executable="tar" dir="linux/work/hardware">
-- <arg value="-xjf"/>
-- <arg value="../../avr_tools_linux32.tar.bz2"/>
-- </exec>
- </target>
-
- <target name="linux64-build" depends="linux-build" description="Build linux (64-bit) version">
-- <copy tofile="linux/work/hardware/tools/avrdude" file="linux/dist/tools/avrdude64" overwrite="true" />
-- <copy tofile="linux/work/lib/librxtxSerial.so" file="linux/dist/lib/librxtxSerial64.so" overwrite="true" />
--
-- <chmod perm="755" file="linux/work/hardware/tools/avrdude" />
--
-- <!-- Unzip AVR tools -->
-- <exec executable="tar" dir="linux/work/hardware">
-- <arg value="-xjf"/>
-- <arg value="../../avr_tools_linux64.tar.bz2"/>
-- </exec>
- </target>
-
- <target name="linux32-run" depends="linux32-build"