public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/arduino/
Date: Mon, 29 Jul 2024 08:55:36 +0000 (UTC)	[thread overview]
Message-ID: <1722243325.dfb970f960b3adbde0f3888766483707c284d257.arthurzam@gentoo> (raw)

commit:     dfb970f960b3adbde0f3888766483707c284d257
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Jul 29 08:52:29 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 08:55:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb970f9

dev-embedded/arduino: drop 1.8.19

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/37741
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-embedded/arduino/arduino-1.8.19.ebuild | 118 -----------------------------
 1 file changed, 118 deletions(-)

diff --git a/dev-embedded/arduino/arduino-1.8.19.ebuild b/dev-embedded/arduino/arduino-1.8.19.ebuild
deleted file mode 100644
index 4dd3c76f3613..000000000000
--- a/dev-embedded/arduino/arduino-1.8.19.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit java-pkg-2 java-ant-2 desktop xdg-utils
-
-DESCRIPTION="An open-source AVR electronics prototyping platform"
-HOMEPAGE="https://www.arduino.cc/ https://github.com/arduino/"
-
-AVR_VERSION="1.8.3"
-EXAMPLES_VERSION="1.9.1"
-PLUGIN_VERSION="0.12.0"
-
-SRC_URI="https://github.com/arduino/Arduino/archive/${PV}.tar.gz -> ${P}.tar.gz
-	https://downloads.arduino.cc/cores/avr-${AVR_VERSION}.tar.bz2 -> ${PN}-avr-${AVR_VERSION}.tar.bz2
-	https://github.com/arduino/arduino-examples/archive/refs/tags/${EXAMPLES_VERSION}.zip -> ${PN}-examples-${EXAMPLES_VERSION}.zip
-	https://github.com/arduino/WiFi101-FirmwareUpdater-Plugin/releases/download/v${PLUGIN_VERSION}/WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip -> ${PN}-WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip
-	"
-
-LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-CDEPEND="dev-embedded/arduino-builder"
-
-RDEPEND="${CDEPEND}
-	>=dev-util/astyle-3.1[java]
-	dev-embedded/arduino-listserialportsc
-	>=virtual/jre-1.8"
-
-DEPEND="${CDEPEND}
-	app-arch/unzip
-	>=virtual/jdk-1.8"
-
-EANT_BUILD_TARGET="build"
-# don't run the default "javadoc" target, we don't have one.
-EANT_DOC_TARGET=""
-EANT_BUILD_XML="build/build.xml"
-EANT_EXTRA_ARGS=" -Dlight_bundle=1 -Dlocal_sources=1 -Dno_arduino_builder=1 -Dversion=${PV}"
-
-RESTRICT="strip"
-QA_PREBUILT="usr/share/arduino/hardware/arduino/avr/firmwares/*"
-
-S="${WORKDIR}/Arduino-${PV}"
-
-PATCHES=(
-	# We need to load system astyle/listserialportsc instead of bundled ones.
-	"${FILESDIR}/${PN}-1.8.5-lib-loading.patch"
-)
-
-src_unpack() {
-	# We don't want to unpack tools, just move zip files into the work dir
-	local a=( ${A} )
-	unpack "${a[0]}"
-
-	cp "${DISTDIR}/${PN}-avr-${AVR_VERSION}.tar.bz2" "${S}/build/avr-${AVR_VERSION}.tar.bz2" || die
-	cp "${DISTDIR}/${PN}-examples-${EXAMPLES_VERSION}.zip" "${S}/build/" || die
-	cp "${DISTDIR}/${PN}-WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip" "${S}/build/shared/WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip" || die
-}
-
-src_prepare() {
-	default
-
-	# Unbundle libastyle
-	sed -i 's/\(target name="linux-libastyle-[a-zA-Z0-9]*"\)/\1 if="never"/g' "$S/build/build.xml" || die
-
-	# Unbundle avr toolchain
-	sed -i 's/target name="avr-toolchain-bundle" unless="light_bundle"/target name="avr-toolchain-bundle" if="never"/' "$S/build/build.xml" || die
-
-	# Install avr hardware
-	sed -i 's/target name="assemble-hardware" unless="light_bundle"/target name="assemble-hardware"/' "$S/build/build.xml" || die
-}
-
-src_install() {
-	cd "${S}"/build/linux/work || die
-
-	# We need to replace relative paths for toolchain executable by paths to system ones.
-	sed -i -e 's@^compiler.path=.*@compiler.path=/usr/bin/@' -e 's@^tools.avrdude.path=.*@tools.avrdude.path=/usr@' \
-		-e 's@^tools.avrdude.config.path=.*@tools.avrdude.config.path=/etc/avrdude.conf@' hardware/arduino/avr/platform.txt || die
-
-	java-pkg_dojar lib/*.jar
-	java-pkg_dolauncher ${PN} \
-		--pwd "/usr/share/${PN}" \
-		--main "processing.app.Base" \
-		--java_args "-DAPP_DIR=/usr/share/${PN} -Djava.library.path=${EPREFIX}/usr/$(get_libdir)"
-
-	insinto "/usr/share/${PN}"
-
-	doins -r examples hardware lib tools
-
-	# In upstream's build process, we copy these fiels below from the bundled arduino-builder.
-	# Here we do the same thing, but from the system arduino-builder.
-	dosym "../../arduino-builder/platform.txt" "/usr/share/${PN}/hardware/platform.txt"
-	dosym "../../arduino-builder/platform.keys.rewrite.txt" "/usr/share/${PN}/hardware/platform.keys.rewrite.txt"
-	dosym "../../bin/arduino-builder" "/usr/share/${PN}/arduino-builder"
-
-	# hardware/tools/avr needs to exist or arduino-builder will
-	# complain about missing required -tools arg
-	dodir "/usr/share/${PN}/hardware/tools/avr"
-
-	# Install menu and icons
-	domenu "${FILESDIR}/${PN}.desktop"
-	cd lib/icons || die
-	local icondir
-	for icondir in *; do
-		# icondir name is something like "24x24" we want the "24" part
-		local iconsize=`cut -dx -f1 <<< "${icondir}"`
-		newicon -s $iconsize \
-			"${icondir}/apps/arduino.png" \
-			"${PN}.png"
-	done
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-	[[ ! -x /usr/bin/avr-g++ ]] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
-}


             reply	other threads:[~2024-07-29  8:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-29  8:55 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-29  8:42 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/arduino/ Arthur Zamarin
2024-07-29  8:42 Arthur Zamarin
2024-06-29 13:31 Viorel Munteanu
2024-06-29 13:31 Viorel Munteanu
2024-06-29 13:31 Viorel Munteanu
2022-08-29 19:28 Andreas Sturmlechner
2022-08-29 18:45 Agostino Sarubbo
2022-08-29  7:21 Agostino Sarubbo
2022-01-07  5:24 Sam James
2020-09-06 18:46 Stephan Hartmann
2020-09-06 18:46 Stephan Hartmann
2020-06-30  4:34 Matthias Schwarzott
2020-01-31  8:08 Michał Górny
2019-02-18  6:13 Mikle Kolyada
2018-10-24  7:34 Mikle Kolyada
2018-10-17 12:07 Thomas Deutschmann
2018-07-23 19:52 Virgil Dupras
2018-05-22 11:40 Amy Liffey
2018-05-03  5:54 Jeroen Roovers
2018-04-16 15:47 Amy Liffey
2018-04-11  9:40 David Seifert
2017-08-27  6:40 Patrice Clement
2017-08-25 22:44 Patrice Clement
2016-05-21 15:35 Pacho Ramos
2015-12-04 22:17 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722243325.dfb970f960b3adbde0f3888766483707c284d257.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox