summaryrefslogtreecommitdiff
path: root/dev-java/xmlgraphics-commons
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/xmlgraphics-commons
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/xmlgraphics-commons')
-rw-r--r--dev-java/xmlgraphics-commons/Manifest5
-rw-r--r--dev-java/xmlgraphics-commons/metadata.xml8
-rw-r--r--dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild63
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-java/xmlgraphics-commons/Manifest b/dev-java/xmlgraphics-commons/Manifest
new file mode 100644
index 000000000000..61659f4e09bb
--- /dev/null
+++ b/dev-java/xmlgraphics-commons/Manifest
@@ -0,0 +1,5 @@
+DIST xmlgraphics-commons-2.0.1-src.tar.gz 2716982 SHA256 41938d4b27cb80b0ef9a240164e2137e51708d2f481488e5ae8c4e43c8da311c SHA512 fca5c593ceec18b040a0a57b74ba5377d5e070030f48b7835285986382795b19072bdf6320fd7e37182e4127883b795249ee1cb4255bcdfb1b00da1cf6032018 WHIRLPOOL 81554e5eab606378af8a536a3a630bf3ba041609d16b8fa49a41361d701658aec3131a3947b53341b4f99145f6701a4125b8e38b1a802eca5a16c8bfd5984e36
+EBUILD xmlgraphics-commons-2.0.1.ebuild 1260 SHA256 fdcab937db25ab963a1d4384c0d786d8910a18b8b24099577a2a5159d211cc44 SHA512 1e8525b43fcb755c1a0aa7f7e4342f37611f4084c98bef6156d577a741b4256fad1d6c8e9a4ebe51ebccf791ca7c483825875f13dfab677764cac758a334668a WHIRLPOOL 23ec1a80577e7bb523e3e8736ba0e9df5280e24bb5a62f92f522788930e37939a7b8869a03eda60b744fcf9fcb5e29628db3866fb2eaa95414e1bb593a038bfd
+MISC ChangeLog 2615 SHA256 4ed0de47c2408f36278f8ea47eaad3d3dbb3d78d2bafcecdc84661fa3113bb72 SHA512 364b83ae28dc6f372e3b0f0c06e7f93aa5605bc783871f21a18ed17201bce41ae6495186d76ecb65a9a1d3721f128c85548c3d691b7cd8f619a281a0865b2b8d WHIRLPOOL 3c4d914484f636060c08fff045c08d4ac10f899589923cdeda3eb079ba754b01fc8d9e41948bcab17202698fa556733e0eb59f25ed3a265db894f5f66649a849
+MISC ChangeLog-2015 5491 SHA256 d8aa144526159228dfbc7b14e88d3c6d02d5c963b5bb251a227a9745f6eddf74 SHA512 1999edf7ee32dd0e3feea37b6d8f56f04bcbc3dbc0e5688216d79adf91f6aa242f44ae782732b426a30b0ca4c401666275abb35260d797037423833be661493c WHIRLPOOL d255dafe5466a3998de9c37228165439ad13123190f83ae2f98dfa50c3a483786b07ea44095073a809762651430304c595377819ff752e3ec2e64fdb7fb0b14a
+MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac
diff --git a/dev-java/xmlgraphics-commons/metadata.xml b/dev-java/xmlgraphics-commons/metadata.xml
new file mode 100644
index 000000000000..2444066aa02b
--- /dev/null
+++ b/dev-java/xmlgraphics-commons/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild b/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild
new file mode 100644
index 000000000000..aff11d2b9c04
--- /dev/null
+++ b/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A library of several reusable components used by Apache Batik and Apache FOP"
+HOMEPAGE="http://xmlgraphics.apache.org/commons/index.html"
+SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
+
+CDEPEND="dev-java/commons-io:1
+ >=dev-java/commons-logging-1:0"
+
+DEPEND=">=virtual/jdk-1.6
+ test? (
+ dev-java/mockito:0
+ dev-java/ant-junit:0
+ dev-java/xml-commons-resolver:0
+ )
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+java_prepare() {
+ find "${S}" -name '*.jar' -print -delete || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_BUILD_TARGET="jar-main"
+EANT_DOC_TARGET="javadocs"
+
+EANT_GENTOO_CLASSPATH="
+ commons-io-1
+ commons-logging
+"
+
+EANT_TEST_GENTOO_CLASSPATH="
+ ${EANT_GENTOO_CLASSPATH}
+ xml-commons-resolver
+ mockito
+"
+
+EANT_TEST_TARGET="junit-basic"
+
+src_test() {
+ EANT_ANT_TASKS="ant-junit" \
+ java-pkg-2_src_test
+}
+
+src_install(){
+ java-pkg_newjar build/${P}.jar
+
+ use source && java-pkg_dosrc src/java/org
+ use doc && java-pkg_dojavadoc build/javadocs
+}