summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/appframework/ChangeLog10
-rw-r--r--dev-java/appframework/Manifest13
-rw-r--r--dev-java/appframework/appframework-1.03-r1.ebuild64
3 files changed, 74 insertions, 13 deletions
diff --git a/dev-java/appframework/ChangeLog b/dev-java/appframework/ChangeLog
index 70ed3d959fb8..657ab40c89d3 100644
--- a/dev-java/appframework/ChangeLog
+++ b/dev-java/appframework/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/appframework
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/appframework/ChangeLog,v 1.2 2009/08/14 18:50:44 maekke Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/appframework/ChangeLog,v 1.3 2011/09/08 11:27:44 fordfrog Exp $
+
+*appframework-1.03-r1 (08 Sep 2011)
+
+ 08 Sep 2011; Miroslav Šulc <fordfrog@gentoo.org>
+ +appframework-1.03-r1.ebuild:
+ Switched JNLP dependency from dev-java/jnlp-bin to dev-java/netx, bug #377967
14 Aug 2009; Markus Meier <maekke@gentoo.org> appframework-1.03.ebuild:
amd64/x86 stable, bug #280658
diff --git a/dev-java/appframework/Manifest b/dev-java/appframework/Manifest
index 07911aac6d90..06203743b60f 100644
--- a/dev-java/appframework/Manifest
+++ b/dev-java/appframework/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST AppFramework-1.03-src.zip 413438 RMD160 860b7c76b1b2e25a55e65d2e66d10dab80df15cc SHA1 9ce96108b657a091da54a5a566d85e5cfdfff56e SHA256 9fad98a0b70e6c67cc38dfe9d01b00fe7b7fedf51fa50ac68e7a86d7d1c38fcd
+EBUILD appframework-1.03-r1.ebuild 1592 RMD160 c5558b1e02bc030418623a3230cce56da95dfc58 SHA1 ba45853b1ec1e47161fbc6c795306df7e6d32b00 SHA256 df0076b2c45aa3ccb424aa8a9c5a4732782e21ff7c0513d3cffde4a13770356d
EBUILD appframework-1.03.ebuild 1593 RMD160 fade356f38d1bacf7f447bd9172d4461b15185ae SHA1 ba15f23a57dca67d20bd484c1c2ea20fdfb4a600 SHA256 81125e25de382ed2dcf2d5b12542a6e12c76a321d788ac2264c0afcbb0d30a4d
-MISC ChangeLog 902 RMD160 a80a3f4c1cb5c8e841cd6aabbfa4d51e986d27e8 SHA1 bac1fd5641866edc4804dff14fc9b921dff85799 SHA256 5aae274bc952d00ef3f2837b72c7110728ee8ee8914ef217f3d336ea97db973f
+MISC ChangeLog 1106 RMD160 33df161e370525e0ebbba4a7996c6b87431da13c SHA1 45e18055c7c371ff521e1bf644775e7e349cdb73 SHA256 886fddd2d290ab6fd2ebca6d0fc857cd179512f30b07230e2b73a0b53054cf36
MISC metadata.xml 912 RMD160 f4e8ee775fe7d04ad24d6c936849aee21bad3b0d SHA1 83acee40d2aa86b7bc5a46599f069ddbb115fd1d SHA256 eb3a923ee0473f7dd1cc727aa7c44d1a49755de1a10a4c93e22b22c49ee4db57
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkqFsjUACgkQkKaRLQcq0GK7lACgqbBJgS4WaBSIPR4iiDKF88tj
-2JwAoIkQ7KqmnkWVFT1Bo+vLXb0z5kwW
-=Gjfh
------END PGP SIGNATURE-----
diff --git a/dev-java/appframework/appframework-1.03-r1.ebuild b/dev-java/appframework/appframework-1.03-r1.ebuild
new file mode 100644
index 000000000000..fd064a17cfe6
--- /dev/null
+++ b/dev-java/appframework/appframework-1.03-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/appframework/appframework-1.03-r1.ebuild,v 1.1 2011/09/08 11:27:44 fordfrog Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="AppFramework"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A small set of Java classes that simplify building desktop applications."
+HOMEPAGE="https://appframework.dev.java.net/"
+SRC_URI="https://appframework.dev.java.net/downloads/${MY_P}-src.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/netx
+ dev-java/swing-worker"
+
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${COMMON_DEP}
+ test?
+ (
+ dev-java/junit:0
+ dev-java/ant-junit
+ )"
+
+S="${WORKDIR}/${MY_P}"
+RESTRICT="test"
+
+EANT_GENTOO_CLASSPATH="netx,swing-worker"
+JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" || die
+ rm -v lib/*.jar || die
+ java-ant_rewrite-classpath
+ java-ant_rewrite-classpath nbproject/build-impl.xml
+}
+
+src_install() {
+ java-pkg_newjar "${S}/dist/AppFramework.jar" "${PN}.jar"
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/org
+ use examples && java-pkg_doexamples src/examples/*
+}
+
+src_test() {
+ local cp=$(java-pkg_getjars --build-only junit):$(java-pkg_getjars swing-worker)
+ ANT_TASKS="ant-junit" eant \
+ -Duser.home="${T}" \
+ -Drun.test.classpath="${cp}:dist/${MY_PN}.jar:build/test/classes" \
+ -Dgentoo.classpath="${cp}" test
+}