diff options
Diffstat (limited to 'dev-java/jfreesvg')
-rw-r--r-- | dev-java/jfreesvg/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jfreesvg/jfreesvg-2.1-r1.ebuild | 42 | ||||
-rw-r--r-- | dev-java/jfreesvg/jfreesvg-3.0.ebuild | 39 | ||||
-rw-r--r-- | dev-java/jfreesvg/metadata.xml | 19 |
4 files changed, 105 insertions, 0 deletions
diff --git a/dev-java/jfreesvg/Manifest b/dev-java/jfreesvg/Manifest new file mode 100644 index 000000000000..338f62247131 --- /dev/null +++ b/dev-java/jfreesvg/Manifest @@ -0,0 +1,5 @@ +DIST jfreesvg-2.1.zip 2042545 BLAKE2B 702ea55c6e51bca156a41c5e624452fdad8c1a5472c204cbf58f796134ed6027259abd0a48719bbb5f83f6891ab3aec5db58c8726b0275b894065148a07ec179 SHA512 6c1556c640e749778aeb969540db7724895fe2113a7ceea732793730301dd04a1beafef35249b27b75696271bcd67a59236a15c106f7717482561011a1a08bc4 +DIST jfreesvg-3.0.zip 1946062 BLAKE2B 58aa3c95db3a0472de1e2c184f1e8bc9aa72b86f508dd7d41f169f03c8f07380269a36d0a22a71378ab7c2d45427fb479994b907c4e25317794814da69f79d7c SHA512 7d0bdcbf56f0a7110058137d53e291c41e53040cbc19442989a0c6d28f5d6d3ed26ecedbfc947ce845b8a971729e2d784e8ce5a041f6f095ff626a3494a55715 +EBUILD jfreesvg-2.1-r1.ebuild 857 BLAKE2B d21ba43d7e9e6326be9e4fa5e9a80e3522fef691c986f9d6a768a04fa59aff242444081495a367677893f4abb4444bb2c6f5f51f455e41cca2a5e62b1679065f SHA512 f1008bff54e47306623df1a972085adff1b95872192587a5aa361b8cc4f6d2a387cfc1e0c5d7864368ef2bbaf07d1413cabe4ed8d91ef893ed8f446997cb521b +EBUILD jfreesvg-3.0.ebuild 891 BLAKE2B 5a1549132e6cc1949651abb8804764399109b7457fa5594d2f613c87394c2b27ff8dd1f743f3eca5d45936cc819f9e0ea82904e654fee8ee0a9a16d652872d7f SHA512 23bd9825d7b44024c7218dee3761ea0fae08a8b0c6fb2834d9da2bbdb852573a6248852ede1f38194ac01710055dfba4d66adbb57c57822bc85440b1d5f8eaff +MISC metadata.xml 489 BLAKE2B 20d527a33a5c5d78975bba84e2886a81989511bdf554fb00c5c75d34f0909569aad2cbb4ae7a7f8c130a75a7b186d7324c90a2e2d2b6d37e70e18562a10b16f5 SHA512 67cac1aaa899e86b2c6a0f1222199116c2d0bbf6872d7c794572840248ffc24ac5bd04f1e02f8a500ae43fdf229d999cc470eafbc07dfc55f6fa45d5c77b6310 diff --git a/dev-java/jfreesvg/jfreesvg-2.1-r1.ebuild b/dev-java/jfreesvg/jfreesvg-2.1-r1.ebuild new file mode 100644 index 000000000000..948b007cad2d --- /dev/null +++ b/dev-java/jfreesvg/jfreesvg-2.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="2.1" +KEYWORDS="amd64 x86" +IUSE="debug" + +DEPEND=" + app-arch/unzip + >=virtual/jdk-1.6" + +RDEPEND=" + >=virtual/jre-1.6" + +java_prepare() { + java-pkg_clean +} + +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 +} diff --git a/dev-java/jfreesvg/jfreesvg-3.0.ebuild b/dev-java/jfreesvg/jfreesvg-3.0.ebuild new file mode 100644 index 000000000000..2b3e2fef8407 --- /dev/null +++ b/dev-java/jfreesvg/jfreesvg-3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 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 +} diff --git a/dev-java/jfreesvg/metadata.xml b/dev-java/jfreesvg/metadata.xml new file mode 100644 index 000000000000..ab12970f46ef --- /dev/null +++ b/dev-java/jfreesvg/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>monsieurp@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <use> + <flag name="debug"> + Enable debugging during compilation. + </flag> + </use> + <upstream> + <remote-id type="sourceforge">jfreegraphics2d</remote-id> + </upstream> +</pkgmetadata> |