summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2009-07-06 10:18:12 +0000
committerAlistair Bush <ali_bush@gentoo.org>2009-07-06 10:18:12 +0000
commit831a5b062fa65ce0930ae1b7ca539800aa52e16a (patch)
tree213b0539914b55e7ad0bece66085eb24b38be777 /dev-java
parentAdd package to main tree. (diff)
downloadhistorical-831a5b062fa65ce0930ae1b7ca539800aa52e16a.tar.gz
historical-831a5b062fa65ce0930ae1b7ca539800aa52e16a.tar.bz2
historical-831a5b062fa65ce0930ae1b7ca539800aa52e16a.zip
Add swing-worker to tree from java-overlay.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/swing-worker/ChangeLog17
-rw-r--r--dev-java/swing-worker/Manifest4
-rw-r--r--dev-java/swing-worker/metadata.xml10
-rw-r--r--dev-java/swing-worker/swing-worker-1.1.ebuild35
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/swing-worker/ChangeLog b/dev-java/swing-worker/ChangeLog
new file mode 100644
index 000000000000..77d6946b1dcb
--- /dev/null
+++ b/dev-java/swing-worker/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for dev-java/swing-worker
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-worker/ChangeLog,v 1.1 2009/07/06 10:18:12 ali_bush Exp $
+
+*swing-worker-1.1 (06 Jul 2009)
+
+ 06 Jul 2009; Alistair Bush <ali_bush@gentoo.org> +swing-worker-1.1.ebuild,
+ +metadata.xml:
+ Add swing-worker to tree.
+
+ 17 Jul 2008; Petteri Räty <betelgeuse@gentoo.org>
+ swing-worker-1.1.ebuild:
+ Keyword ~x86.
+
+ 10 Feb 2008; Miroslav Šulc <fordfrog@gentoo.org> Manifest:
+ Redigested
+
diff --git a/dev-java/swing-worker/Manifest b/dev-java/swing-worker/Manifest
new file mode 100644
index 000000000000..259846beb735
--- /dev/null
+++ b/dev-java/swing-worker/Manifest
@@ -0,0 +1,4 @@
+DIST swing-worker-src-1.1.zip 26379 RMD160 1bdc056c0458f769324ca314277b4ba7f8c380a5 SHA1 1454c1cd561daa5317085fb8eb40ac2406fcbc3a SHA256 d412b64b45914a2d26b54840e9eeb3f807c9da32d2d2c832cd72e5767df9e8e7
+EBUILD swing-worker-1.1.ebuild 881 RMD160 ebff0982011159d80bd5536cb0ebbcc4329b6a14 SHA1 7537fc69c1b53d4f611dffa9266ee2f18d7baac4 SHA256 dab33b417e59bc1d42b194e101e3b7410615b46249017beb874e42badba263c6
+MISC ChangeLog 546 RMD160 b9e7af94351eb2acd0b810257065a37a6f19d636 SHA1 c01baa9ac8c6074fa63ec9a865da2fed4fd82a32 SHA256 522268a985f92f5ea4280ae94256c12496f11c0fbfd606ebfab75db76cf26e46
+MISC metadata.xml 313 RMD160 41a8b52f4f6c3ac116d4c581293d56f9fc39f785 SHA1 ad132041ee3923f00524bc611b60d5b0853adc26 SHA256 e02d012c99cdc0bad8a8d44e99426f380e82856c09ac06218d3f0a621a889cad
diff --git a/dev-java/swing-worker/metadata.xml b/dev-java/swing-worker/metadata.xml
new file mode 100644
index 000000000000..32d1391f65ca
--- /dev/null
+++ b/dev-java/swing-worker/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<longdescription lang="en">
+swing-worker is a backport for Java 1.5 of the Swing Threading libraries
+available within the Java 1.6 API.
+</longdescription>
+</pkgmetadata>
+
diff --git a/dev-java/swing-worker/swing-worker-1.1.ebuild b/dev-java/swing-worker/swing-worker-1.1.ebuild
new file mode 100644
index 000000000000..4a9c32cc1277
--- /dev/null
+++ b/dev-java/swing-worker/swing-worker-1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-worker/swing-worker-1.1.ebuild,v 1.1 2009/07/06 10:18:12 ali_bush Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java 1.6 SwingWorker backport for Java 1.5"
+HOMEPAGE="https://swingworker.dev.java.net"
+SRC_URI="https://swingworker.dev.java.net/files/documents/2810/51774/${PN}-src-${PV}.zip"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}"
+
+EANT_BUILD_TARGET="compile"
+
+src_install() {
+ use doc && java-pkg_dojavadoc dist/javadoc
+ cd build
+ jar cf "../${PN}.jar" * || die "Unable to create jar"
+ cd ..
+ java-pkg_dojar "${PN}.jar"
+
+ use source && java-pkg_dosrc src/java/*
+}