diff options
Diffstat (limited to 'dev-java/jfreesvg')
-rw-r--r-- | dev-java/jfreesvg/Manifest | 7 | ||||
-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, 107 insertions, 0 deletions
diff --git a/dev-java/jfreesvg/Manifest b/dev-java/jfreesvg/Manifest new file mode 100644 index 000000000000..9ac974a7d10b --- /dev/null +++ b/dev-java/jfreesvg/Manifest @@ -0,0 +1,7 @@ +DIST jfreesvg-2.1.zip 2042545 SHA256 51601035bd7d35c16c2bb7ffafa38e94ffa57f52c7df37a9a7f53e773a89be46 SHA512 6c1556c640e749778aeb969540db7724895fe2113a7ceea732793730301dd04a1beafef35249b27b75696271bcd67a59236a15c106f7717482561011a1a08bc4 WHIRLPOOL b4e6e4c527822ed6729910059b480a3213e7c3b11f34b55c197793e84f3e9de54986fc2480f03f353ad019935fd927e4d57b61c55c01128a8b93545e5653b10c +DIST jfreesvg-3.0.zip 1946062 SHA256 b7045b95ef51ef68b3c48308b72d5aee666a02606ace938bd1e54e3eca4502d0 SHA512 7d0bdcbf56f0a7110058137d53e291c41e53040cbc19442989a0c6d28f5d6d3ed26ecedbfc947ce845b8a971729e2d784e8ce5a041f6f095ff626a3494a55715 WHIRLPOOL e179d71b71ca25171f58baf729e89e0cea9a6ebd9ea7c723ee6391fdb2fa2c59a4aef73d4d42e49335b53b78cdd4b3813ac9c3aef990ac8ce7881f8b666ee957 +EBUILD jfreesvg-2.1-r1.ebuild 857 SHA256 9379d7ce91e37a9fe7523bafdc9224bfba44abb7a42f4360b3380fa7990c76c6 SHA512 f1008bff54e47306623df1a972085adff1b95872192587a5aa361b8cc4f6d2a387cfc1e0c5d7864368ef2bbaf07d1413cabe4ed8d91ef893ed8f446997cb521b WHIRLPOOL 2de0159721e0f6e3464cff7c31ab9d4e2deb9005ca3994e64a0355af501e580c8ced46060b15bc580ce72f53e5e724ac194b50664ac68861a41a8d803564c898 +EBUILD jfreesvg-3.0.ebuild 891 SHA256 49d9b16bddc9572ff7230d1a2280b7ed61c3b3e401394980bb66a45ec87341e2 SHA512 23bd9825d7b44024c7218dee3761ea0fae08a8b0c6fb2834d9da2bbdb852573a6248852ede1f38194ac01710055dfba4d66adbb57c57822bc85440b1d5f8eaff WHIRLPOOL 246c759279f4aa44e7dbaf2ff36ddd9dfd2b60ab7497de0a6f9c053f20df5008b52e97d4f9479b03f9655357bc474d34c1a797e5f945829230b2482a4c75e940 +MISC ChangeLog 3575 SHA256 e04bdce2814deb50a75c6c3f5acf4264de87c1452db9fa7af171316d2390a39e SHA512 ada514cdffc73ccc77d66071a22ab050cac516c50a61e1078f6495d22e7eb7393422ee1cb79d980073f49571751cf2dbfe4667fa433f13f389752b90a1aaebc6 WHIRLPOOL c595f8bb1d9c53a8c08acea6f2e6e98e3beca2fdd1df8c6891566ef28e5db84bb7b18d8b1579817aa2b9f0c84be1140fcbe0e9d191ab0f0105fb02edade13144 +MISC ChangeLog-2015 551 SHA256 278a8fab0b3b1605accb61b9bca49ae68ba59d06b09e91375506cb6119f60bf5 SHA512 18410e29d32c0db1d92d7561b3a550dbe5da27dd1d7c31ff6b1b91d938fb02f773c7df5e6b9664dbbf73a2926035b245d9a3c1ee5fd2238752b9ce2f96aa9667 WHIRLPOOL 610211b298a0bb9985d5f981bb3780739d3fe9b725861547b860f89d6e8947ace319d5c968bb351a4d388f7fb894f6f791b601ee843d8bb6d072509b568701e4 +MISC metadata.xml 489 SHA256 21d83254fd33f400b6d951882b1f3119e8cfcf5f2c80f8fda9bc2992cc0a170d SHA512 67cac1aaa899e86b2c6a0f1222199116c2d0bbf6872d7c794572840248ffc24ac5bd04f1e02f8a500ae43fdf229d999cc470eafbc07dfc55f6fa45d5c77b6310 WHIRLPOOL e6c8d9c87bf70f02351b6fb511d49fa108af85d7e19727e6c183916c8c027acba4b10136bcfce371151fa2b872ca07b35df8934fb1e19694109a28087c1f517d 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> |