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/piccolo2d | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/piccolo2d')
-rw-r--r-- | dev-java/piccolo2d/Manifest | 3 | ||||
-rw-r--r-- | dev-java/piccolo2d/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild | 49 |
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/piccolo2d/Manifest b/dev-java/piccolo2d/Manifest new file mode 100644 index 000000000000..56b8cd3ee90b --- /dev/null +++ b/dev-java/piccolo2d/Manifest @@ -0,0 +1,3 @@ +DIST piccolo2d-3.0.zip 786064 BLAKE2B f550bc7d39811998616000833543e048c879eeaf5006ba3d1cd19c7ac3c3c588fdf1c9b66986e5232dea49c1081082716e16542918319c18207cc2177d38ff10 SHA512 c57d0e86ea36e662027559c63c8e300629361849d4526d9271ea1ed3c8d55296ab1fab846c7a475c5d831fc6330052fa897ba8d3f89a196bca752a7ae802aa2a +EBUILD piccolo2d-3.0-r1.ebuild 1112 BLAKE2B 4cd4c70be3584920e82e61ce1fca091311cb906a334a6cb6ed90863a214ed30fe8057928fc95882fa156d0811d63836d793beffcbf3a5509b7cc5c4f37a39703 SHA512 2f64269113b317883de2a7ebc5659a479610d53e57ff8384c025dd6062414cda7f977fa533df4adc0d27ee754d0ceb456c4093856304c0a07995ad4d26291e43 +MISC metadata.xml 379 BLAKE2B 91a8e052e0698a62a8596c658229b78e0750cc80e34ce81d3be41c833e106f2e2f0d7c5eb7d148b2674f4e218602b054e2435c52d9c0ce27ef546ad0ff43d9bc SHA512 dd13d25a0d532e7246cdc32b6e058dc9fa3979d4d28e459ecde801b103ca8e40cf9f154208c9ee364379f2f6c6059011269a75d658d68b207e7d013c7d0bdf02 diff --git a/dev-java/piccolo2d/metadata.xml b/dev-java/piccolo2d/metadata.xml new file mode 100644 index 000000000000..f053cea1a4e7 --- /dev/null +++ b/dev-java/piccolo2d/metadata.xml @@ -0,0 +1,12 @@ +<?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="google-code">piccolo2d</remote-id> + <remote-id type="github">piccolo2d/piccolo2d.java</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild b/dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild new file mode 100644 index 000000000000..6193eb4112ae --- /dev/null +++ b/dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source examples" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A Structured 2D Graphics Framework" +HOMEPAGE="https://github.com/piccolo2d/piccolo2d.java" +SRC_URI="https://github.com/${PN}/${PN}.java/archive/${PN}-complete-${PV}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" +IUSE="" + +CDEPEND="dev-java/swt:3.8" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + app-arch/unzip + >=virtual/jdk-1.6" + +S="${WORKDIR}/${PN}.java-${PN}-complete-${PV}" +JAVA_GENTOO_CLASSPATH="swt-3.8" +JAVA_SRC_DIR="core extras swt" + +java_prepare() { + rm -rf core/src/test extras/src/test swt/src/test || die +} + +src_install() { + java-pkg-simple_src_install + dodoc Readme.txt ReleaseNotes.txt + + if use examples; then + docinto examples + dodoc -r examples/src/main/java/org/piccolo2d/examples/* + dodoc -r examples/src/main/java/org/piccolo2d/tutorial + dodoc -r swt-examples/src/main/java/org/piccolo2d/extras + docompress -x /usr/share/doc/${PF}/examples + fi +} |