summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-06-11 15:01:46 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-06-11 15:01:46 +0000
commit9ceddd54129b1e0814e67ea0f5fe286087653a77 (patch)
tree1f19a98a7c1cf8a7136a1243114c0ee6a3752870 /dev-java/jfreesvg
parentStable for ppc, wrt bug #551488 (diff)
downloadgentoo-2-9ceddd54129b1e0814e67ea0f5fe286087653a77.tar.gz
gentoo-2-9ceddd54129b1e0814e67ea0f5fe286087653a77.tar.bz2
gentoo-2-9ceddd54129b1e0814e67ea0f5fe286087653a77.zip
Version bump. Fix bug 528400.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-java/jfreesvg')
-rw-r--r--dev-java/jfreesvg/ChangeLog7
-rw-r--r--dev-java/jfreesvg/jfreesvg-3.0.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-java/jfreesvg/ChangeLog b/dev-java/jfreesvg/ChangeLog
index d6928fb23217..0fc5b8a0e206 100644
--- a/dev-java/jfreesvg/ChangeLog
+++ b/dev-java/jfreesvg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jfreesvg
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreesvg/ChangeLog,v 1.1 2015/06/09 16:38:14 monsieurp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreesvg/ChangeLog,v 1.2 2015/06/11 15:01:46 monsieurp Exp $
+
+*jfreesvg-3.0 (11 Jun 2015)
+
+ 11 Jun 2015; Patrice Clement <monsieurp@gentoo.org> +jfreesvg-3.0.ebuild:
+ Version bump. Fix bug 528400.
*jfreesvg-2.1 (09 Jun 2015)
diff --git a/dev-java/jfreesvg/jfreesvg-3.0.ebuild b/dev-java/jfreesvg/jfreesvg-3.0.ebuild
new file mode 100644
index 000000000000..32726e7931cc
--- /dev/null
+++ b/dev-java/jfreesvg/jfreesvg-3.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreesvg/jfreesvg-3.0.ebuild,v 1.1 2015/06/11 15:01:46 monsieurp Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="JFreeSVG is a fast, light-weight, vector graphics library for the Java platform"
+HOMEPAGE="http://www.jfree.org/jfreesvg/"
+SRC_URI="mirror://sourceforge/jfreegraphics2d/${P}.zip"
+
+LICENSE="GPL-3"
+SLOT="3.0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug"
+
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.6"
+
+java_prepare() {
+ find "${WORKDIR}" -name '*.jar' -print -delete || die
+}
+
+src_compile() {
+ if ! use debug; then
+ antflags="-Dbuild.debug=false -Dbuild.optimize=true"
+ fi
+ eant -f ant/build.xml compile $(use_doc) $antflags
+}
+
+src_install() {
+ java-pkg_newjar "./lib/${P}.jar" ${PN}.jar
+ dodoc README.md
+ use doc && java-pkg_dojavadoc javadoc
+ use source && java-pkg_dosrc src/main/java
+}