1 |
commit: 53c69b5efc9f73c97c8f25c14df6ba5f298b91d4 |
2 |
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Sep 9 12:53:18 2022 +0000 |
4 |
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Sep 9 12:53:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=53c69b5e |
7 |
|
8 |
Remove arduino ebuils, since it is being maintained by gentoo main repo |
9 |
|
10 |
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com> |
11 |
|
12 |
dev-embedded/arduino-ide/Manifest | 6 -- |
13 |
dev-embedded/arduino-ide/arduino-ide-1.8.19.ebuild | 93 ---------------------- |
14 |
.../files/arduino-ide-1.6.13-script.patch | 19 ----- |
15 |
.../files/arduino-ide-1.6.8-script.patch | 19 ----- |
16 |
.../files/arduino-ide-1.6.9-script.patch | 19 ----- |
17 |
.../files/arduino-ide-1.8.5-script.patch | 19 ----- |
18 |
dev-embedded/arduino-libs/Manifest | 8 -- |
19 |
.../arduino-libs/arduino-libs-1.6.13.ebuild | 36 --------- |
20 |
.../arduino-libs/arduino-libs-1.6.8.ebuild | 36 --------- |
21 |
.../arduino-libs/arduino-libs-1.6.9.ebuild | 36 --------- |
22 |
.../arduino-libs/arduino-libs-1.8.5.ebuild | 36 --------- |
23 |
dev-embedded/arduino/Manifest | 4 - |
24 |
dev-embedded/arduino/arduino-1.6.13.ebuild | 70 ---------------- |
25 |
dev-embedded/arduino/arduino-1.6.8.ebuild | 70 ---------------- |
26 |
dev-embedded/arduino/arduino-1.6.9.ebuild | 70 ---------------- |
27 |
dev-embedded/arduino/arduino-1.8.5.ebuild | 70 ---------------- |
28 |
16 files changed, 611 deletions(-) |
29 |
|
30 |
diff --git a/dev-embedded/arduino-ide/Manifest b/dev-embedded/arduino-ide/Manifest |
31 |
deleted file mode 100644 |
32 |
index bc23811..0000000 |
33 |
--- a/dev-embedded/arduino-ide/Manifest |
34 |
+++ /dev/null |
35 |
@@ -1,6 +0,0 @@ |
36 |
-AUX arduino-ide-1.6.13-script.patch 660 BLAKE2B 0da0a43fc223748796f89327fed021eabd87bb17939764200c3c0fc6f5370526df7d67117c7c35c106a728fc509d878607878e3408aed2aef8737b58a4f7904c SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 |
37 |
-AUX arduino-ide-1.6.8-script.patch 660 BLAKE2B 0da0a43fc223748796f89327fed021eabd87bb17939764200c3c0fc6f5370526df7d67117c7c35c106a728fc509d878607878e3408aed2aef8737b58a4f7904c SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 |
38 |
-AUX arduino-ide-1.6.9-script.patch 660 BLAKE2B 0da0a43fc223748796f89327fed021eabd87bb17939764200c3c0fc6f5370526df7d67117c7c35c106a728fc509d878607878e3408aed2aef8737b58a4f7904c SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 |
39 |
-AUX arduino-ide-1.8.5-script.patch 660 BLAKE2B 0da0a43fc223748796f89327fed021eabd87bb17939764200c3c0fc6f5370526df7d67117c7c35c106a728fc509d878607878e3408aed2aef8737b58a4f7904c SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 |
40 |
-DIST arduino-1.8.19.tar.gz 34715155 BLAKE2B d0bb23548db5b5c402e418f85339c1ace9a21306f5866bd4923edabd188e9e8e273227927d2f45ce50cdc1ee7bb59dfa4d62b027ee0f723d5948ec9ba77c0d50 SHA512 65db7aec67d6bbb96eea83d60608dd4c138ff1f9dd3c02259f3ffa0ce51f59a9a073a1ddb48acc0208477ece92ec79b5a6a87b445110f59e698990d61300bbf9 |
41 |
-EBUILD arduino-ide-1.8.19.ebuild 2549 BLAKE2B ba8bc57f4d344e116465e0650c3c25d00ad424dbc123c6335d437bfe29dded5a578b40263e09548332da6a527746dcef106447d8aeeeaf83cfba74781f060c78 SHA512 65b4d14c32f2805dea4f9d2bc9b0d54fd745bdc76bf69269c771cd714b1740e3b3fa25164bd2ab644b17effd05dc0c7c0a364e3ffc1c1e63def81f36fcbd6f81 |
42 |
|
43 |
diff --git a/dev-embedded/arduino-ide/arduino-ide-1.8.19.ebuild b/dev-embedded/arduino-ide/arduino-ide-1.8.19.ebuild |
44 |
deleted file mode 100644 |
45 |
index 6535a91..0000000 |
46 |
--- a/dev-embedded/arduino-ide/arduino-ide-1.8.19.ebuild |
47 |
+++ /dev/null |
48 |
@@ -1,93 +0,0 @@ |
49 |
-# Copyright 1999-2022 Gentoo Authors |
50 |
-# Distributed under the terms of the GNU General Public License v2 |
51 |
-# $Id$ |
52 |
- |
53 |
-EAPI=8 |
54 |
-JAVA_PKG_IUSE="doc examples" |
55 |
- |
56 |
-inherit desktop java-pkg-2 java-ant-2 |
57 |
- |
58 |
-MY_P="Arduino" |
59 |
-PNS="arduino" |
60 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
61 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
62 |
-SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz" |
63 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
64 |
-SLOT="0" |
65 |
-KEYWORDS="~amd64 ~x86" |
66 |
-RESTRICT="strip binchecks" |
67 |
-IUSE="" |
68 |
- |
69 |
-COMMONDEP=" |
70 |
-dev-java/jna:0 |
71 |
->dev-java/rxtx-2.1:2" |
72 |
- |
73 |
-RDEPEND="${COMMONDEP} |
74 |
-dev-embedded/arduino-libs |
75 |
->=dev-embedded/avrdude-6 |
76 |
-sys-devel/crossdev |
77 |
->=virtual/jre-1.8" |
78 |
- |
79 |
-DEPEND="${COMMONDEP} |
80 |
->=virtual/jdk-1.8" |
81 |
- |
82 |
-S="${WORKDIR}/${MY_P}-${PV}" |
83 |
-EANT_GENTOO_CLASSPATH="jna,rxtx-2" |
84 |
-EANT_EXTRA_ARGS="-Dversion=${PV}" |
85 |
-EANT_BUILD_TARGET="build" |
86 |
-JAVA_ANT_REWRITE_CLASSPATH="yes" |
87 |
- |
88 |
-java_prepare() { |
89 |
- # Patch launcher script to include rxtx class/ld paths |
90 |
- epatch "${FILESDIR}/${P}-script.patch" |
91 |
-} |
92 |
- |
93 |
-src_compile() { |
94 |
- eant -f arduino-core/build.xml |
95 |
- EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar" |
96 |
- eant -f app/build.xml |
97 |
- eant "${EANT_EXTRA_ARGS}" -f build/build.xml |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- cd "${S}"/build/linux/work || die |
102 |
- java-pkg_dojar lib/*.jar |
103 |
- java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base |
104 |
- |
105 |
- if use examples; then |
106 |
- java-pkg_doexamples examples |
107 |
- docompress -x /usr/share/doc/${P}/examples/ |
108 |
- fi |
109 |
- |
110 |
- if use doc; then |
111 |
- dodoc revisions.txt "${S}"/README.md |
112 |
- dohtml -r reference |
113 |
- fi |
114 |
- |
115 |
- insinto "/usr/share/${PNS}/" |
116 |
- #doins -r hardware libraries tools tools-builder dist |
117 |
- doins -r tools tools-builder |
118 |
- #fowners -R root:uucp "/usr/share/${PNS}/hardware" |
119 |
- |
120 |
- insinto "/usr/share/${PNS}/lib" |
121 |
- doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf |
122 |
- |
123 |
- # install menu and icons |
124 |
- sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop |
125 |
- sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop |
126 |
- sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop |
127 |
- domenu "${PNS}.desktop" |
128 |
- for sz in 16 24 32 48 128 256; do |
129 |
- newicon -s $sz \ |
130 |
- "${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \ |
131 |
- "${PNS}.png" |
132 |
- done |
133 |
-} |
134 |
- |
135 |
-pkg_postinst() { |
136 |
- [ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr" |
137 |
- |
138 |
- elog "I have *NOT* tested if this ebuild even works, because I don't use it myself." |
139 |
- elog "If you encounter issues with the installation, please report them to me, and" |
140 |
- elog "I will try my best to fix them." |
141 |
-} |
142 |
|
143 |
diff --git a/dev-embedded/arduino-ide/files/arduino-ide-1.6.13-script.patch b/dev-embedded/arduino-ide/files/arduino-ide-1.6.13-script.patch |
144 |
deleted file mode 100644 |
145 |
index 1d7c933..0000000 |
146 |
--- a/dev-embedded/arduino-ide/files/arduino-ide-1.6.13-script.patch |
147 |
+++ /dev/null |
148 |
@@ -1,19 +0,0 @@ |
149 |
-diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino |
150 |
---- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100 |
151 |
-+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100 |
152 |
-@@ -8,11 +8,12 @@ for LIB in \ |
153 |
- "$APPDIR"/lib/*.jar \ |
154 |
- ; |
155 |
- do |
156 |
-- CLASSPATH="${CLASSPATH}:${LIB}" |
157 |
-+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}" |
158 |
- done |
159 |
-+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)" |
160 |
- export CLASSPATH |
161 |
- |
162 |
--LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} |
163 |
-+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}" |
164 |
- export LD_LIBRARY_PATH |
165 |
- |
166 |
- export PATH="${APPDIR}/java/bin:${PATH}" |
167 |
- |
168 |
|
169 |
diff --git a/dev-embedded/arduino-ide/files/arduino-ide-1.6.8-script.patch b/dev-embedded/arduino-ide/files/arduino-ide-1.6.8-script.patch |
170 |
deleted file mode 100644 |
171 |
index 1d7c933..0000000 |
172 |
--- a/dev-embedded/arduino-ide/files/arduino-ide-1.6.8-script.patch |
173 |
+++ /dev/null |
174 |
@@ -1,19 +0,0 @@ |
175 |
-diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino |
176 |
---- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100 |
177 |
-+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100 |
178 |
-@@ -8,11 +8,12 @@ for LIB in \ |
179 |
- "$APPDIR"/lib/*.jar \ |
180 |
- ; |
181 |
- do |
182 |
-- CLASSPATH="${CLASSPATH}:${LIB}" |
183 |
-+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}" |
184 |
- done |
185 |
-+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)" |
186 |
- export CLASSPATH |
187 |
- |
188 |
--LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} |
189 |
-+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}" |
190 |
- export LD_LIBRARY_PATH |
191 |
- |
192 |
- export PATH="${APPDIR}/java/bin:${PATH}" |
193 |
- |
194 |
|
195 |
diff --git a/dev-embedded/arduino-ide/files/arduino-ide-1.6.9-script.patch b/dev-embedded/arduino-ide/files/arduino-ide-1.6.9-script.patch |
196 |
deleted file mode 100644 |
197 |
index 1d7c933..0000000 |
198 |
--- a/dev-embedded/arduino-ide/files/arduino-ide-1.6.9-script.patch |
199 |
+++ /dev/null |
200 |
@@ -1,19 +0,0 @@ |
201 |
-diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino |
202 |
---- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100 |
203 |
-+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100 |
204 |
-@@ -8,11 +8,12 @@ for LIB in \ |
205 |
- "$APPDIR"/lib/*.jar \ |
206 |
- ; |
207 |
- do |
208 |
-- CLASSPATH="${CLASSPATH}:${LIB}" |
209 |
-+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}" |
210 |
- done |
211 |
-+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)" |
212 |
- export CLASSPATH |
213 |
- |
214 |
--LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} |
215 |
-+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}" |
216 |
- export LD_LIBRARY_PATH |
217 |
- |
218 |
- export PATH="${APPDIR}/java/bin:${PATH}" |
219 |
- |
220 |
|
221 |
diff --git a/dev-embedded/arduino-ide/files/arduino-ide-1.8.5-script.patch b/dev-embedded/arduino-ide/files/arduino-ide-1.8.5-script.patch |
222 |
deleted file mode 100644 |
223 |
index 1d7c933..0000000 |
224 |
--- a/dev-embedded/arduino-ide/files/arduino-ide-1.8.5-script.patch |
225 |
+++ /dev/null |
226 |
@@ -1,19 +0,0 @@ |
227 |
-diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino |
228 |
---- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100 |
229 |
-+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100 |
230 |
-@@ -8,11 +8,12 @@ for LIB in \ |
231 |
- "$APPDIR"/lib/*.jar \ |
232 |
- ; |
233 |
- do |
234 |
-- CLASSPATH="${CLASSPATH}:${LIB}" |
235 |
-+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}" |
236 |
- done |
237 |
-+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)" |
238 |
- export CLASSPATH |
239 |
- |
240 |
--LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} |
241 |
-+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}" |
242 |
- export LD_LIBRARY_PATH |
243 |
- |
244 |
- export PATH="${APPDIR}/java/bin:${PATH}" |
245 |
- |
246 |
|
247 |
diff --git a/dev-embedded/arduino-libs/Manifest b/dev-embedded/arduino-libs/Manifest |
248 |
deleted file mode 100644 |
249 |
index 86e1d21..0000000 |
250 |
--- a/dev-embedded/arduino-libs/Manifest |
251 |
+++ /dev/null |
252 |
@@ -1,8 +0,0 @@ |
253 |
-DIST arduino-1.6.13.tar.gz 80205557 SHA256 5aacb00734eb960329775194baef2692aa54b1e267074b049ef61229b17ac1d4 SHA512 2f54cd81cfc413242ccf48147b7b63c498699ad7eb29087d8569c2c870decf8ee35a4d4aabc2bfb475cc49dc1df49ed89ac7378aff382e5de30948f1f6421401 WHIRLPOOL ef7beb4e0b05709540b07b5fd49cec1ab115b84e5a4bcecfc0406ebea46da70f4dc8addd9e0eb5d9bc7eecdd3ef6e3a870f35d9bded2d7f912fb4d0837dbefbf |
254 |
-DIST arduino-1.6.8.tar.gz 81091166 SHA256 5b2e8b3115000986f12ebdc126162d22c2dc85b3ca9732b8f8966e6dcdf2edad SHA512 a5814e7d7a43a337f96b2abc33c0bc10a09c5baa91b7416b9c17ee65ce643944eae133a8485dff09d5164665f90fdd25707e1025d7bd76f704552224074c5931 WHIRLPOOL 5be3b81cfff757d685bcc5b96118a8d024ce9ba36496fadbd3a2461d2974937d0bce16e091dbd8d778912bdbf9165fdbc3a2bd381ac8d25a42c9a70c73156e48 |
255 |
-DIST arduino-1.6.9.tar.gz 81103494 SHA256 0927e4d6bb24fd297765aaf529fe7b16a7da3223848e7b40cdc9843d4246f98d SHA512 92b3508068e3aae6a88c3a395d0906fb63d2fd8ee20d003173b96f3f0ff6851eddcdb77c6349dfec3ad0ee36976f53432c643f56724490e9187d4af049fd4bf8 WHIRLPOOL 841ebd6e4c23b610f87a5254b888a31bd9b36ea162f52f9301b8cc0af2288cb7cff83f130f7f3a03ca71fdaf471818f2faea99ab3f1c64b233d7d504b7ac0049 |
256 |
-DIST arduino-1.8.5.tar.gz 48219839 SHA256 57e8c4cf9147135a10cfd45431189a675b1c39ddf833eaeed553f4fc869fdf69 SHA512 f01b0401edc7ea5d58cb475776b816d05f289060613dd452ca71ecaf4a3a95c5e9ddb5f2cf06d3c165e9e0540c895f9eaea896a7974c88834de569944c4adbd2 WHIRLPOOL 1d1bf56dfa9cde1d020e4b23c23a7e8e6fbd96f25ffe0594c3e9b8997ef6221e315aaaaf6b850619cdde0ed5954627f4adf5f7116d27118da70cb6d8ee2536c2 |
257 |
-EBUILD arduino-libs-1.6.13.ebuild 978 SHA256 ad4323ffe91b513de411e731512e690212f6315c8b2ee2fcd3284f2746c511a5 SHA512 438e6e774bdef0f198649ac028d641f6d9b7461b6e5e324b5d50be83db384d6c516308845c069838de6a5f9320035b862b7108ff68c6c4bbc52f0dbc2f259229 WHIRLPOOL 7e68603c8ad4abb4adc5139aede9d59b84b396d970fe18186a21004c7b858b4f391bef2e4ee1672e4efd12ba539b63683541b273beb9072ae5bce1e4487a37b7 |
258 |
-EBUILD arduino-libs-1.6.8.ebuild 978 SHA256 ad4323ffe91b513de411e731512e690212f6315c8b2ee2fcd3284f2746c511a5 SHA512 438e6e774bdef0f198649ac028d641f6d9b7461b6e5e324b5d50be83db384d6c516308845c069838de6a5f9320035b862b7108ff68c6c4bbc52f0dbc2f259229 WHIRLPOOL 7e68603c8ad4abb4adc5139aede9d59b84b396d970fe18186a21004c7b858b4f391bef2e4ee1672e4efd12ba539b63683541b273beb9072ae5bce1e4487a37b7 |
259 |
-EBUILD arduino-libs-1.6.9.ebuild 978 SHA256 ad4323ffe91b513de411e731512e690212f6315c8b2ee2fcd3284f2746c511a5 SHA512 438e6e774bdef0f198649ac028d641f6d9b7461b6e5e324b5d50be83db384d6c516308845c069838de6a5f9320035b862b7108ff68c6c4bbc52f0dbc2f259229 WHIRLPOOL 7e68603c8ad4abb4adc5139aede9d59b84b396d970fe18186a21004c7b858b4f391bef2e4ee1672e4efd12ba539b63683541b273beb9072ae5bce1e4487a37b7 |
260 |
-EBUILD arduino-libs-1.8.5.ebuild 978 SHA256 ad4323ffe91b513de411e731512e690212f6315c8b2ee2fcd3284f2746c511a5 SHA512 438e6e774bdef0f198649ac028d641f6d9b7461b6e5e324b5d50be83db384d6c516308845c069838de6a5f9320035b862b7108ff68c6c4bbc52f0dbc2f259229 WHIRLPOOL 7e68603c8ad4abb4adc5139aede9d59b84b396d970fe18186a21004c7b858b4f391bef2e4ee1672e4efd12ba539b63683541b273beb9072ae5bce1e4487a37b7 |
261 |
|
262 |
diff --git a/dev-embedded/arduino-libs/arduino-libs-1.6.13.ebuild b/dev-embedded/arduino-libs/arduino-libs-1.6.13.ebuild |
263 |
deleted file mode 100644 |
264 |
index 4f43102..0000000 |
265 |
--- a/dev-embedded/arduino-libs/arduino-libs-1.6.13.ebuild |
266 |
+++ /dev/null |
267 |
@@ -1,36 +0,0 @@ |
268 |
-# Copyright 1999-2015 Gentoo Foundation |
269 |
-# Distributed under the terms of the GNU General Public License v2 |
270 |
-# $Id$ |
271 |
- |
272 |
-EAPI=5 |
273 |
- |
274 |
-inherit eutils |
275 |
- |
276 |
-MY_P="Arduino" |
277 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
278 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
279 |
-SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz" |
280 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
281 |
-SLOT="0" |
282 |
-KEYWORDS="~amd64 ~x86" |
283 |
-IUSE="" |
284 |
- |
285 |
-RDEPEND="" |
286 |
-DEPEND="" |
287 |
- |
288 |
-S="${WORKDIR}/${MY_P}-${PV}" |
289 |
- |
290 |
-src_install() { |
291 |
- #cd "${S}"/build/linux/work || die |
292 |
- cd "${S}" || die |
293 |
- |
294 |
- insinto "/usr/share/arduino/" |
295 |
- doins -r hardware libraries |
296 |
- fowners -R root:uucp "/usr/share/arduino/hardware" |
297 |
- |
298 |
- dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude" |
299 |
- dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf" |
300 |
- |
301 |
- mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/" |
302 |
- dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf" |
303 |
-} |
304 |
|
305 |
diff --git a/dev-embedded/arduino-libs/arduino-libs-1.6.8.ebuild b/dev-embedded/arduino-libs/arduino-libs-1.6.8.ebuild |
306 |
deleted file mode 100644 |
307 |
index 4f43102..0000000 |
308 |
--- a/dev-embedded/arduino-libs/arduino-libs-1.6.8.ebuild |
309 |
+++ /dev/null |
310 |
@@ -1,36 +0,0 @@ |
311 |
-# Copyright 1999-2015 Gentoo Foundation |
312 |
-# Distributed under the terms of the GNU General Public License v2 |
313 |
-# $Id$ |
314 |
- |
315 |
-EAPI=5 |
316 |
- |
317 |
-inherit eutils |
318 |
- |
319 |
-MY_P="Arduino" |
320 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
321 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
322 |
-SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz" |
323 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
324 |
-SLOT="0" |
325 |
-KEYWORDS="~amd64 ~x86" |
326 |
-IUSE="" |
327 |
- |
328 |
-RDEPEND="" |
329 |
-DEPEND="" |
330 |
- |
331 |
-S="${WORKDIR}/${MY_P}-${PV}" |
332 |
- |
333 |
-src_install() { |
334 |
- #cd "${S}"/build/linux/work || die |
335 |
- cd "${S}" || die |
336 |
- |
337 |
- insinto "/usr/share/arduino/" |
338 |
- doins -r hardware libraries |
339 |
- fowners -R root:uucp "/usr/share/arduino/hardware" |
340 |
- |
341 |
- dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude" |
342 |
- dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf" |
343 |
- |
344 |
- mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/" |
345 |
- dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf" |
346 |
-} |
347 |
|
348 |
diff --git a/dev-embedded/arduino-libs/arduino-libs-1.6.9.ebuild b/dev-embedded/arduino-libs/arduino-libs-1.6.9.ebuild |
349 |
deleted file mode 100644 |
350 |
index 4f43102..0000000 |
351 |
--- a/dev-embedded/arduino-libs/arduino-libs-1.6.9.ebuild |
352 |
+++ /dev/null |
353 |
@@ -1,36 +0,0 @@ |
354 |
-# Copyright 1999-2015 Gentoo Foundation |
355 |
-# Distributed under the terms of the GNU General Public License v2 |
356 |
-# $Id$ |
357 |
- |
358 |
-EAPI=5 |
359 |
- |
360 |
-inherit eutils |
361 |
- |
362 |
-MY_P="Arduino" |
363 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
364 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
365 |
-SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz" |
366 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
367 |
-SLOT="0" |
368 |
-KEYWORDS="~amd64 ~x86" |
369 |
-IUSE="" |
370 |
- |
371 |
-RDEPEND="" |
372 |
-DEPEND="" |
373 |
- |
374 |
-S="${WORKDIR}/${MY_P}-${PV}" |
375 |
- |
376 |
-src_install() { |
377 |
- #cd "${S}"/build/linux/work || die |
378 |
- cd "${S}" || die |
379 |
- |
380 |
- insinto "/usr/share/arduino/" |
381 |
- doins -r hardware libraries |
382 |
- fowners -R root:uucp "/usr/share/arduino/hardware" |
383 |
- |
384 |
- dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude" |
385 |
- dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf" |
386 |
- |
387 |
- mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/" |
388 |
- dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf" |
389 |
-} |
390 |
|
391 |
diff --git a/dev-embedded/arduino-libs/arduino-libs-1.8.5.ebuild b/dev-embedded/arduino-libs/arduino-libs-1.8.5.ebuild |
392 |
deleted file mode 100644 |
393 |
index 4f43102..0000000 |
394 |
--- a/dev-embedded/arduino-libs/arduino-libs-1.8.5.ebuild |
395 |
+++ /dev/null |
396 |
@@ -1,36 +0,0 @@ |
397 |
-# Copyright 1999-2015 Gentoo Foundation |
398 |
-# Distributed under the terms of the GNU General Public License v2 |
399 |
-# $Id$ |
400 |
- |
401 |
-EAPI=5 |
402 |
- |
403 |
-inherit eutils |
404 |
- |
405 |
-MY_P="Arduino" |
406 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
407 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
408 |
-SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz" |
409 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
410 |
-SLOT="0" |
411 |
-KEYWORDS="~amd64 ~x86" |
412 |
-IUSE="" |
413 |
- |
414 |
-RDEPEND="" |
415 |
-DEPEND="" |
416 |
- |
417 |
-S="${WORKDIR}/${MY_P}-${PV}" |
418 |
- |
419 |
-src_install() { |
420 |
- #cd "${S}"/build/linux/work || die |
421 |
- cd "${S}" || die |
422 |
- |
423 |
- insinto "/usr/share/arduino/" |
424 |
- doins -r hardware libraries |
425 |
- fowners -R root:uucp "/usr/share/arduino/hardware" |
426 |
- |
427 |
- dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude" |
428 |
- dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf" |
429 |
- |
430 |
- mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/" |
431 |
- dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf" |
432 |
-} |
433 |
|
434 |
diff --git a/dev-embedded/arduino/Manifest b/dev-embedded/arduino/Manifest |
435 |
deleted file mode 100644 |
436 |
index 8b7292e..0000000 |
437 |
--- a/dev-embedded/arduino/Manifest |
438 |
+++ /dev/null |
439 |
@@ -1,4 +0,0 @@ |
440 |
-EBUILD arduino-1.6.13.ebuild 2479 SHA256 3050e8007791b29d2610e4d3b673cbf0ff027d8aa61f41a871d78c6589ae5352 SHA512 c88275534d8ef5e17388708a1b0663a9eefddbbdcef40ea21da8a91100c0ddf067c1c6051ca3ea358cb2a1a49edd3d33141a2295c0330abffb53c6a4907c9828 WHIRLPOOL e872e34c53d9af62922c9ebf56026d0c4e9c8b7bf72fb62e25b4c492970664b18ac6d67e59895afc46ee7ff67ef9dd092fd4cab208856bc2a89a4f8676476ae5 |
441 |
-EBUILD arduino-1.6.8.ebuild 2480 SHA256 cb0fee4aca1caa301e27eaf55c15be1f642952efbf2c14852d5247191795d13d SHA512 3fc9ead14a6821ce594821d15903b60fe8f5ee0aaa384cae43cf189cae4cd448c914651c760616e20cb3f807b68de01672ef1f60ab10dd333590e268129a39c7 WHIRLPOOL 4607220071822da7286b28b51adbde6d01a9c40811b79ebbf9235eb3d732d1abbf734ffb5d4490a9b4dd2bcceeb5d02aeceb25bb9b83a33615cda0cbc388f623 |
442 |
-EBUILD arduino-1.6.9.ebuild 2479 SHA256 3050e8007791b29d2610e4d3b673cbf0ff027d8aa61f41a871d78c6589ae5352 SHA512 c88275534d8ef5e17388708a1b0663a9eefddbbdcef40ea21da8a91100c0ddf067c1c6051ca3ea358cb2a1a49edd3d33141a2295c0330abffb53c6a4907c9828 WHIRLPOOL e872e34c53d9af62922c9ebf56026d0c4e9c8b7bf72fb62e25b4c492970664b18ac6d67e59895afc46ee7ff67ef9dd092fd4cab208856bc2a89a4f8676476ae5 |
443 |
-EBUILD arduino-1.8.5.ebuild 2479 SHA256 3050e8007791b29d2610e4d3b673cbf0ff027d8aa61f41a871d78c6589ae5352 SHA512 c88275534d8ef5e17388708a1b0663a9eefddbbdcef40ea21da8a91100c0ddf067c1c6051ca3ea358cb2a1a49edd3d33141a2295c0330abffb53c6a4907c9828 WHIRLPOOL e872e34c53d9af62922c9ebf56026d0c4e9c8b7bf72fb62e25b4c492970664b18ac6d67e59895afc46ee7ff67ef9dd092fd4cab208856bc2a89a4f8676476ae5 |
444 |
|
445 |
diff --git a/dev-embedded/arduino/arduino-1.6.13.ebuild b/dev-embedded/arduino/arduino-1.6.13.ebuild |
446 |
deleted file mode 100644 |
447 |
index bba0223..0000000 |
448 |
--- a/dev-embedded/arduino/arduino-1.6.13.ebuild |
449 |
+++ /dev/null |
450 |
@@ -1,70 +0,0 @@ |
451 |
-# Copyright 1999-2015 Gentoo Foundation |
452 |
-# Distributed under the terms of the GNU General Public License v2 |
453 |
-# $Id$ |
454 |
- |
455 |
-EAPI=5 |
456 |
- |
457 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
458 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
459 |
-SRC_URI="" |
460 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
461 |
-SLOT="0" |
462 |
-KEYWORDS="~amd64 ~x86" |
463 |
-IUSE="minimal" |
464 |
- |
465 |
-CDEPEND="!minimal? ( =dev-embedded/arduino-ide-${PV} ) |
466 |
-=dev-embedded/arduino-libs-${PV}" |
467 |
- |
468 |
-RDEPEND="${CDEPEND}" |
469 |
- |
470 |
-DEPEND="${CDEPEND}" |
471 |
- |
472 |
-src_unpack() { |
473 |
- mkdir -p "${WORKDIR}/${P}" |
474 |
-} |
475 |
- |
476 |
-src_install() { |
477 |
- if use minimal; then |
478 |
- mkdir -p "${D}/usr/share/arduino/lib" |
479 |
- echo "${PV}" > "${D}/usr/share/arduino/lib/version.txt" |
480 |
- fi |
481 |
- true |
482 |
-} |
483 |
- |
484 |
-pkg_postinst() { |
485 |
- elog "To compile programs for Arduino, you need a cross-compiler." |
486 |
- elog "You can install one using the 'crossdev' tool, as follows:" |
487 |
- elog "'USE=\"-sanitize\" crossdev -S -t avr'" |
488 |
- elog "^ for the AVR-based Arduino boards." |
489 |
- elog "'USE=\"-sanitize\" crossdev -S -t arm-none-eabi'" |
490 |
- elog "^ for ARM/SAM-based boards." |
491 |
- |
492 |
- ewarn "" |
493 |
- ewarn "There is a bug with cross-binutils for AVR (bug #147155), which" |
494 |
- ewarn "can cause linker errors. Fortunately, there is an easy workaround:" |
495 |
- ewarn "You must create the following symlink manually on your system:" |
496 |
- ewarn "ln -s /usr/lib/binutils/avr/2.25.1/ldscripts /usr/avr/lib/ldscripts" |
497 |
- ewarn "replacing '2.25.1' with the correct version of cross-binutils" |
498 |
- ewarn "installed on your system. If you ever update or re-install the" |
499 |
- ewarn "cross-avr/binutils package on your system, you will need to" |
500 |
- ewarn "re-create the above symlink accordingly, or linker errors will occur." |
501 |
- |
502 |
- ewarn "" |
503 |
- ewarn "As of 2016-03-01, AVR-gcc-5.x does not seem to work. You should" |
504 |
- ewarn "install the stable (4.9.x) version of cross-gcc using the '-S'" |
505 |
- ewarn "option when invoking the 'crossdev' command." |
506 |
- |
507 |
- if use minimal; then |
508 |
- elog "" |
509 |
- elog "You have emerged this package with the 'minimal' USE flag." |
510 |
- elog "Only the libraries and hardware platform files have been installed." |
511 |
- elog "This is sufficient for building Arduino programs from the" |
512 |
- elog "commandline using tools such as 'ano' and 'ino'." |
513 |
- elog "" |
514 |
- elog "If you wish to also install the Java-based Arduino IDE," |
515 |
- elog "disable the 'minimal' use flag." |
516 |
- elog "I have *NOT* tested if the Arduino IDE ebuild even works, because" |
517 |
- elog "I don't use it myself. If there are issues with the installation," |
518 |
- elog "please report them to me, and I will try my best to fix the ebuild." |
519 |
- fi |
520 |
-} |
521 |
|
522 |
diff --git a/dev-embedded/arduino/arduino-1.6.8.ebuild b/dev-embedded/arduino/arduino-1.6.8.ebuild |
523 |
deleted file mode 100644 |
524 |
index 2751eac..0000000 |
525 |
--- a/dev-embedded/arduino/arduino-1.6.8.ebuild |
526 |
+++ /dev/null |
527 |
@@ -1,70 +0,0 @@ |
528 |
-# Copyright 1999-2015 Gentoo Foundation |
529 |
-# Distributed under the terms of the GNU General Public License v2 |
530 |
-# $Id$ |
531 |
- |
532 |
-EAPI=5 |
533 |
- |
534 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
535 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
536 |
-SRC_URI="" |
537 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
538 |
-SLOT="0" |
539 |
-KEYWORDS="~amd64 ~x86" |
540 |
-IUSE="+minimal" |
541 |
- |
542 |
-CDEPEND="!minimal? ( =dev-embedded/arduino-ide-${PV} ) |
543 |
-=dev-embedded/arduino-libs-${PV}" |
544 |
- |
545 |
-RDEPEND="${CDEPEND}" |
546 |
- |
547 |
-DEPEND="${CDEPEND}" |
548 |
- |
549 |
-src_unpack() { |
550 |
- mkdir -p "${WORKDIR}/${P}" |
551 |
-} |
552 |
- |
553 |
-src_install() { |
554 |
- if use minimal; then |
555 |
- mkdir -p "${D}/usr/share/arduino/lib" |
556 |
- echo "${PV}" > "${D}/usr/share/arduino/lib/version.txt" |
557 |
- fi |
558 |
- true |
559 |
-} |
560 |
- |
561 |
-pkg_postinst() { |
562 |
- elog "To compile programs for Arduino, you need a cross-compiler." |
563 |
- elog "You can install one using the 'crossdev' tool, as follows:" |
564 |
- elog "'USE=\"-sanitize\" crossdev -S -t avr'" |
565 |
- elog "^ for the AVR-based Arduino boards." |
566 |
- elog "'USE=\"-sanitize\" crossdev -S -t arm-none-eabi'" |
567 |
- elog "^ for ARM/SAM-based boards." |
568 |
- |
569 |
- ewarn "" |
570 |
- ewarn "There is a bug with cross-binutils for AVR (bug #147155), which" |
571 |
- ewarn "can cause linker errors. Fortunately, there is an easy workaround:" |
572 |
- ewarn "You must create the following symlink manually on your system:" |
573 |
- ewarn "ln -s /usr/lib/binutils/avr/2.25.1/ldscripts /usr/avr/lib/ldscripts" |
574 |
- ewarn "replacing '2.25.1' with the correct version of cross-binutils" |
575 |
- ewarn "installed on your system. If you ever update or re-install the" |
576 |
- ewarn "cross-avr/binutils package on your system, you will need to" |
577 |
- ewarn "re-create the above symlink accordingly, or linker errors will occur." |
578 |
- |
579 |
- ewarn "" |
580 |
- ewarn "As of 2016-03-01, AVR-gcc-5.x does not seem to work. You should" |
581 |
- ewarn "install the stable (4.9.x) version of cross-gcc using the '-S'" |
582 |
- ewarn "option when invoking the 'crossdev' command." |
583 |
- |
584 |
- if use minimal; then |
585 |
- elog "" |
586 |
- elog "You have emerged this package with the 'minimal' USE flag." |
587 |
- elog "Only the libraries and hardware platform files have been installed." |
588 |
- elog "This is sufficient for building Arduino programs from the" |
589 |
- elog "commandline using tools such as 'ano' and 'ino'." |
590 |
- elog "" |
591 |
- elog "If you wish to also install the Java-based Arduino IDE," |
592 |
- elog "disable the 'minimal' use flag." |
593 |
- elog "I have *NOT* tested if the Arduino IDE ebuild even works, because" |
594 |
- elog "I don't use it myself. If there are issues with the installation," |
595 |
- elog "please report them to me, and I will try my best to fix the ebuild." |
596 |
- fi |
597 |
-} |
598 |
|
599 |
diff --git a/dev-embedded/arduino/arduino-1.6.9.ebuild b/dev-embedded/arduino/arduino-1.6.9.ebuild |
600 |
deleted file mode 100644 |
601 |
index bba0223..0000000 |
602 |
--- a/dev-embedded/arduino/arduino-1.6.9.ebuild |
603 |
+++ /dev/null |
604 |
@@ -1,70 +0,0 @@ |
605 |
-# Copyright 1999-2015 Gentoo Foundation |
606 |
-# Distributed under the terms of the GNU General Public License v2 |
607 |
-# $Id$ |
608 |
- |
609 |
-EAPI=5 |
610 |
- |
611 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
612 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
613 |
-SRC_URI="" |
614 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
615 |
-SLOT="0" |
616 |
-KEYWORDS="~amd64 ~x86" |
617 |
-IUSE="minimal" |
618 |
- |
619 |
-CDEPEND="!minimal? ( =dev-embedded/arduino-ide-${PV} ) |
620 |
-=dev-embedded/arduino-libs-${PV}" |
621 |
- |
622 |
-RDEPEND="${CDEPEND}" |
623 |
- |
624 |
-DEPEND="${CDEPEND}" |
625 |
- |
626 |
-src_unpack() { |
627 |
- mkdir -p "${WORKDIR}/${P}" |
628 |
-} |
629 |
- |
630 |
-src_install() { |
631 |
- if use minimal; then |
632 |
- mkdir -p "${D}/usr/share/arduino/lib" |
633 |
- echo "${PV}" > "${D}/usr/share/arduino/lib/version.txt" |
634 |
- fi |
635 |
- true |
636 |
-} |
637 |
- |
638 |
-pkg_postinst() { |
639 |
- elog "To compile programs for Arduino, you need a cross-compiler." |
640 |
- elog "You can install one using the 'crossdev' tool, as follows:" |
641 |
- elog "'USE=\"-sanitize\" crossdev -S -t avr'" |
642 |
- elog "^ for the AVR-based Arduino boards." |
643 |
- elog "'USE=\"-sanitize\" crossdev -S -t arm-none-eabi'" |
644 |
- elog "^ for ARM/SAM-based boards." |
645 |
- |
646 |
- ewarn "" |
647 |
- ewarn "There is a bug with cross-binutils for AVR (bug #147155), which" |
648 |
- ewarn "can cause linker errors. Fortunately, there is an easy workaround:" |
649 |
- ewarn "You must create the following symlink manually on your system:" |
650 |
- ewarn "ln -s /usr/lib/binutils/avr/2.25.1/ldscripts /usr/avr/lib/ldscripts" |
651 |
- ewarn "replacing '2.25.1' with the correct version of cross-binutils" |
652 |
- ewarn "installed on your system. If you ever update or re-install the" |
653 |
- ewarn "cross-avr/binutils package on your system, you will need to" |
654 |
- ewarn "re-create the above symlink accordingly, or linker errors will occur." |
655 |
- |
656 |
- ewarn "" |
657 |
- ewarn "As of 2016-03-01, AVR-gcc-5.x does not seem to work. You should" |
658 |
- ewarn "install the stable (4.9.x) version of cross-gcc using the '-S'" |
659 |
- ewarn "option when invoking the 'crossdev' command." |
660 |
- |
661 |
- if use minimal; then |
662 |
- elog "" |
663 |
- elog "You have emerged this package with the 'minimal' USE flag." |
664 |
- elog "Only the libraries and hardware platform files have been installed." |
665 |
- elog "This is sufficient for building Arduino programs from the" |
666 |
- elog "commandline using tools such as 'ano' and 'ino'." |
667 |
- elog "" |
668 |
- elog "If you wish to also install the Java-based Arduino IDE," |
669 |
- elog "disable the 'minimal' use flag." |
670 |
- elog "I have *NOT* tested if the Arduino IDE ebuild even works, because" |
671 |
- elog "I don't use it myself. If there are issues with the installation," |
672 |
- elog "please report them to me, and I will try my best to fix the ebuild." |
673 |
- fi |
674 |
-} |
675 |
|
676 |
diff --git a/dev-embedded/arduino/arduino-1.8.5.ebuild b/dev-embedded/arduino/arduino-1.8.5.ebuild |
677 |
deleted file mode 100644 |
678 |
index bba0223..0000000 |
679 |
--- a/dev-embedded/arduino/arduino-1.8.5.ebuild |
680 |
+++ /dev/null |
681 |
@@ -1,70 +0,0 @@ |
682 |
-# Copyright 1999-2015 Gentoo Foundation |
683 |
-# Distributed under the terms of the GNU General Public License v2 |
684 |
-# $Id$ |
685 |
- |
686 |
-EAPI=5 |
687 |
- |
688 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
689 |
-HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/" |
690 |
-SRC_URI="" |
691 |
-LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0" |
692 |
-SLOT="0" |
693 |
-KEYWORDS="~amd64 ~x86" |
694 |
-IUSE="minimal" |
695 |
- |
696 |
-CDEPEND="!minimal? ( =dev-embedded/arduino-ide-${PV} ) |
697 |
-=dev-embedded/arduino-libs-${PV}" |
698 |
- |
699 |
-RDEPEND="${CDEPEND}" |
700 |
- |
701 |
-DEPEND="${CDEPEND}" |
702 |
- |
703 |
-src_unpack() { |
704 |
- mkdir -p "${WORKDIR}/${P}" |
705 |
-} |
706 |
- |
707 |
-src_install() { |
708 |
- if use minimal; then |
709 |
- mkdir -p "${D}/usr/share/arduino/lib" |
710 |
- echo "${PV}" > "${D}/usr/share/arduino/lib/version.txt" |
711 |
- fi |
712 |
- true |
713 |
-} |
714 |
- |
715 |
-pkg_postinst() { |
716 |
- elog "To compile programs for Arduino, you need a cross-compiler." |
717 |
- elog "You can install one using the 'crossdev' tool, as follows:" |
718 |
- elog "'USE=\"-sanitize\" crossdev -S -t avr'" |
719 |
- elog "^ for the AVR-based Arduino boards." |
720 |
- elog "'USE=\"-sanitize\" crossdev -S -t arm-none-eabi'" |
721 |
- elog "^ for ARM/SAM-based boards." |
722 |
- |
723 |
- ewarn "" |
724 |
- ewarn "There is a bug with cross-binutils for AVR (bug #147155), which" |
725 |
- ewarn "can cause linker errors. Fortunately, there is an easy workaround:" |
726 |
- ewarn "You must create the following symlink manually on your system:" |
727 |
- ewarn "ln -s /usr/lib/binutils/avr/2.25.1/ldscripts /usr/avr/lib/ldscripts" |
728 |
- ewarn "replacing '2.25.1' with the correct version of cross-binutils" |
729 |
- ewarn "installed on your system. If you ever update or re-install the" |
730 |
- ewarn "cross-avr/binutils package on your system, you will need to" |
731 |
- ewarn "re-create the above symlink accordingly, or linker errors will occur." |
732 |
- |
733 |
- ewarn "" |
734 |
- ewarn "As of 2016-03-01, AVR-gcc-5.x does not seem to work. You should" |
735 |
- ewarn "install the stable (4.9.x) version of cross-gcc using the '-S'" |
736 |
- ewarn "option when invoking the 'crossdev' command." |
737 |
- |
738 |
- if use minimal; then |
739 |
- elog "" |
740 |
- elog "You have emerged this package with the 'minimal' USE flag." |
741 |
- elog "Only the libraries and hardware platform files have been installed." |
742 |
- elog "This is sufficient for building Arduino programs from the" |
743 |
- elog "commandline using tools such as 'ano' and 'ino'." |
744 |
- elog "" |
745 |
- elog "If you wish to also install the Java-based Arduino IDE," |
746 |
- elog "disable the 'minimal' use flag." |
747 |
- elog "I have *NOT* tested if the Arduino IDE ebuild even works, because" |
748 |
- elog "I don't use it myself. If there are issues with the installation," |
749 |
- elog "please report them to me, and I will try my best to fix the ebuild." |
750 |
- fi |
751 |
-} |