Commit fb4f1bd0 authored by Daniel Menelkir's avatar Daniel Menelkir

Update 20191109

parent e451ab2f
......@@ -14,6 +14,7 @@ some personal modifications. The follow repositories was used (sorry if I forgot
:Vortex: https://github.com/nE0sIghT/vortex-overlay
:Tastytea: https://schlomp.space/tastytea/overlay
:4nykey: https://github.com/4nykey/4nykey
:ssnb: https://anongit.gentoo.org/git/repo/user/ssnb.git
=================================
How to Contribute to this Overlay
......
AUX arduino-ide-1.6.13-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
AUX arduino-ide-1.6.8-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
AUX arduino-ide-1.6.9-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
AUX arduino-ide-1.8.5-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
DIST arduino-1.6.13.tar.gz 80205557 SHA256 5aacb00734eb960329775194baef2692aa54b1e267074b049ef61229b17ac1d4 SHA512 2f54cd81cfc413242ccf48147b7b63c498699ad7eb29087d8569c2c870decf8ee35a4d4aabc2bfb475cc49dc1df49ed89ac7378aff382e5de30948f1f6421401 WHIRLPOOL ef7beb4e0b05709540b07b5fd49cec1ab115b84e5a4bcecfc0406ebea46da70f4dc8addd9e0eb5d9bc7eecdd3ef6e3a870f35d9bded2d7f912fb4d0837dbefbf
DIST arduino-1.6.8.tar.gz 81091166 SHA256 5b2e8b3115000986f12ebdc126162d22c2dc85b3ca9732b8f8966e6dcdf2edad SHA512 a5814e7d7a43a337f96b2abc33c0bc10a09c5baa91b7416b9c17ee65ce643944eae133a8485dff09d5164665f90fdd25707e1025d7bd76f704552224074c5931 WHIRLPOOL 5be3b81cfff757d685bcc5b96118a8d024ce9ba36496fadbd3a2461d2974937d0bce16e091dbd8d778912bdbf9165fdbc3a2bd381ac8d25a42c9a70c73156e48
DIST arduino-1.6.9.tar.gz 81103494 SHA256 0927e4d6bb24fd297765aaf529fe7b16a7da3223848e7b40cdc9843d4246f98d SHA512 92b3508068e3aae6a88c3a395d0906fb63d2fd8ee20d003173b96f3f0ff6851eddcdb77c6349dfec3ad0ee36976f53432c643f56724490e9187d4af049fd4bf8 WHIRLPOOL 841ebd6e4c23b610f87a5254b888a31bd9b36ea162f52f9301b8cc0af2288cb7cff83f130f7f3a03ca71fdaf471818f2faea99ab3f1c64b233d7d504b7ac0049
DIST arduino-1.8.5.tar.gz 48219839 SHA256 57e8c4cf9147135a10cfd45431189a675b1c39ddf833eaeed553f4fc869fdf69 SHA512 f01b0401edc7ea5d58cb475776b816d05f289060613dd452ca71ecaf4a3a95c5e9ddb5f2cf06d3c165e9e0540c895f9eaea896a7974c88834de569944c4adbd2 WHIRLPOOL 1d1bf56dfa9cde1d020e4b23c23a7e8e6fbd96f25ffe0594c3e9b8997ef6221e315aaaaf6b850619cdde0ed5954627f4adf5f7116d27118da70cb6d8ee2536c2
DIST arduino-icons.tar.bz2 58775 SHA256 9086ae27a13cc19e428ed7e6434366752b33a7d066b5620bfdd371709277390e SHA512 b750e79d6117f5df619f2b765dad6e64f0ba4aa3314b0b6e00801577e3ea1f15951ba15efe7a00f5317285a19ac29ac41c78b71342f45cd164c794a42bafcdd9 WHIRLPOOL b53ab3ff2981ca9f6d45311b9f885ca831700a7a49fef4a376cdc489f7cc3a6c39fbb93994b962b6854b0833d7342b951b5c6327422aafce762f92952b7a5876
EBUILD arduino-ide-1.6.13.ebuild 2591 SHA256 3e0be8a34247989a7ad0da0a97dcbab68961843030391f62cfd735e6ef02dcc6 SHA512 6f01802c6b19b981f4ea533a94b1355a192a087ac253a9a0af276c663678f7d47190124c96601bd425ee3044614957061201100b40ae7a0ff922b43c41d08245 WHIRLPOOL af249d60967a445fccf89614ccb2e826e6c12c59fefcd61eb44f8ee33afd5e5568617df0b5053139ca6ac0a64a4b71563527524cba723ead4f5f8e167aa1f843
EBUILD arduino-ide-1.6.8.ebuild 2592 SHA256 3e52c29ba3f0f5eb95e4198da7cd829c7b40cb62f5c83f9c245efc57a8993c02 SHA512 86ed995228a3fc3f993079fee9396a7a2b658dcc2c534cb1e41e4472161634aefcec5a6011f23b09fa79161d56bd5d6e7e36b6dcbf03e005cc7c514745e54a8d WHIRLPOOL 1d098c9d1b667587af77a08f19ce4f3dc8cf3a9803a90a80c08a136a3a97d30156dbdf6fb20b64fda915d0b8e0d22ccaac7085f06449b1d7cf090444e0238d3f
EBUILD arduino-ide-1.6.9.ebuild 2599 SHA256 956312c0a1ebffb00d8bd27681f2797a7ceca6de64431f3005c8b2371e9b3d88 SHA512 faca76a87e5e7802586fbca08c95d6293ccb9a3cff116efd3f6889d497deed315e235492f71c02b63493273ff0b7932f6ec76753e615ff9fe6c7f26b7e697f12 WHIRLPOOL 0e2929618e6eb136e3960911a80c0b6f30fa42cc1a869a01037f174e60c8072fd178dff97b8665acb318f952b21686def23da5b3877242943eefd388ce5d8337
EBUILD arduino-ide-1.8.5.ebuild 2591 SHA256 3e0be8a34247989a7ad0da0a97dcbab68961843030391f62cfd735e6ef02dcc6 SHA512 6f01802c6b19b981f4ea533a94b1355a192a087ac253a9a0af276c663678f7d47190124c96601bd425ee3044614957061201100b40ae7a0ff922b43c41d08245 WHIRLPOOL af249d60967a445fccf89614ccb2e826e6c12c59fefcd61eb44f8ee33afd5e5568617df0b5053139ca6ac0a64a4b71563527524cba723ead4f5f8e167aa1f843
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc examples"
inherit eutils java-pkg-2 java-ant-2
MY_P="Arduino"
PNS="arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
mirror://gentoo/arduino-icons.tar.bz2"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip binchecks"
IUSE=""
COMMONDEP="
dev-java/jna:0
>dev-java/rxtx-2.1:2"
RDEPEND="${COMMONDEP}
dev-embedded/arduino-libs
>=dev-embedded/avrdude-6
sys-devel/crossdev
>=virtual/jre-1.8"
DEPEND="${COMMONDEP}
>=virtual/jdk-1.8"
S="${WORKDIR}/${MY_P}-${PV}"
EANT_GENTOO_CLASSPATH="jna,rxtx-2"
EANT_EXTRA_ARGS="-Dversion=${PV}"
EANT_BUILD_TARGET="build"
JAVA_ANT_REWRITE_CLASSPATH="yes"
java_prepare() {
# Patch launcher script to include rxtx class/ld paths
epatch "${FILESDIR}/${P}-script.patch"
}
src_compile() {
eant -f arduino-core/build.xml
EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar"
eant -f app/build.xml
eant "${EANT_EXTRA_ARGS}" -f build/build.xml
}
src_install() {
cd "${S}"/build/linux/work || die
java-pkg_dojar lib/*.jar
java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
if use examples; then
java-pkg_doexamples examples
docompress -x /usr/share/doc/${P}/examples/
fi
if use doc; then
dodoc revisions.txt "${S}"/README.md
dohtml -r reference
fi
insinto "/usr/share/${PNS}/"
#doins -r hardware libraries tools tools-builder dist
doins -r tools tools-builder
#fowners -R root:uucp "/usr/share/${PNS}/hardware"
insinto "/usr/share/${PNS}/lib"
doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
# install menu and icons
sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop
sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop
sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop
domenu "${PNS}.desktop"
for sz in 16 24 32 48 128 256; do
newicon -s $sz \
"${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
"${PNS}.png"
done
}
pkg_postinst() {
[ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
elog "I have *NOT* tested if this ebuild even works, because I don't use it myself."
elog "If you encounter issues with the installation, please report them to me, and"
elog "I will try my best to fix them."
}
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc examples"
inherit eutils java-pkg-2 java-ant-2
MY_P="Arduino"
PNS="arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
mirror://gentoo/arduino-icons.tar.bz2"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip binchecks"
IUSE=""
COMMONDEP="
dev-java/jna:0
>dev-java/rxtx-2.1:2"
RDEPEND="${COMMONDEP}
dev-embedded/arduino-libs
dev-embedded/avrdude
sys-devel/crossdev
>=virtual/jre-1.8"
DEPEND="${COMMONDEP}
>=virtual/jdk-1.8"
S="${WORKDIR}/${MY_P}-${PV}"
EANT_GENTOO_CLASSPATH="jna,rxtx-2"
EANT_EXTRA_ARGS="-Dversion=${PV}"
EANT_BUILD_TARGET="build"
JAVA_ANT_REWRITE_CLASSPATH="yes"
java_prepare() {
# Patch launcher script to include rxtx class/ld paths
epatch "${FILESDIR}/${P}-script.patch"
}
src_compile() {
eant -f arduino-core/build.xml
EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar"
eant -f app/build.xml
eant "${EANT_EXTRA_ARGS}" -f build/build.xml
}
src_install() {
cd "${S}"/build/linux/work || die
java-pkg_dojar lib/*.jar
java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
if use examples; then
java-pkg_doexamples examples
docompress -x /usr/share/doc/${P}/examples/
fi
if use doc; then
dodoc revisions.txt "${S}"/README.md
dohtml -r reference
fi
insinto "/usr/share/${PNS}/"
#doins -r hardware libraries tools tools-builder dist
doins -r tools tools-builder dist
#fowners -R root:uucp "/usr/share/${PNS}/hardware"
insinto "/usr/share/${PNS}/lib"
doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
# install menu and icons
sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop
sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop
sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop
domenu "${PNS}.desktop"
for sz in 16 24 32 48 128 256; do
newicon -s $sz \
"${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
"${PNS}.png"
done
}
pkg_postinst() {
[ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
elog "I have *NOT* tested if this ebuild even works, because I don't use it myself."
elog "If you encounter issues with the installation, please report them to me, and"
elog "I will try my best to fix them."
}
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc examples"
inherit eutils java-pkg-2 java-ant-2
MY_P="Arduino"
PNS="arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
mirror://gentoo/arduino-icons.tar.bz2"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip binchecks"
IUSE=""
COMMONDEP="
dev-java/jna:0
>dev-java/rxtx-2.1:2"
RDEPEND="${COMMONDEP}
dev-embedded/arduino-libs
=dev-embedded/avrdude-6.0.1
sys-devel/crossdev
>=virtual/jre-1.8"
DEPEND="${COMMONDEP}
>=virtual/jdk-1.8"
S="${WORKDIR}/${MY_P}-${PV}"
EANT_GENTOO_CLASSPATH="jna,rxtx-2"
EANT_EXTRA_ARGS="-Dversion=${PV}"
EANT_BUILD_TARGET="build"
JAVA_ANT_REWRITE_CLASSPATH="yes"
java_prepare() {
# Patch launcher script to include rxtx class/ld paths
epatch "${FILESDIR}/${P}-script.patch"
}
src_compile() {
eant -f arduino-core/build.xml
EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar"
eant -f app/build.xml
eant "${EANT_EXTRA_ARGS}" -f build/build.xml
}
src_install() {
cd "${S}"/build/linux/work || die
java-pkg_dojar lib/*.jar
java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
if use examples; then
java-pkg_doexamples examples
docompress -x /usr/share/doc/${P}/examples/
fi
if use doc; then
dodoc revisions.txt "${S}"/README.md
dohtml -r reference
fi
insinto "/usr/share/${PNS}/"
#doins -r hardware libraries tools tools-builder dist
doins -r tools tools-builder dist
#fowners -R root:uucp "/usr/share/${PNS}/hardware"
insinto "/usr/share/${PNS}/lib"
doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
# install menu and icons
sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop
sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop
sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop
domenu "${PNS}.desktop"
for sz in 16 24 32 48 128 256; do
newicon -s $sz \
"${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
"${PNS}.png"
done
}
pkg_postinst() {
[ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
elog "I have *NOT* tested if this ebuild even works, because I don't use it myself."
elog "If you encounter issues with the installation, please report them to me, and"
elog "I will try my best to fix them."
}
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc examples"
inherit eutils java-pkg-2 java-ant-2
MY_P="Arduino"
PNS="arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
mirror://gentoo/arduino-icons.tar.bz2"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip binchecks"
IUSE=""
COMMONDEP="
dev-java/jna:0
>dev-java/rxtx-2.1:2"
RDEPEND="${COMMONDEP}
dev-embedded/arduino-libs
>=dev-embedded/avrdude-6
sys-devel/crossdev
>=virtual/jre-1.8"
DEPEND="${COMMONDEP}
>=virtual/jdk-1.8"
S="${WORKDIR}/${MY_P}-${PV}"
EANT_GENTOO_CLASSPATH="jna,rxtx-2"
EANT_EXTRA_ARGS="-Dversion=${PV}"
EANT_BUILD_TARGET="build"
JAVA_ANT_REWRITE_CLASSPATH="yes"
java_prepare() {
# Patch launcher script to include rxtx class/ld paths
epatch "${FILESDIR}/${P}-script.patch"
}
src_compile() {
eant -f arduino-core/build.xml
EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar"
eant -f app/build.xml
eant "${EANT_EXTRA_ARGS}" -f build/build.xml
}
src_install() {
cd "${S}"/build/linux/work || die
java-pkg_dojar lib/*.jar
java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
if use examples; then
java-pkg_doexamples examples
docompress -x /usr/share/doc/${P}/examples/
fi
if use doc; then
dodoc revisions.txt "${S}"/README.md
dohtml -r reference
fi
insinto "/usr/share/${PNS}/"
#doins -r hardware libraries tools tools-builder dist
doins -r tools tools-builder
#fowners -R root:uucp "/usr/share/${PNS}/hardware"
insinto "/usr/share/${PNS}/lib"
doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
# install menu and icons
sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop
sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop
sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop
domenu "${PNS}.desktop"
for sz in 16 24 32 48 128 256; do
newicon -s $sz \
"${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
"${PNS}.png"
done
}
pkg_postinst() {
[ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
elog "I have *NOT* tested if this ebuild even works, because I don't use it myself."
elog "If you encounter issues with the installation, please report them to me, and"
elog "I will try my best to fix them."
}
diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino
--- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100
+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100
@@ -8,11 +8,12 @@ for LIB in \
"$APPDIR"/lib/*.jar \
;
do
- CLASSPATH="${CLASSPATH}:${LIB}"
+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
done
+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)"
export CLASSPATH
-LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
export PATH="${APPDIR}/java/bin:${PATH}"
diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino
--- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100
+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100
@@ -8,11 +8,12 @@ for LIB in \
"$APPDIR"/lib/*.jar \
;
do
- CLASSPATH="${CLASSPATH}:${LIB}"
+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
done
+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)"
export CLASSPATH
-LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
export PATH="${APPDIR}/java/bin:${PATH}"
diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino
--- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100
+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100
@@ -8,11 +8,12 @@ for LIB in \
"$APPDIR"/lib/*.jar \
;
do
- CLASSPATH="${CLASSPATH}:${LIB}"
+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
done
+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)"
export CLASSPATH
-LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
export PATH="${APPDIR}/java/bin:${PATH}"
diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino
--- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100
+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100
@@ -8,11 +8,12 @@ for LIB in \
"$APPDIR"/lib/*.jar \
;
do
- CLASSPATH="${CLASSPATH}:${LIB}"
+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
done
+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)"
export CLASSPATH
-LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
export PATH="${APPDIR}/java/bin:${PATH}"
DIST arduino-1.6.13.tar.gz 80205557 SHA256 5aacb00734eb960329775194baef2692aa54b1e267074b049ef61229b17ac1d4 SHA512 2f54cd81cfc413242ccf48147b7b63c498699ad7eb29087d8569c2c870decf8ee35a4d4aabc2bfb475cc49dc1df49ed89ac7378aff382e5de30948f1f6421401 WHIRLPOOL ef7beb4e0b05709540b07b5fd49cec1ab115b84e5a4bcecfc0406ebea46da70f4dc8addd9e0eb5d9bc7eecdd3ef6e3a870f35d9bded2d7f912fb4d0837dbefbf
DIST arduino-1.6.8.tar.gz 81091166 SHA256 5b2e8b3115000986f12ebdc126162d22c2dc85b3ca9732b8f8966e6dcdf2edad SHA512 a5814e7d7a43a337f96b2abc33c0bc10a09c5baa91b7416b9c17ee65ce643944eae133a8485dff09d5164665f90fdd25707e1025d7bd76f704552224074c5931 WHIRLPOOL 5be3b81cfff757d685bcc5b96118a8d024ce9ba36496fadbd3a2461d2974937d0bce16e091dbd8d778912bdbf9165fdbc3a2bd381ac8d25a42c9a70c73156e48
DIST arduino-1.6.9.tar.gz 81103494 SHA256 0927e4d6bb24fd297765aaf529fe7b16a7da3223848e7b40cdc9843d4246f98d SHA512 92b3508068e3aae6a88c3a395d0906fb63d2fd8ee20d003173b96f3f0ff6851eddcdb77c6349dfec3ad0ee36976f53432c643f56724490e9187d4af049fd4bf8 WHIRLPOOL 841ebd6e4c23b610f87a5254b888a31bd9b36ea162f52f9301b8cc0af2288cb7cff83f130f7f3a03ca71fdaf471818f2faea99ab3f1c64b233d7d504b7ac0049
DIST arduino-1.8.5.tar.gz 48219839 SHA256 57e8c4cf9147135a10cfd45431189a675b1c39ddf833eaeed553f4fc869fdf69 SHA512 f01b0401edc7ea5d58cb475776b816d05f289060613dd452ca71ecaf4a3a95c5e9ddb5f2cf06d3c165e9e0540c895f9eaea896a7974c88834de569944c4adbd2 WHIRLPOOL 1d1bf56dfa9cde1d020e4b23c23a7e8e6fbd96f25ffe0594c3e9b8997ef6221e315aaaaf6b850619cdde0ed5954627f4adf5f7116d27118da70cb6d8ee2536c2
EBUILD arduino-libs-1.6.13.ebuild 978 SHA256 ad4323ffe91b513de411e731512e690212f6315c8b2ee2fcd3284f2746c511a5 SHA512 438e6e774bdef0f198649ac028d641f6d9b7461b6e5e324b5d50be83db384d6c516308845c069838de6a5f9320035b862b7108ff68c6c4bbc52f0dbc2f259229 WHIRLPOOL 7e68603c8ad4abb4adc5139aede9d59b84b396d970fe18186a21004c7b858b4f391bef2e4ee1672e4efd12ba539b63683541b273beb9072ae5bce1e4487a37b7
EBUILD arduino-libs-1.6.8.ebuild 978 SHA256 ad4323ffe91b513de411e731512e690212f6315c8b2ee2fcd3284f2746c511a5 SHA512 438e6e774bdef0f198649ac028d641f6d9b7461b6e5e324b5d50be83db384d6c516308845c069838de6a5f9320035b862b7108ff68c6c4bbc52f0dbc2f259229 WHIRLPOOL 7e68603c8ad4abb4adc5139aede9d59b84b396d970fe18186a21004c7b858b4f391bef2e4ee1672e4efd12ba539b63683541b273beb9072ae5bce1e4487a37b7
EBUILD arduino-libs-1.6.9.ebuild 978 SHA256 ad4323ffe91b513de411e731512e690212f6315c8b2ee2fcd3284f2746c511a5 SHA512 438e6e774bdef0f198649ac028d641f6d9b7461b6e5e324b5d50be83db384d6c516308845c069838de6a5f9320035b862b7108ff68c6c4bbc52f0dbc2f259229 WHIRLPOOL 7e68603c8ad4abb4adc5139aede9d59b84b396d970fe18186a21004c7b858b4f391bef2e4ee1672e4efd12ba539b63683541b273beb9072ae5bce1e4487a37b7
EBUILD arduino-libs-1.8.5.ebuild 978 SHA256 ad4323ffe91b513de411e731512e690212f6315c8b2ee2fcd3284f2746c511a5 SHA512 438e6e774bdef0f198649ac028d641f6d9b7461b6e5e324b5d50be83db384d6c516308845c069838de6a5f9320035b862b7108ff68c6c4bbc52f0dbc2f259229 WHIRLPOOL 7e68603c8ad4abb4adc5139aede9d59b84b396d970fe18186a21004c7b858b4f391bef2e4ee1672e4efd12ba539b63683541b273beb9072ae5bce1e4487a37b7
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
MY_P="Arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND=""
S="${WORKDIR}/${MY_P}-${PV}"
src_install() {
#cd "${S}"/build/linux/work || die
cd "${S}" || die
insinto "/usr/share/arduino/"
doins -r hardware libraries
fowners -R root:uucp "/usr/share/arduino/hardware"
dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf"
mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"
}
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
MY_P="Arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND=""
S="${WORKDIR}/${MY_P}-${PV}"
src_install() {
#cd "${S}"/build/linux/work || die
cd "${S}" || die
insinto "/usr/share/arduino/"
doins -r hardware libraries
fowners -R root:uucp "/usr/share/arduino/hardware"
dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf"
mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"
}
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
MY_P="Arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND=""
S="${WORKDIR}/${MY_P}-${PV}"
src_install() {
#cd "${S}"/build/linux/work || die
cd "${S}" || die
insinto "/usr/share/arduino/"
doins -r hardware libraries
fowners -R root:uucp "/usr/share/arduino/hardware"
dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf"
mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"
}
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
MY_P="Arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND=""
S="${WORKDIR}/${MY_P}-${PV}"
src_install() {
#cd "${S}"/build/linux/work || die
cd "${S}" || die
insinto "/usr/share/arduino/"
doins -r hardware libraries
fowners -R root:uucp "/usr/share/arduino/hardware"
dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf"
mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"
}
EBUILD arduino-1.6.13.ebuild 2479 SHA256 3050e8007791b29d2610e4d3b673cbf0ff027d8aa61f41a871d78c6589ae5352 SHA512 c88275534d8ef5e17388708a1b0663a9eefddbbdcef40ea21da8a91100c0ddf067c1c6051ca3ea358cb2a1a49edd3d33141a2295c0330abffb53c6a4907c9828 WHIRLPOOL e872e34c53d9af62922c9ebf56026d0c4e9c8b7bf72fb62e25b4c492970664b18ac6d67e59895afc46ee7ff67ef9dd092fd4cab208856bc2a89a4f8676476ae5
EBUILD arduino-1.6.8.ebuild 2480 SHA256 cb0fee4aca1caa301e27eaf55c15be1f642952efbf2c14852d5247191795d13d SHA512 3fc9ead14a6821ce594821d15903b60fe8f5ee0aaa384cae43cf189cae4cd448c914651c760616e20cb3f807b68de01672ef1f60ab10dd333590e268129a39c7 WHIRLPOOL 4607220071822da7286b28b51adbde6d01a9c40811b79ebbf9235eb3d732d1abbf734ffb5d4490a9b4dd2bcceeb5d02aeceb25bb9b83a33615cda0cbc388f623
EBUILD arduino-1.6.9.ebuild 2479 SHA256 3050e8007791b29d2610e4d3b673cbf0ff027d8aa61f41a871d78c6589ae5352 SHA512 c88275534d8ef5e17388708a1b0663a9eefddbbdcef40ea21da8a91100c0ddf067c1c6051ca3ea358cb2a1a49edd3d33141a2295c0330abffb53c6a4907c9828 WHIRLPOOL e872e34c53d9af62922c9ebf56026d0c4e9c8b7bf72fb62e25b4c492970664b18ac6d67e59895afc46ee7ff67ef9dd092fd4cab208856bc2a89a4f8676476ae5
EBUILD arduino-1.8.5.ebuild 2479 SHA256 3050e8007791b29d2610e4d3b673cbf0ff027d8aa61f41a871d78c6589ae5352 SHA512 c88275534d8ef5e17388708a1b0663a9eefddbbdcef40ea21da8a91100c0ddf067c1c6051ca3ea358cb2a1a49edd3d33141a2295c0330abffb53c6a4907c9828 WHIRLPOOL e872e34c53d9af62922c9ebf56026d0c4e9c8b7bf72fb62e25b4c492970664b18ac6d67e59895afc46ee7ff67ef9dd092fd4cab208856bc2a89a4f8676476ae5
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI=""
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="minimal"
CDEPEND="!minimal? ( =dev-embedded/arduino-ide-${PV} )
=dev-embedded/arduino-libs-${PV}"
RDEPEND="${CDEPEND}"
DEPEND="${CDEPEND}"
src_unpack() {
mkdir -p "${WORKDIR}/${P}"
}
src_install() {
if use minimal; then
mkdir -p "${D}/usr/share/arduino/lib"
echo "${PV}" > "${D}/usr/share/arduino/lib/version.txt"
fi
true
}
pkg_postinst() {
elog "To compile programs for Arduino, you need a cross-compiler."