diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-07-21 10:08:45 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-07-21 10:08:45 +0000 |
commit | ecb88a1df18d6bf0e58e3d86c9e83c63955efed6 (patch) | |
tree | f17be365f58a2486ee38c406805951d407181710 /dev-java/jgoodies-animation | |
parent | Version bump. Fixes bug #185992. (diff) | |
download | gentoo-2-ecb88a1df18d6bf0e58e3d86c9e83c63955efed6.tar.gz gentoo-2-ecb88a1df18d6bf0e58e3d86c9e83c63955efed6.tar.bz2 gentoo-2-ecb88a1df18d6bf0e58e3d86c9e83c63955efed6.zip |
Add dependencies needed for examples and use java-pkg_doexamples.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'dev-java/jgoodies-animation')
-rw-r--r-- | dev-java/jgoodies-animation/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/jgoodies-animation/jgoodies-animation-1.2.0.ebuild | 29 |
2 files changed, 21 insertions, 14 deletions
diff --git a/dev-java/jgoodies-animation/ChangeLog b/dev-java/jgoodies-animation/ChangeLog index 4977a4d6454a..8f815299cc8d 100644 --- a/dev-java/jgoodies-animation/ChangeLog +++ b/dev-java/jgoodies-animation/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/jgoodies-animation # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-animation/ChangeLog,v 1.6 2007/05/27 00:07:08 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-animation/ChangeLog,v 1.7 2007/07/21 10:08:45 betelgeuse Exp $ + + 21 Jul 2007; Petteri Räty <betelgeuse@gentoo.org> + jgoodies-animation-1.2.0.ebuild: + Add dependencies needed for examples and use java-pkg_doexamples. 27 May 2007; Vlastimil Babka <caster@gentoo.org> jgoodies-animation-1.2.0.ebuild: diff --git a/dev-java/jgoodies-animation/jgoodies-animation-1.2.0.ebuild b/dev-java/jgoodies-animation/jgoodies-animation-1.2.0.ebuild index dd2d7f2f57fd..07ea2c4a1650 100644 --- a/dev-java/jgoodies-animation/jgoodies-animation-1.2.0.ebuild +++ b/dev-java/jgoodies-animation/jgoodies-animation-1.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-animation/jgoodies-animation-1.2.0.ebuild,v 1.2 2007/05/27 00:07:08 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-animation/jgoodies-animation-1.2.0.ebuild,v 1.3 2007/07/21 10:08:45 betelgeuse Exp $ JAVA_PKG_IUSE="doc examples source test" @@ -18,14 +18,20 @@ IUSE="" DEPEND=">=virtual/jdk-1.4 app-arch/unzip - test? ( =dev-java/junit-3* dev-java/ant-junit )" -RDEPEND=">=virtual/jre-1.4" + test? ( dev-java/ant-junit )" +# Remove x86 when https://bugs.gentoo.org/show_bug.cgi?id=186081 +# is done +RDEPEND=">=virtual/jre-1.4 + examples? ( x86? ( + >=dev-java/jgoodies-binding-1.1 + >=dev-java/jgoodies-forms-1.0 + ) )" S="${WORKDIR}/animation-${PV}" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # Remove the packaged jar rm -v lib/*.jar *.jar || die @@ -34,9 +40,9 @@ src_unpack() { java-ant_xml-rewrite -f build.xml -d -e javac -a bootclasspath \ || die "Failed to fix bootclasspath" } -src_compile() { - eant jar # precompiled javadocs -} + +# precompiled javadocs +EANT_DOC_TARGET="" src_test() { eant test -Djunit.jar.present=true \ @@ -46,12 +52,9 @@ src_test() { src_install() { java-pkg_dojar build/animation.jar - dodoc RELEASE-NOTES.txt - dohtml README.html + dodoc RELEASE-NOTES.txt || die + dohtml README.html || die use doc && java-pkg_dohtml -r docs/* use source && java-pkg_dosrc src/core/* - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r src/tutorial/com - fi + use examples && java-pkg_doexamples src/tutorial } |