* [gentoo-commits] gentoo-x86 commit in dev-embedded/arduino: ChangeLog arduino-1.0.1.ebuild arduino-0015-r1.ebuild arduino-0017.ebuild arduino-1.0.ebuild
@ 2012-09-03 21:07 Angelo Arrifano (miknix)
0 siblings, 0 replies; only message in thread
From: Angelo Arrifano (miknix) @ 2012-09-03 21:07 UTC (permalink / raw
To: gentoo-commits
miknix 12/09/03 21:07:09
Modified: ChangeLog
Added: arduino-1.0.1.ebuild
Removed: arduino-0015-r1.ebuild arduino-0017.ebuild
arduino-1.0.ebuild
Log:
Version bump, cleaned up old cruft.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Revision Changes Path
1.9 dev-embedded/arduino/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?r1=1.8&r2=1.9
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog 10 Feb 2012 00:50:47 -0000 1.8
+++ ChangeLog 3 Sep 2012 21:07:08 -0000 1.9
@@ -1,6 +1,16 @@
# ChangeLog for dev-embedded/arduino
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v 1.8 2012/02/10 00:50:47 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v 1.9 2012/09/03 21:07:08 miknix Exp $
+
+*arduino-1.0.1 (03 Sep 2012)
+
+ 03 Sep 2012; Angelo Arrifano <miknix@gentoo.org> -arduino-1.0.ebuild,
+ +arduino-1.0.1.ebuild, +files/arduino-1.0.1-build.xml.patch,
+ +files/arduino-1.0.1-script.patch, -files/arduino-1.0-prog_char-fix.patch,
+ -files/arduino-1.0-script.patch, -files/Makefile-0011.patch,
+ -arduino-0015-r1.ebuild, -files/Makefile-0015.patch, -arduino-0017.ebuild,
+ -files/Makefile-0017.patch, -files/arduino-script-0017.patch, -files/arduino:
+ Version bump, cleaned up old cruft. Thanks mrueg and others, #420861
10 Feb 2012; Angelo Arrifano <miknix@gentoo.org> arduino-1.0.ebuild,
+files/arduino.desktop:
1.1 dev-embedded/arduino/arduino-1.0.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/arduino-1.0.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/arduino-1.0.1.ebuild?rev=1.1&content-type=text/plain
Index: arduino-1.0.1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/arduino-1.0.1.ebuild,v 1.1 2012/09/03 21:07:08 miknix Exp $
EAPI=4
JAVA_PKG_IUSE="doc examples"
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ http://arduino.googlecode.com/"
SRC_URI="http://arduino.googlecode.com/files/${P}-src.tar.gz"
LICENSE="GPL-2 LGPL-2 CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RESTRICT="strip binchecks"
IUSE=""
RDEPEND="dev-embedded/avrdude
dev-embedded/uisp
>dev-java/rxtx-2.1
sys-devel/crossdev
>=virtual/jre-1.5"
DEPEND="dev-java/jna
>=virtual/jdk-1.5"
EANT_GENTOO_CLASSPATH="jna,rxtx-2"
EANT_EXTRA_ARGS="-Dversion=${PV}"
EANT_BUILD_TARGET="build"
JAVA_ANT_REWRITE_CLASSPATH="yes"
java_prepare() {
# Remove the libraries to ensure the system
# libraries are used
rm build/linux/dist/tools/avrdude* || die
rm build/linux/dist/lib/* || die
rm app/lib/* || die
rm app/pde.jar || die
# Patch build/build.xml - remove local jar files
# for rxtx and ecj (use system wide versions)
epatch "${FILESDIR}"/${P}-build.xml.patch
# Patch launcher script to include rxtx class/ld paths
epatch "${FILESDIR}"/${P}-script.patch
}
src_compile() {
eant -f 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/core.jar lib/pde.jar
java-pkg_dolauncher ${PN} --pwd /usr/share/${PN} --main processing.app.Base
use examples && java-pkg_doexamples examples
if use doc; then
dodoc revisions.txt "${S}"/readme.txt
dohtml -r reference
java-pkg_dojavadoc "${S}"/build/javadoc
fi
insinto "/usr/share/${PN}/"
doins -r hardware libraries
fowners -R root:uucp "/usr/share/${PN}/hardware"
insinto "/usr/share/${PN}/lib"
doins -r lib/*.txt lib/theme lib/*.jpg
# use system avrdude
# patching class files is too hard
dosym /usr/bin/avrdude "/usr/share/${PN}/hardware/tools/avrdude"
dosym /etc/avrdude.conf "/usr/share/${PN}/hardware/tools/avrdude.conf"
}
pkg_postinst() {
[ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-03 21:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-03 21:07 [gentoo-commits] gentoo-x86 commit in dev-embedded/arduino: ChangeLog arduino-1.0.1.ebuild arduino-0015-r1.ebuild arduino-0017.ebuild arduino-1.0.ebuild Angelo Arrifano (miknix)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox