summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2010-03-07 14:35:04 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2010-03-07 14:35:04 +0000
commit88aef30e1682c9b2deca1c6cd123dc331e01f4d1 (patch)
tree3c696d3b385f73ff1e858d819945f684a05cb665 /dev-java/piccolo2d
parentVersion bump. (diff)
downloadgentoo-2-88aef30e1682c9b2deca1c6cd123dc331e01f4d1.tar.gz
gentoo-2-88aef30e1682c9b2deca1c6cd123dc331e01f4d1.tar.bz2
gentoo-2-88aef30e1682c9b2deca1c6cd123dc331e01f4d1.zip
Uses com.sun classes so depend on java-virtuals/jdk-with-com-sun. Fixes bug #305555.
(Portage version: 2.2_rc65/cvs/Linux i686)
Diffstat (limited to 'dev-java/piccolo2d')
-rw-r--r--dev-java/piccolo2d/ChangeLog11
-rw-r--r--dev-java/piccolo2d/piccolo2d-1.2.1-r1.ebuild53
2 files changed, 62 insertions, 2 deletions
diff --git a/dev-java/piccolo2d/ChangeLog b/dev-java/piccolo2d/ChangeLog
index 15655b0b56ee..04384684acbf 100644
--- a/dev-java/piccolo2d/ChangeLog
+++ b/dev-java/piccolo2d/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/piccolo2d
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/piccolo2d/ChangeLog,v 1.1 2009/11/12 17:41:50 weaver Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/piccolo2d/ChangeLog,v 1.2 2010/03/07 14:35:04 betelgeuse Exp $
+
+*piccolo2d-1.2.1-r1 (07 Mar 2010)
+
+ 07 Mar 2010; Petteri Räty <betelgeuse@gentoo.org>
+ +piccolo2d-1.2.1-r1.ebuild:
+ Uses com.sun classes so depend on java-virtuals/jdk-with-com-sun.
+ Fixes bug #305555.
*piccolo2d-1.2.1 (12 Nov 2009)
diff --git a/dev-java/piccolo2d/piccolo2d-1.2.1-r1.ebuild b/dev-java/piccolo2d/piccolo2d-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..a95cc8dd2588
--- /dev/null
+++ b/dev-java/piccolo2d/piccolo2d-1.2.1-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/piccolo2d/piccolo2d-1.2.1-r1.ebuild,v 1.1 2010/03/07 14:35:04 betelgeuse Exp $
+
+EAPI=2
+JAVA_PKG_IUSE="doc examples source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PN="piccolo"
+DESCRIPTION="A Structured 2D Graphics Framework"
+HOMEPAGE="http://code.google.com/p/piccolo2d/"
+SRC_URI="http://piccolo2d.googlecode.com/files/Piccolo2D.Java-${PV}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPS="
+ dev-java/swt:3
+ java-virtuals/jdk-with-com-sun
+ "
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPS}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEPS}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# Needs X11
+RESTRICT="test"
+
+java_prepare() {
+ find -name '*.jar' -print -delete
+ epatch "${FILESDIR}/1.2.1-font-api.patch"
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="swt-3,jdk-with-com-sun"
+EANT_BUILD_TARGET="${MY_PN} extras"
+EANT_GENTOO_CLASSPATH_EXTRA="build/${MY_PN}.jar:build/${MY_PN}x.jar"
+EANT_DOC_TARGET="api"
+EANT_TEST_TARGET="runtests"
+
+src_install() {
+ java-pkg_dojar build/*.jar
+ dodoc Readme.txt ReleaseNotes.txt || die
+ use doc && java-pkg_dojavadoc doc/api
+ use source && java-pkg_dosrc extras/edu src/edu
+ use examples && java-pkg_doexamples examples
+}