Gentoo Archives: gentoo-commits

From: Samuel Bernardo <samuelbernardo.mail@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/ssnb:master commit in: dev-embedded/arduino-ide/
Date: Fri, 09 Sep 2022 14:03:31
Message-Id: 1662727861.f2638b2077d092c0bcc33619f458239480061230.samuelbernardo@gentoo
1 commit: f2638b2077d092c0bcc33619f458239480061230
2 Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 9 12:51:01 2022 +0000
4 Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
5 CommitDate: Fri Sep 9 12:51:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=f2638b20
7
8 Update arduino-ide
9
10 Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>
11
12 dev-embedded/arduino-ide/Manifest | 19 ++---
13 dev-embedded/arduino-ide/arduino-ide-1.6.13.ebuild | 94 ----------------------
14 dev-embedded/arduino-ide/arduino-ide-1.6.8.ebuild | 94 ----------------------
15 dev-embedded/arduino-ide/arduino-ide-1.6.9.ebuild | 94 ----------------------
16 ...-ide-1.8.5.ebuild => arduino-ide-1.8.19.ebuild} | 9 +--
17 5 files changed, 10 insertions(+), 300 deletions(-)
18
19 diff --git a/dev-embedded/arduino-ide/Manifest b/dev-embedded/arduino-ide/Manifest
20 index c058945..bc23811 100644
21 --- a/dev-embedded/arduino-ide/Manifest
22 +++ b/dev-embedded/arduino-ide/Manifest
23 @@ -1,13 +1,6 @@
24 -AUX arduino-ide-1.6.13-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
25 -AUX arduino-ide-1.6.8-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
26 -AUX arduino-ide-1.6.9-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
27 -AUX arduino-ide-1.8.5-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
28 -DIST arduino-1.6.13.tar.gz 80205557 SHA256 5aacb00734eb960329775194baef2692aa54b1e267074b049ef61229b17ac1d4 SHA512 2f54cd81cfc413242ccf48147b7b63c498699ad7eb29087d8569c2c870decf8ee35a4d4aabc2bfb475cc49dc1df49ed89ac7378aff382e5de30948f1f6421401 WHIRLPOOL ef7beb4e0b05709540b07b5fd49cec1ab115b84e5a4bcecfc0406ebea46da70f4dc8addd9e0eb5d9bc7eecdd3ef6e3a870f35d9bded2d7f912fb4d0837dbefbf
29 -DIST arduino-1.6.8.tar.gz 81091166 SHA256 5b2e8b3115000986f12ebdc126162d22c2dc85b3ca9732b8f8966e6dcdf2edad SHA512 a5814e7d7a43a337f96b2abc33c0bc10a09c5baa91b7416b9c17ee65ce643944eae133a8485dff09d5164665f90fdd25707e1025d7bd76f704552224074c5931 WHIRLPOOL 5be3b81cfff757d685bcc5b96118a8d024ce9ba36496fadbd3a2461d2974937d0bce16e091dbd8d778912bdbf9165fdbc3a2bd381ac8d25a42c9a70c73156e48
30 -DIST arduino-1.6.9.tar.gz 81103494 SHA256 0927e4d6bb24fd297765aaf529fe7b16a7da3223848e7b40cdc9843d4246f98d SHA512 92b3508068e3aae6a88c3a395d0906fb63d2fd8ee20d003173b96f3f0ff6851eddcdb77c6349dfec3ad0ee36976f53432c643f56724490e9187d4af049fd4bf8 WHIRLPOOL 841ebd6e4c23b610f87a5254b888a31bd9b36ea162f52f9301b8cc0af2288cb7cff83f130f7f3a03ca71fdaf471818f2faea99ab3f1c64b233d7d504b7ac0049
31 -DIST arduino-1.8.5.tar.gz 48219839 SHA256 57e8c4cf9147135a10cfd45431189a675b1c39ddf833eaeed553f4fc869fdf69 SHA512 f01b0401edc7ea5d58cb475776b816d05f289060613dd452ca71ecaf4a3a95c5e9ddb5f2cf06d3c165e9e0540c895f9eaea896a7974c88834de569944c4adbd2 WHIRLPOOL 1d1bf56dfa9cde1d020e4b23c23a7e8e6fbd96f25ffe0594c3e9b8997ef6221e315aaaaf6b850619cdde0ed5954627f4adf5f7116d27118da70cb6d8ee2536c2
32 -DIST arduino-icons.tar.bz2 58775 SHA256 9086ae27a13cc19e428ed7e6434366752b33a7d066b5620bfdd371709277390e SHA512 b750e79d6117f5df619f2b765dad6e64f0ba4aa3314b0b6e00801577e3ea1f15951ba15efe7a00f5317285a19ac29ac41c78b71342f45cd164c794a42bafcdd9 WHIRLPOOL b53ab3ff2981ca9f6d45311b9f885ca831700a7a49fef4a376cdc489f7cc3a6c39fbb93994b962b6854b0833d7342b951b5c6327422aafce762f92952b7a5876
33 -EBUILD arduino-ide-1.6.13.ebuild 2591 SHA256 3e0be8a34247989a7ad0da0a97dcbab68961843030391f62cfd735e6ef02dcc6 SHA512 6f01802c6b19b981f4ea533a94b1355a192a087ac253a9a0af276c663678f7d47190124c96601bd425ee3044614957061201100b40ae7a0ff922b43c41d08245 WHIRLPOOL af249d60967a445fccf89614ccb2e826e6c12c59fefcd61eb44f8ee33afd5e5568617df0b5053139ca6ac0a64a4b71563527524cba723ead4f5f8e167aa1f843
34 -EBUILD arduino-ide-1.6.8.ebuild 2592 SHA256 3e52c29ba3f0f5eb95e4198da7cd829c7b40cb62f5c83f9c245efc57a8993c02 SHA512 86ed995228a3fc3f993079fee9396a7a2b658dcc2c534cb1e41e4472161634aefcec5a6011f23b09fa79161d56bd5d6e7e36b6dcbf03e005cc7c514745e54a8d WHIRLPOOL 1d098c9d1b667587af77a08f19ce4f3dc8cf3a9803a90a80c08a136a3a97d30156dbdf6fb20b64fda915d0b8e0d22ccaac7085f06449b1d7cf090444e0238d3f
35 -EBUILD arduino-ide-1.6.9.ebuild 2599 SHA256 956312c0a1ebffb00d8bd27681f2797a7ceca6de64431f3005c8b2371e9b3d88 SHA512 faca76a87e5e7802586fbca08c95d6293ccb9a3cff116efd3f6889d497deed315e235492f71c02b63493273ff0b7932f6ec76753e615ff9fe6c7f26b7e697f12 WHIRLPOOL 0e2929618e6eb136e3960911a80c0b6f30fa42cc1a869a01037f174e60c8072fd178dff97b8665acb318f952b21686def23da5b3877242943eefd388ce5d8337
36 -EBUILD arduino-ide-1.8.5.ebuild 2591 SHA256 3e0be8a34247989a7ad0da0a97dcbab68961843030391f62cfd735e6ef02dcc6 SHA512 6f01802c6b19b981f4ea533a94b1355a192a087ac253a9a0af276c663678f7d47190124c96601bd425ee3044614957061201100b40ae7a0ff922b43c41d08245 WHIRLPOOL af249d60967a445fccf89614ccb2e826e6c12c59fefcd61eb44f8ee33afd5e5568617df0b5053139ca6ac0a64a4b71563527524cba723ead4f5f8e167aa1f843
37 +AUX arduino-ide-1.6.13-script.patch 660 BLAKE2B 0da0a43fc223748796f89327fed021eabd87bb17939764200c3c0fc6f5370526df7d67117c7c35c106a728fc509d878607878e3408aed2aef8737b58a4f7904c SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00
38 +AUX arduino-ide-1.6.8-script.patch 660 BLAKE2B 0da0a43fc223748796f89327fed021eabd87bb17939764200c3c0fc6f5370526df7d67117c7c35c106a728fc509d878607878e3408aed2aef8737b58a4f7904c SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00
39 +AUX arduino-ide-1.6.9-script.patch 660 BLAKE2B 0da0a43fc223748796f89327fed021eabd87bb17939764200c3c0fc6f5370526df7d67117c7c35c106a728fc509d878607878e3408aed2aef8737b58a4f7904c SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00
40 +AUX arduino-ide-1.8.5-script.patch 660 BLAKE2B 0da0a43fc223748796f89327fed021eabd87bb17939764200c3c0fc6f5370526df7d67117c7c35c106a728fc509d878607878e3408aed2aef8737b58a4f7904c SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00
41 +DIST arduino-1.8.19.tar.gz 34715155 BLAKE2B d0bb23548db5b5c402e418f85339c1ace9a21306f5866bd4923edabd188e9e8e273227927d2f45ce50cdc1ee7bb59dfa4d62b027ee0f723d5948ec9ba77c0d50 SHA512 65db7aec67d6bbb96eea83d60608dd4c138ff1f9dd3c02259f3ffa0ce51f59a9a073a1ddb48acc0208477ece92ec79b5a6a87b445110f59e698990d61300bbf9
42 +EBUILD arduino-ide-1.8.19.ebuild 2549 BLAKE2B ba8bc57f4d344e116465e0650c3c25d00ad424dbc123c6335d437bfe29dded5a578b40263e09548332da6a527746dcef106447d8aeeeaf83cfba74781f060c78 SHA512 65b4d14c32f2805dea4f9d2bc9b0d54fd745bdc76bf69269c771cd714b1740e3b3fa25164bd2ab644b17effd05dc0c7c0a364e3ffc1c1e63def81f36fcbd6f81
43
44 diff --git a/dev-embedded/arduino-ide/arduino-ide-1.6.13.ebuild b/dev-embedded/arduino-ide/arduino-ide-1.6.13.ebuild
45 deleted file mode 100644
46 index 5c0f6ca..0000000
47 --- a/dev-embedded/arduino-ide/arduino-ide-1.6.13.ebuild
48 +++ /dev/null
49 @@ -1,94 +0,0 @@
50 -# Copyright 1999-2015 Gentoo Foundation
51 -# Distributed under the terms of the GNU General Public License v2
52 -# $Id$
53 -
54 -EAPI=5
55 -JAVA_PKG_IUSE="doc examples"
56 -
57 -inherit eutils java-pkg-2 java-ant-2
58 -
59 -MY_P="Arduino"
60 -PNS="arduino"
61 -DESCRIPTION="An open-source AVR electronics prototyping platform"
62 -HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
63 -SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
64 - mirror://gentoo/arduino-icons.tar.bz2"
65 -LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
66 -SLOT="0"
67 -KEYWORDS="~amd64 ~x86"
68 -RESTRICT="strip binchecks"
69 -IUSE=""
70 -
71 -COMMONDEP="
72 -dev-java/jna:0
73 ->dev-java/rxtx-2.1:2"
74 -
75 -RDEPEND="${COMMONDEP}
76 -dev-embedded/arduino-libs
77 ->=dev-embedded/avrdude-6
78 -sys-devel/crossdev
79 ->=virtual/jre-1.8"
80 -
81 -DEPEND="${COMMONDEP}
82 ->=virtual/jdk-1.8"
83 -
84 -S="${WORKDIR}/${MY_P}-${PV}"
85 -EANT_GENTOO_CLASSPATH="jna,rxtx-2"
86 -EANT_EXTRA_ARGS="-Dversion=${PV}"
87 -EANT_BUILD_TARGET="build"
88 -JAVA_ANT_REWRITE_CLASSPATH="yes"
89 -
90 -java_prepare() {
91 - # Patch launcher script to include rxtx class/ld paths
92 - epatch "${FILESDIR}/${P}-script.patch"
93 -}
94 -
95 -src_compile() {
96 - eant -f arduino-core/build.xml
97 - EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar"
98 - eant -f app/build.xml
99 - eant "${EANT_EXTRA_ARGS}" -f build/build.xml
100 -}
101 -
102 -src_install() {
103 - cd "${S}"/build/linux/work || die
104 - java-pkg_dojar lib/*.jar
105 - java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
106 -
107 - if use examples; then
108 - java-pkg_doexamples examples
109 - docompress -x /usr/share/doc/${P}/examples/
110 - fi
111 -
112 - if use doc; then
113 - dodoc revisions.txt "${S}"/README.md
114 - dohtml -r reference
115 - fi
116 -
117 - insinto "/usr/share/${PNS}/"
118 - #doins -r hardware libraries tools tools-builder dist
119 - doins -r tools tools-builder
120 - #fowners -R root:uucp "/usr/share/${PNS}/hardware"
121 -
122 - insinto "/usr/share/${PNS}/lib"
123 - doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
124 -
125 - # install menu and icons
126 - sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop
127 - sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop
128 - sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop
129 - domenu "${PNS}.desktop"
130 - for sz in 16 24 32 48 128 256; do
131 - newicon -s $sz \
132 - "${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
133 - "${PNS}.png"
134 - done
135 -}
136 -
137 -pkg_postinst() {
138 - [ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
139 -
140 - elog "I have *NOT* tested if this ebuild even works, because I don't use it myself."
141 - elog "If you encounter issues with the installation, please report them to me, and"
142 - elog "I will try my best to fix them."
143 -}
144
145 diff --git a/dev-embedded/arduino-ide/arduino-ide-1.6.8.ebuild b/dev-embedded/arduino-ide/arduino-ide-1.6.8.ebuild
146 deleted file mode 100644
147 index 0aa0902..0000000
148 --- a/dev-embedded/arduino-ide/arduino-ide-1.6.8.ebuild
149 +++ /dev/null
150 @@ -1,94 +0,0 @@
151 -# Copyright 1999-2015 Gentoo Foundation
152 -# Distributed under the terms of the GNU General Public License v2
153 -# $Id$
154 -
155 -EAPI=5
156 -JAVA_PKG_IUSE="doc examples"
157 -
158 -inherit eutils java-pkg-2 java-ant-2
159 -
160 -MY_P="Arduino"
161 -PNS="arduino"
162 -DESCRIPTION="An open-source AVR electronics prototyping platform"
163 -HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
164 -SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
165 - mirror://gentoo/arduino-icons.tar.bz2"
166 -LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
167 -SLOT="0"
168 -KEYWORDS="~amd64 ~x86"
169 -RESTRICT="strip binchecks"
170 -IUSE=""
171 -
172 -COMMONDEP="
173 -dev-java/jna:0
174 ->dev-java/rxtx-2.1:2"
175 -
176 -RDEPEND="${COMMONDEP}
177 -dev-embedded/arduino-libs
178 -dev-embedded/avrdude
179 -sys-devel/crossdev
180 ->=virtual/jre-1.8"
181 -
182 -DEPEND="${COMMONDEP}
183 ->=virtual/jdk-1.8"
184 -
185 -S="${WORKDIR}/${MY_P}-${PV}"
186 -EANT_GENTOO_CLASSPATH="jna,rxtx-2"
187 -EANT_EXTRA_ARGS="-Dversion=${PV}"
188 -EANT_BUILD_TARGET="build"
189 -JAVA_ANT_REWRITE_CLASSPATH="yes"
190 -
191 -java_prepare() {
192 - # Patch launcher script to include rxtx class/ld paths
193 - epatch "${FILESDIR}/${P}-script.patch"
194 -}
195 -
196 -src_compile() {
197 - eant -f arduino-core/build.xml
198 - EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar"
199 - eant -f app/build.xml
200 - eant "${EANT_EXTRA_ARGS}" -f build/build.xml
201 -}
202 -
203 -src_install() {
204 - cd "${S}"/build/linux/work || die
205 - java-pkg_dojar lib/*.jar
206 - java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
207 -
208 - if use examples; then
209 - java-pkg_doexamples examples
210 - docompress -x /usr/share/doc/${P}/examples/
211 - fi
212 -
213 - if use doc; then
214 - dodoc revisions.txt "${S}"/README.md
215 - dohtml -r reference
216 - fi
217 -
218 - insinto "/usr/share/${PNS}/"
219 - #doins -r hardware libraries tools tools-builder dist
220 - doins -r tools tools-builder dist
221 - #fowners -R root:uucp "/usr/share/${PNS}/hardware"
222 -
223 - insinto "/usr/share/${PNS}/lib"
224 - doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
225 -
226 - # install menu and icons
227 - sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop
228 - sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop
229 - sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop
230 - domenu "${PNS}.desktop"
231 - for sz in 16 24 32 48 128 256; do
232 - newicon -s $sz \
233 - "${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
234 - "${PNS}.png"
235 - done
236 -}
237 -
238 -pkg_postinst() {
239 - [ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
240 -
241 - elog "I have *NOT* tested if this ebuild even works, because I don't use it myself."
242 - elog "If you encounter issues with the installation, please report them to me, and"
243 - elog "I will try my best to fix them."
244 -}
245
246 diff --git a/dev-embedded/arduino-ide/arduino-ide-1.6.9.ebuild b/dev-embedded/arduino-ide/arduino-ide-1.6.9.ebuild
247 deleted file mode 100644
248 index 632f78e..0000000
249 --- a/dev-embedded/arduino-ide/arduino-ide-1.6.9.ebuild
250 +++ /dev/null
251 @@ -1,94 +0,0 @@
252 -# Copyright 1999-2015 Gentoo Foundation
253 -# Distributed under the terms of the GNU General Public License v2
254 -# $Id$
255 -
256 -EAPI=5
257 -JAVA_PKG_IUSE="doc examples"
258 -
259 -inherit eutils java-pkg-2 java-ant-2
260 -
261 -MY_P="Arduino"
262 -PNS="arduino"
263 -DESCRIPTION="An open-source AVR electronics prototyping platform"
264 -HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
265 -SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
266 - mirror://gentoo/arduino-icons.tar.bz2"
267 -LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
268 -SLOT="0"
269 -KEYWORDS="~amd64 ~x86"
270 -RESTRICT="strip binchecks"
271 -IUSE=""
272 -
273 -COMMONDEP="
274 -dev-java/jna:0
275 ->dev-java/rxtx-2.1:2"
276 -
277 -RDEPEND="${COMMONDEP}
278 -dev-embedded/arduino-libs
279 -=dev-embedded/avrdude-6.0.1
280 -sys-devel/crossdev
281 ->=virtual/jre-1.8"
282 -
283 -DEPEND="${COMMONDEP}
284 ->=virtual/jdk-1.8"
285 -
286 -S="${WORKDIR}/${MY_P}-${PV}"
287 -EANT_GENTOO_CLASSPATH="jna,rxtx-2"
288 -EANT_EXTRA_ARGS="-Dversion=${PV}"
289 -EANT_BUILD_TARGET="build"
290 -JAVA_ANT_REWRITE_CLASSPATH="yes"
291 -
292 -java_prepare() {
293 - # Patch launcher script to include rxtx class/ld paths
294 - epatch "${FILESDIR}/${P}-script.patch"
295 -}
296 -
297 -src_compile() {
298 - eant -f arduino-core/build.xml
299 - EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar"
300 - eant -f app/build.xml
301 - eant "${EANT_EXTRA_ARGS}" -f build/build.xml
302 -}
303 -
304 -src_install() {
305 - cd "${S}"/build/linux/work || die
306 - java-pkg_dojar lib/*.jar
307 - java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
308 -
309 - if use examples; then
310 - java-pkg_doexamples examples
311 - docompress -x /usr/share/doc/${P}/examples/
312 - fi
313 -
314 - if use doc; then
315 - dodoc revisions.txt "${S}"/README.md
316 - dohtml -r reference
317 - fi
318 -
319 - insinto "/usr/share/${PNS}/"
320 - #doins -r hardware libraries tools tools-builder dist
321 - doins -r tools tools-builder dist
322 - #fowners -R root:uucp "/usr/share/${PNS}/hardware"
323 -
324 - insinto "/usr/share/${PNS}/lib"
325 - doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
326 -
327 - # install menu and icons
328 - sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop
329 - sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop
330 - sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop
331 - domenu "${PNS}.desktop"
332 - for sz in 16 24 32 48 128 256; do
333 - newicon -s $sz \
334 - "${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
335 - "${PNS}.png"
336 - done
337 -}
338 -
339 -pkg_postinst() {
340 - [ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
341 -
342 - elog "I have *NOT* tested if this ebuild even works, because I don't use it myself."
343 - elog "If you encounter issues with the installation, please report them to me, and"
344 - elog "I will try my best to fix them."
345 -}
346
347 diff --git a/dev-embedded/arduino-ide/arduino-ide-1.8.5.ebuild b/dev-embedded/arduino-ide/arduino-ide-1.8.19.ebuild
348 similarity index 94%
349 rename from dev-embedded/arduino-ide/arduino-ide-1.8.5.ebuild
350 rename to dev-embedded/arduino-ide/arduino-ide-1.8.19.ebuild
351 index 5c0f6ca..6535a91 100644
352 --- a/dev-embedded/arduino-ide/arduino-ide-1.8.5.ebuild
353 +++ b/dev-embedded/arduino-ide/arduino-ide-1.8.19.ebuild
354 @@ -1,18 +1,17 @@
355 -# Copyright 1999-2015 Gentoo Foundation
356 +# Copyright 1999-2022 Gentoo Authors
357 # Distributed under the terms of the GNU General Public License v2
358 # $Id$
359
360 -EAPI=5
361 +EAPI=8
362 JAVA_PKG_IUSE="doc examples"
363
364 -inherit eutils java-pkg-2 java-ant-2
365 +inherit desktop java-pkg-2 java-ant-2
366
367 MY_P="Arduino"
368 PNS="arduino"
369 DESCRIPTION="An open-source AVR electronics prototyping platform"
370 HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
371 -SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
372 - mirror://gentoo/arduino-icons.tar.bz2"
373 +SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz"
374 LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
375 SLOT="0"
376 KEYWORDS="~amd64 ~x86"