summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2010-06-26 14:41:20 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2010-06-26 14:41:20 +0000
commitf784092a8e7ba84462c300164f532b2e6ec05aee (patch)
tree5eb5278e4987378874aa876f8308b0706866a95b /dev-java/piccolo2d
parentMasking USE firefox and xulrunner for =dev-java/swt-3.3*. (diff)
downloadgentoo-2-f784092a8e7ba84462c300164f532b2e6ec05aee.tar.gz
gentoo-2-f784092a8e7ba84462c300164f532b2e6ec05aee.tar.bz2
gentoo-2-f784092a8e7ba84462c300164f532b2e6ec05aee.zip
Use the latest slot of swt.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'dev-java/piccolo2d')
-rw-r--r--dev-java/piccolo2d/ChangeLog8
-rw-r--r--dev-java/piccolo2d/piccolo2d-1.2.1-r2.ebuild53
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-java/piccolo2d/ChangeLog b/dev-java/piccolo2d/ChangeLog
index 8461f31c4dab..07d59258ce1d 100644
--- a/dev-java/piccolo2d/ChangeLog
+++ b/dev-java/piccolo2d/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/piccolo2d
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/piccolo2d/ChangeLog,v 1.5 2010/06/26 14:33:33 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/piccolo2d/ChangeLog,v 1.6 2010/06/26 14:41:20 betelgeuse Exp $
+
+*piccolo2d-1.2.1-r2 (26 Jun 2010)
+
+ 26 Jun 2010; Petteri Räty <betelgeuse@gentoo.org>
+ +piccolo2d-1.2.1-r2.ebuild:
+ Use the latest slot of swt.
26 Jun 2010; Petteri Räty <betelgeuse@gentoo.org>
-piccolo2d-1.2.1.ebuild:
diff --git a/dev-java/piccolo2d/piccolo2d-1.2.1-r2.ebuild b/dev-java/piccolo2d/piccolo2d-1.2.1-r2.ebuild
new file mode 100644
index 000000000000..37c26886ca5a
--- /dev/null
+++ b/dev-java/piccolo2d/piccolo2d-1.2.1-r2.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-r2.ebuild,v 1.1 2010/06/26 14:41:20 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.5
+ 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.5,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
+}