1 |
commit: 6d3c386cca3b1ab7a65f4140e74790e81009ca23 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 29 18:49:46 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 29 19:23:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3c386c |
7 |
|
8 |
dev-embedded/arduino: drop 1.8.7, 1.8.13, EAPI-6-- |
9 |
|
10 |
Closes: https://bugs.gentoo.org/865449 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-embedded/arduino/Manifest | 8 -- |
14 |
dev-embedded/arduino/arduino-1.8.13.ebuild | 148 ----------------------------- |
15 |
dev-embedded/arduino/arduino-1.8.7.ebuild | 146 ---------------------------- |
16 |
3 files changed, 302 deletions(-) |
17 |
|
18 |
diff --git a/dev-embedded/arduino/Manifest b/dev-embedded/arduino/Manifest |
19 |
index 97976803f518..2c5e7ecab1bf 100644 |
20 |
--- a/dev-embedded/arduino/Manifest |
21 |
+++ b/dev-embedded/arduino/Manifest |
22 |
@@ -1,12 +1,4 @@ |
23 |
-DIST arduino-1.8.13.tar.gz 42634076 BLAKE2B 66755822da4cdb804e313730784d2824f919a09a8c93973ceda2c5964142f8c93081c9d79e0172b745cc938ed2f01b0279a1977284bde6e55f3a330fa113c21c SHA512 3481d1ed4ca4ffe038bdfc17acb6f2ec113ecc48d1a3967178738a852e5ba1d28044d2ea7cd4ae0984183a70ac8e6f8eb5a707624fd70e16561aa6cd6f4b9cd8 |
24 |
DIST arduino-1.8.19.tar.gz 34715155 BLAKE2B d0bb23548db5b5c402e418f85339c1ace9a21306f5866bd4923edabd188e9e8e273227927d2f45ce50cdc1ee7bb59dfa4d62b027ee0f723d5948ec9ba77c0d50 SHA512 65db7aec67d6bbb96eea83d60608dd4c138ff1f9dd3c02259f3ffa0ce51f59a9a073a1ddb48acc0208477ece92ec79b5a6a87b445110f59e698990d61300bbf9 |
25 |
-DIST arduino-1.8.7.tar.gz 38372798 BLAKE2B a59aac177bb95e17eec7ab85d88cf0a25737f21d4be88458abfd8ffa12f2215b82e2256fc2921a14583b60f51f3144f46d35d19ae83ba6dd726a2a8773839aea SHA512 6676e0a7e0383eb2addbfad05020cb54c1606f6920840c269625e58354fd950b57037f553e3f9661b462dfbb8afb40d6ba7390cbe0c4b96406871279939b5823 |
26 |
-DIST arduino-Edison_help_files-1.6.2.zip 3321743 BLAKE2B 5d760ba329741cac27253fb439cf98381c0c0d7327f0c22f61cffc23c48d655278280185e5a7f6c85f3d182cacad4626eb9fe6cc2aaf7d2965bb377e2f39bbaa SHA512 63d4005036b43f09347814433578e8c75a7af5caa0923516deab146ef0867af4e60aad0c9d5d47870dcec0ddb4e5396363e4312425f95a8d8da8725f77da8f3a |
27 |
-DIST arduino-Galileo_help_files-1.6.2.zip 4352077 BLAKE2B 16b99a57535ed77cdd69bb60dbb17085edfb2454b81a1b55b46310aa75e797bf784e39fb4642daf281ff92d9ade6f002cf359f98b95fc5225f66e63d189305fa SHA512 411fcfad9e9877078de62c02accd66ed5e44daf2979cad38c12962c22d73412d084670db77d5b50b3a32f35977961943e90d85ac80484f926468aa994f8b107b |
28 |
-DIST arduino-WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip 7229880 BLAKE2B 93729cf9fbbdab111a71020502cbe59b4a62217e90fa684977184e9de18cbd8e9a80d149184b794587385550a46aaef14a08057eb35b734146a911d5913496a7 SHA512 eacd20bfcc759f0b0744629073d1debd3d4fd8a36e5948314d149902568158839965755b833a263a71c65d7092d9091a5d05695c01854d4fb308fbec3711bd3c |
29 |
DIST arduino-WiFi101-Updater-ArduinoIDE-Plugin-0.12.0.zip 21873817 BLAKE2B ef2ee6291c452b58b990594a1cbae0daf86e1b6078b51225a7253d782554648610d39c2761ed67914e54a757d1345c7de4c8a63fbe12483f0134c21eac5dc303 SHA512 17e2d07fbdca491a8d80abb6f2ceb000c68af59b755da7db70dce2d5f781204340f43365c40e641acf0b084b2073b3b056f63d68990f405adefb76887f4c5b72 |
30 |
-DIST arduino-WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip 945515 BLAKE2B a2ab32b400f774f006e1afb69797951382f8768ee55216591baecc8fc0665c31b31df403ffd17825ae524dcd0bcba87bfecbdc82722f9105d68cf9d5c8298415 SHA512 2fd003b638133d9ff77d76952ce4a38c3c2ea78c0c0c849580883e5104c3a5c141313f74934eeda29a446388e3d502e69e65ded088e693b0ff5810a133001ba8 |
31 |
-DIST arduino-avr-1.6.23.tar.bz2 5001988 BLAKE2B 8b6ddc2d66e651a3a2b6bd6992cd1311aad223a6cefa1a1a4bc1fa05de449116511137f8cf13c50ca42b83477c66cf4aa3a7984f49905eb7a295eff7f2c3623e SHA512 70ff70446bfc0f036f7a2927e8e53861e60225a0a6c1eb993557278ec79b8337f3a5ee6fd6f6d200744d80104efb1783332eb8d6d53c9f1b6ea6dc3054d78fd4 |
32 |
DIST arduino-avr-1.8.3.tar.bz2 4941548 BLAKE2B 48d84a30f3ccf1074df6ec006ccc58d702a572dee51cff1753121055d660ad6cea4176e74488af93227a9eeea4d3a9c0c0856711ebded26ee14a755fb519dd6f SHA512 c8a63ad79f16c380def83b1215762f5cbddfc51480d658853370c3210724bb04627272f3affc0ad01af4463a68980665a4e1c37cc8fabcec16e97c4550d1bb03 |
33 |
DIST arduino-examples-1.9.1.zip 4810227 BLAKE2B 0781ecb330adc444e660f6db89533dfb01995ec87dec7b5f55e28e65bfaf7f505aa79362f5815193ea6500cb1d6a16a86d5f300acf70fc4eaff0265c2891d371 SHA512 c0e21dd374b2751a1e5f2b790202d4883879da2e26e9a23ccbaec478647e2b8160cbc085e76888deafc05b9b14b1aff4ce2a9b834a7b83e8226c3bc41801015c |
34 |
-DIST arduino-reference-1.6.6-3.zip 7004842 BLAKE2B 49d0d41fb499c15f06c8cb8d8211e5039ee9843a6629f305762b262a5bf199e4bbe7fea4716b7734403dc7e83ce35a963035b3a2c0d6a198a4218e7472b18d74 SHA512 65962322b6dcb15da6c119d47c382052d1183772c855b8e8fcdd108b54e730e2374d93741737f3b51e57288a0e8842a6a7f79dce4377ea3630293e6c3e7e8b73 |
35 |
|
36 |
diff --git a/dev-embedded/arduino/arduino-1.8.13.ebuild b/dev-embedded/arduino/arduino-1.8.13.ebuild |
37 |
deleted file mode 100644 |
38 |
index 21bfa76063be..000000000000 |
39 |
--- a/dev-embedded/arduino/arduino-1.8.13.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,148 +0,0 @@ |
42 |
-# Copyright 1999-2020 Gentoo Authors |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=6 |
46 |
- |
47 |
-inherit java-pkg-2 java-ant-2 gnome2-utils |
48 |
- |
49 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
50 |
-HOMEPAGE="https://arduino.cc/ https://github.com/arduino/" |
51 |
- |
52 |
-ARDUINO_DOCS=( |
53 |
- "reference-1.6.6-3" |
54 |
- "Galileo_help_files-1.6.2" |
55 |
- "Edison_help_files-1.6.2" |
56 |
-) |
57 |
- |
58 |
-for docname in "${ARDUINO_DOCS[@]}"; do |
59 |
- ARDUINO_DOCS_URI+=" https://downloads.arduino.cc/${docname}.zip -> ${PN}-${docname}.zip" |
60 |
-done |
61 |
- |
62 |
-AVR_VERSION="1.8.3" |
63 |
-PLUGIN_VERSION="0.10.10" |
64 |
- |
65 |
-SRC_URI="https://github.com/arduino/Arduino/archive/${PV}.tar.gz -> ${P}.tar.gz |
66 |
- https://downloads.arduino.cc/cores/avr-${AVR_VERSION}.tar.bz2 -> ${PN}-avr-${AVR_VERSION}.tar.bz2 |
67 |
- https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v${PLUGIN_VERSION}/WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip -> ${PN}-WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip |
68 |
- doc? ( |
69 |
- ${ARDUINO_DOCS_URI} |
70 |
- )" |
71 |
- |
72 |
-LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="~amd64 ~x86" |
75 |
-IUSE="doc" |
76 |
- |
77 |
-CDEPEND="dev-embedded/arduino-builder" |
78 |
- |
79 |
-RDEPEND="${CDEPEND} |
80 |
- >=dev-util/astyle-3.1[java] |
81 |
- dev-embedded/arduino-listserialportsc |
82 |
- >=virtual/jre-1.8" |
83 |
- |
84 |
-DEPEND="${CDEPEND} |
85 |
- app-arch/unzip |
86 |
- >=virtual/jdk-1.8" |
87 |
- |
88 |
-EANT_BUILD_TARGET="build" |
89 |
-# don't run the default "javadoc" target, we don't have one. |
90 |
-EANT_DOC_TARGET="" |
91 |
-EANT_BUILD_XML="build/build.xml" |
92 |
-EANT_EXTRA_ARGS=" -Dlight_bundle=1 -Dlocal_sources=1 -Dno_arduino_builder=1 -Dversion=${PV}" |
93 |
- |
94 |
-RESTRICT="strip" |
95 |
-QA_PREBUILT="usr/share/arduino/hardware/arduino/avr/firmwares/*" |
96 |
- |
97 |
-S="${WORKDIR}/Arduino-${PV}" |
98 |
- |
99 |
-PATCHES=( |
100 |
- # We need to load system astyle/listserialportsc instead of bundled ones. |
101 |
- "${FILESDIR}/${PN}-1.8.5-lib-loading.patch" |
102 |
-) |
103 |
- |
104 |
-src_unpack() { |
105 |
- # We don't want to unpack tools, just move zip files into the work dir |
106 |
- local a=( ${A} ) |
107 |
- unpack "${a[0]}" |
108 |
- |
109 |
- cp "${DISTDIR}/${PN}-avr-${AVR_VERSION}.tar.bz2" "${S}/build/avr-${AVR_VERSION}.tar.bz2" || die |
110 |
- cp "${DISTDIR}/${PN}-WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip" "${S}/build/shared/WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip" || die |
111 |
- |
112 |
- if use doc; then |
113 |
- local docname |
114 |
- for docname in "${ARDUINO_DOCS[@]}"; do |
115 |
- cp "${DISTDIR}/${PN}-${docname}.zip" "${S}/build/shared/${docname}.zip" || die |
116 |
- done |
117 |
- fi |
118 |
-} |
119 |
- |
120 |
-src_prepare() { |
121 |
- default |
122 |
- |
123 |
- # Unbundle libastyle |
124 |
- sed -i 's/\(target name="linux-libastyle-[a-zA-Z0-9]*"\)/\1 if="never"/g' "$S/build/build.xml" || die |
125 |
- |
126 |
- # Unbundle avr toolchain |
127 |
- sed -i 's/target name="avr-toolchain-bundle" unless="light_bundle"/target name="avr-toolchain-bundle" if="never"/' "$S/build/build.xml" || die |
128 |
- |
129 |
- # Install avr hardware |
130 |
- sed -i 's/target name="assemble-hardware" unless="light_bundle"/target name="assemble-hardware"/' "$S/build/build.xml" || die |
131 |
-} |
132 |
- |
133 |
-src_compile() { |
134 |
- use doc || EANT_EXTRA_ARGS+=" -Dno_docs=1" |
135 |
- java-pkg-2_src_compile |
136 |
-} |
137 |
- |
138 |
-src_install() { |
139 |
- cd "${S}"/build/linux/work || die |
140 |
- |
141 |
- # We need to replace relative paths for toolchain executable by paths to system ones. |
142 |
- sed -i -e 's@^compiler.path=.*@compiler.path=/usr/bin/@' -e 's@^tools.avrdude.path=.*@tools.avrdude.path=/usr@' \ |
143 |
- -e 's@^tools.avrdude.config.path=.*@tools.avrdude.config.path=/etc/avrdude.conf@' hardware/arduino/avr/platform.txt || die |
144 |
- |
145 |
- java-pkg_dojar lib/*.jar |
146 |
- java-pkg_dolauncher ${PN} \ |
147 |
- --pwd "/usr/share/${PN}" \ |
148 |
- --main "processing.app.Base" \ |
149 |
- --java_args "-DAPP_DIR=/usr/share/${PN} -Djava.library.path=${EPREFIX}/usr/$(get_libdir)" |
150 |
- |
151 |
- insinto "/usr/share/${PN}" |
152 |
- |
153 |
- doins -r examples hardware lib tools |
154 |
- |
155 |
- # In upstream's build process, we copy these fiels below from the bundled arduino-builder. |
156 |
- # Here we do the same thing, but from the system arduino-builder. |
157 |
- dosym "../../arduino-builder/platform.txt" "/usr/share/${PN}/hardware/platform.txt" |
158 |
- dosym "../../arduino-builder/platform.keys.rewrite.txt" "/usr/share/${PN}/hardware/platform.keys.rewrite.txt" |
159 |
- dosym "../../bin/arduino-builder" "/usr/share/${PN}/arduino-builder" |
160 |
- |
161 |
- # hardware/tools/avr needs to exist or arduino-builder will |
162 |
- # complain about missing required -tools arg |
163 |
- dodir "/usr/share/${PN}/hardware/tools/avr" |
164 |
- |
165 |
- if use doc; then |
166 |
- HTML_DOCS=( reference ) |
167 |
- einstalldocs |
168 |
- |
169 |
- # arduino expects its doc in its "main" directory. symlink it. |
170 |
- dosym "../doc/${PF}/html/reference" "/usr/share/${PN}/reference" |
171 |
- fi |
172 |
- |
173 |
- # Install menu and icons |
174 |
- domenu "${FILESDIR}/${PN}.desktop" |
175 |
- cd lib/icons || die |
176 |
- local icondir |
177 |
- for icondir in *; do |
178 |
- # icondir name is something like "24x24" we want the "24" part |
179 |
- local iconsize=`cut -dx -f1 <<< "${icondir}"` |
180 |
- newicon -s $iconsize \ |
181 |
- "${icondir}/apps/arduino.png" \ |
182 |
- "${PN}.png" |
183 |
- done |
184 |
-} |
185 |
- |
186 |
-pkg_postinst() { |
187 |
- gnome2_icon_cache_update |
188 |
- [[ ! -x /usr/bin/avr-g++ ]] && ewarn "Missing avr-g++; you need to crossdev -s4 avr" |
189 |
-} |
190 |
|
191 |
diff --git a/dev-embedded/arduino/arduino-1.8.7.ebuild b/dev-embedded/arduino/arduino-1.8.7.ebuild |
192 |
deleted file mode 100644 |
193 |
index 03635acd39ef..000000000000 |
194 |
--- a/dev-embedded/arduino/arduino-1.8.7.ebuild |
195 |
+++ /dev/null |
196 |
@@ -1,146 +0,0 @@ |
197 |
-# Copyright 1999-2020 Gentoo Authors |
198 |
-# Distributed under the terms of the GNU General Public License v2 |
199 |
- |
200 |
-EAPI=6 |
201 |
- |
202 |
-inherit java-pkg-2 java-ant-2 gnome2-utils |
203 |
- |
204 |
-DESCRIPTION="An open-source AVR electronics prototyping platform" |
205 |
-HOMEPAGE="https://arduino.cc/ https://github.com/arduino/" |
206 |
- |
207 |
-ARDUINO_DOCS=( |
208 |
- "reference-1.6.6-3" |
209 |
- "Galileo_help_files-1.6.2" |
210 |
- "Edison_help_files-1.6.2" |
211 |
-) |
212 |
- |
213 |
-for docname in "${ARDUINO_DOCS[@]}"; do |
214 |
- ARDUINO_DOCS_URI+=" https://downloads.arduino.cc/${docname}.zip -> ${PN}-${docname}.zip" |
215 |
-done |
216 |
- |
217 |
-SRC_URI="https://github.com/arduino/Arduino/archive/${PV}.tar.gz -> ${P}.tar.gz |
218 |
- https://downloads.arduino.cc/cores/avr-1.6.23.tar.bz2 -> ${PN}-avr-1.6.23.tar.bz2 |
219 |
- https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.9.2/WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip -> ${PN}-WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip |
220 |
- doc? ( |
221 |
- ${ARDUINO_DOCS_URI} |
222 |
- )" |
223 |
- |
224 |
-LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0" |
225 |
-SLOT="0" |
226 |
-KEYWORDS="amd64 x86" |
227 |
-IUSE="doc" |
228 |
- |
229 |
-CDEPEND="dev-embedded/arduino-builder" |
230 |
- |
231 |
-RDEPEND="${CDEPEND} |
232 |
- >=dev-util/astyle-3.1[java] |
233 |
- dev-embedded/arduino-listserialportsc |
234 |
- >=virtual/jre-1.8" |
235 |
- |
236 |
-DEPEND="${CDEPEND} |
237 |
- app-arch/unzip |
238 |
- >=virtual/jdk-1.8" |
239 |
- |
240 |
-EANT_BUILD_TARGET="build" |
241 |
-# don't run the default "javadoc" target, we don't have one. |
242 |
-EANT_DOC_TARGET="" |
243 |
-EANT_BUILD_XML="build/build.xml" |
244 |
-EANT_EXTRA_ARGS=" -Dlight_bundle=1 -Dlocal_sources=1 -Dno_arduino_builder=1" |
245 |
- |
246 |
-RESTRICT="strip" |
247 |
-QA_PREBUILT="usr/share/arduino/hardware/arduino/avr/firmwares/*" |
248 |
- |
249 |
-S="${WORKDIR}/Arduino-${PV}" |
250 |
- |
251 |
-PATCHES=( |
252 |
- # We need to load system astyle/listserialportsc instead of bundled ones. |
253 |
- "${FILESDIR}/${PN}-1.8.5-lib-loading.patch" |
254 |
-) |
255 |
- |
256 |
-src_unpack() { |
257 |
- # We don't want to unpack tools, just move zip files into the work dir |
258 |
- unpack `echo ${A} | cut -d ' ' -f1` |
259 |
- |
260 |
- cp "${DISTDIR}/${PN}-avr-1.6.23.tar.bz2" "${S}/build/avr-1.6.23.tar.bz2" || die |
261 |
- cp "${DISTDIR}/${PN}-WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip" "${S}/build/shared/WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip"|| die |
262 |
- |
263 |
- if use doc; then |
264 |
- local docname |
265 |
- for docname in "${ARDUINO_DOCS[@]}"; do |
266 |
- cp "${DISTDIR}/${PN}-${docname}.zip" "${S}/build/shared/${docname}.zip" || die |
267 |
- done |
268 |
- fi |
269 |
-} |
270 |
- |
271 |
-src_prepare() { |
272 |
- default |
273 |
- |
274 |
- # Unbundle libastyle |
275 |
- sed -i 's/\(target name="linux-libastyle-[a-zA-Z0-9]*"\)/\1 if="never"/g' "$S/build/build.xml" || die |
276 |
- |
277 |
- # Unbundle avr toolchain |
278 |
- sed -i 's/target name="avr-toolchain-bundle" unless="light_bundle"/target name="avr-toolchain-bundle" if="never"/' "$S/build/build.xml" || die |
279 |
- |
280 |
- # Install avr hardware |
281 |
- sed -i 's/target name="assemble-hardware" unless="light_bundle"/target name="assemble-hardware"/' "$S/build/build.xml" || die |
282 |
-} |
283 |
- |
284 |
-src_compile() { |
285 |
- if ! use doc; then |
286 |
- EANT_EXTRA_ARGS+=" -Dno_docs=1" |
287 |
- fi |
288 |
- java-pkg-2_src_compile |
289 |
-} |
290 |
- |
291 |
-src_install() { |
292 |
- cd "${S}"/build/linux/work || die |
293 |
- |
294 |
- # We need to replace relative paths for toolchain executable by paths to system ones. |
295 |
- sed -i -e 's@^compiler.path=.*@compiler.path=/usr/bin/@' -e 's@^tools.avrdude.path=.*@tools.avrdude.path=/usr@' \ |
296 |
- -e 's@^tools.avrdude.config.path=.*@tools.avrdude.config.path=/etc/avrdude.conf@' hardware/arduino/avr/platform.txt || die |
297 |
- |
298 |
- java-pkg_dojar lib/*.jar |
299 |
- java-pkg_dolauncher ${PN} \ |
300 |
- --pwd "/usr/share/${PN}" \ |
301 |
- --main "processing.app.Base" \ |
302 |
- --java_args "-DAPP_DIR=/usr/share/${PN} -Djava.library.path=${EPREFIX}/usr/$(get_libdir)" |
303 |
- |
304 |
- insinto "/usr/share/${PN}" |
305 |
- |
306 |
- doins -r examples hardware lib tools |
307 |
- |
308 |
- # In upstream's build process, we copy these fiels below from the bundled arduino-builder. |
309 |
- # Here we do the same thing, but from the system arduino-builder. |
310 |
- dosym "../../arduino-builder/platform.txt" "/usr/share/${PN}/hardware/platform.txt" |
311 |
- dosym "../../arduino-builder/platform.keys.rewrite.txt" "/usr/share/${PN}/hardware/platform.keys.rewrite.txt" |
312 |
- dosym "../../bin/arduino-builder" "/usr/share/${PN}/arduino-builder" |
313 |
- |
314 |
- # hardware/tools/avr needs to exist or arduino-builder will |
315 |
- # complain about missing required -tools arg |
316 |
- dodir "/usr/share/${PN}/hardware/tools/avr" |
317 |
- |
318 |
- if use doc; then |
319 |
- HTML_DOCS=( reference ) |
320 |
- einstalldocs |
321 |
- |
322 |
- # arduino expects its doc in its "main" directory. symlink it. |
323 |
- dosym "../doc/${PF}/html/reference" "/usr/share/${PN}/reference" |
324 |
- fi |
325 |
- |
326 |
- # Install menu and icons |
327 |
- domenu "${FILESDIR}/${PN}.desktop" |
328 |
- cd lib/icons || die |
329 |
- local icondir |
330 |
- for icondir in *; do |
331 |
- # icondir name is something like "24x24" we want the "24" part |
332 |
- local iconsize=`cut -dx -f1 <<< "${icondir}"` |
333 |
- newicon -s $iconsize \ |
334 |
- "${icondir}/apps/arduino.png" \ |
335 |
- "${PN}.png" |
336 |
- done |
337 |
-} |
338 |
- |
339 |
-pkg_postinst() { |
340 |
- gnome2_icon_cache_update |
341 |
- [[ ! -x /usr/bin/avr-g++ ]] && ewarn "Missing avr-g++; you need to crossdev -s4 avr" |
342 |
-} |