diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/freehep-graphicsio-svg | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/freehep-graphicsio-svg')
-rw-r--r-- | dev-java/freehep-graphicsio-svg/Manifest | 3 | ||||
-rw-r--r-- | dev-java/freehep-graphicsio-svg/freehep-graphicsio-svg-2.4.ebuild | 50 | ||||
-rw-r--r-- | dev-java/freehep-graphicsio-svg/metadata.xml | 11 |
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/freehep-graphicsio-svg/Manifest b/dev-java/freehep-graphicsio-svg/Manifest new file mode 100644 index 000000000000..24e4c78750ea --- /dev/null +++ b/dev-java/freehep-graphicsio-svg/Manifest @@ -0,0 +1,3 @@ +DIST freehep-vectorgraphics-2.4.tar.gz 4118379 BLAKE2B c8a5840ebab43398a6f87f97855a38f843b0e05267f5446b5f22a0c0124c98717c00801fe93ef3b541b2c53d07176ab1319a27ad26ed177b6dded11e3fa2e7bb SHA512 b5cf083cc6951e7c4b438d5e648f61ca20b23e02163a8cfc4669beaaec2fa9e33338b0ba6875bfe4a3864ac48f9774acfedc2a3b2f59a7488ef99a4817e39382 +EBUILD freehep-graphicsio-svg-2.4.ebuild 1369 BLAKE2B 8afb32aef66918013b0bf312434e06e23244c97e949adef9c1a3330a2c60f85eb18bc92f457ef59b0fb50edd2c565834f002b5d78b19f2a42c8fcb5106d98869 SHA512 f5fb3c5e001380d1b4da636fd122d1f628f040f71fc3ecc514b7a6f69311b2619403232db351fd9a68cf5786476273a951ad77d72377abfc9f6565da966b096a +MISC metadata.xml 331 BLAKE2B b05dee2e48a0495dea84595a536797a1a53dbd82bca89b838b334060e5142ef729f4a3be30e413eaf24a164d3f1998f3197b18bc92eb0e5fe4e1195453869694 SHA512 f7bb0530f563d9ba4e8062f41b32340ac316e267adfffc964156bc4e87a469a7bde0a1af4553240c9dc167d405a3e892ebe501043ca5399e03377164eb71bfb5 diff --git a/dev-java/freehep-graphicsio-svg/freehep-graphicsio-svg-2.4.ebuild b/dev-java/freehep-graphicsio-svg/freehep-graphicsio-svg-2.4.ebuild new file mode 100644 index 000000000000..3524b4c57c9e --- /dev/null +++ b/dev-java/freehep-graphicsio-svg/freehep-graphicsio-svg-2.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_PN="freehep-vectorgraphics" +MY_P="${MY_PN}-${PV}" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="High Energy Physics Java library - FreeHEP Scalable Vector Graphics Driver" +HOMEPAGE="http://java.freehep.org/" +SRC_URI="https://github.com/freehep/${MY_PN}/archive/${MY_P}.tar.gz" +LICENSE="Apache-2.0 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +CDEPEND="~dev-java/freehep-graphics2d-${PV}:${SLOT} + ~dev-java/freehep-graphicsbase-${PV}:${SLOT} + ~dev-java/freehep-graphicsio-${PV}:${SLOT} + dev-java/freehep-io:0" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.7 + test? ( + ~dev-java/freehep-graphicsio-tests-${PV}:${SLOT} + dev-java/junit:4 + )" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.7" + +S="${WORKDIR}/${MY_PN}-${MY_P}/${PN}" +JAVA_SRC_DIR="src/main/java" +JAVA_GENTOO_CLASSPATH="freehep-graphics2d,freehep-graphicsbase,freehep-graphicsio,freehep-io" + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar src/main/resources +} + +src_test() { + local DIR=src/test/java + local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,freehep-graphicsio-tests,${JAVA_GENTOO_CLASSPATH})" + + ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") + ejunit4 -classpath "${CP}" org.freehep.graphicsio.svg.test.SVGTestSuite +} diff --git a/dev-java/freehep-graphicsio-svg/metadata.xml b/dev-java/freehep-graphicsio-svg/metadata.xml new file mode 100644 index 000000000000..696a250adce4 --- /dev/null +++ b/dev-java/freehep-graphicsio-svg/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="github">freehep/freehep-vectorgraphics</remote-id> + </upstream> +</pkgmetadata> |