diff options
Diffstat (limited to 'dev-java/piccolo2d')
-rw-r--r-- | dev-java/piccolo2d/Manifest | 5 | ||||
-rw-r--r-- | dev-java/piccolo2d/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild | 49 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/piccolo2d/Manifest b/dev-java/piccolo2d/Manifest new file mode 100644 index 000000000000..4cf26d258339 --- /dev/null +++ b/dev-java/piccolo2d/Manifest @@ -0,0 +1,5 @@ +DIST piccolo2d-3.0.zip 786064 SHA256 acfc9a8b6baf12a22d1307a0fd0dfa8abb160bd1aef7cade63158d65ba939b33 SHA512 c57d0e86ea36e662027559c63c8e300629361849d4526d9271ea1ed3c8d55296ab1fab846c7a475c5d831fc6330052fa897ba8d3f89a196bca752a7ae802aa2a WHIRLPOOL 547ee6e23986f0cee9c5c65819c6da910a1e6931f5961d8e417476b0c62346fbb647b498fd63db28bdfe92248cd3e9f3b856f18741690486ff1ff1d552f4d628 +EBUILD piccolo2d-3.0-r1.ebuild 1112 SHA256 00ad6cdfa3624907850da2f8e96317d1dc5518e8ce4a6ca7edcfce9f2607fdb4 SHA512 2f64269113b317883de2a7ebc5659a479610d53e57ff8384c025dd6062414cda7f977fa533df4adc0d27ee754d0ceb456c4093856304c0a07995ad4d26291e43 WHIRLPOOL 36000e37aad6b53803057f20142f5b96a868098df60ea12c3cd7bae533dc2033a8f707f0ff3478c5bfb6d24612deaf2234f7737f227845ffb8d702836b02a855 +MISC ChangeLog 4369 SHA256 da703e5b586a4399a93af95f4caa1d1fbc5bef3354231a8515916344f94c5325 SHA512 f61ab2ec91d06a1efd17f06472047daec9e5f50862199311be413fc701abeeb2b43404901c1bffcd7eef892cf5d909e1ff474ee4bdba62c927b74bbd8950c3ae WHIRLPOOL 453a02616141f0c9a68bd95ed1599c9e8942afaebb5ef4054108aea1a7440d32bbbaff7ef82bd6160cae92c006c400c338549d6c02a26ab4413bcc8cca689397 +MISC ChangeLog-2015 1524 SHA256 49c8d3dbe8ecbac516d527ea55140e1fbd3805e194ac806be5d6c3cd8c3e1400 SHA512 7f80f2145dad17149f47a08265ae2e9b39ae3ebdc5a866c4a960f25f02cdb510acaf41b5d73074029569f422c4b743410794956ba2cac5d1dfed23513e4394cd WHIRLPOOL 1ea670adbc80d0c255502d9c6b5d9bbe07b775953112db9fe103b439fa8b36f5171f6a225a719c6549da37793106bee17500c791da5ae28d5b687765e183e763 +MISC metadata.xml 379 SHA256 9225acd0699f7f69b8e2f56c785ce3c6c6d55b24583a65c51b81918123d3ff08 SHA512 dd13d25a0d532e7246cdc32b6e058dc9fa3979d4d28e459ecde801b103ca8e40cf9f154208c9ee364379f2f6c6059011269a75d658d68b207e7d013c7d0bdf02 WHIRLPOOL 7242b59a452b9f1269cd6a7c3c2e1e405473b42d14855ae439ba4c5e9ac882910744f6f609ca7ad1031a937c87784c55757c6c69d5c4de78eef0c059b1bcbe00 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 +} |