diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-10-05 11:10:50 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-10-05 11:15:02 -0700 |
commit | 7645b6ca84f3ca0e2925a0e5708d60a79d10b1ee (patch) | |
tree | 7e6c5367daa55cf9e539a85534d3bcdcde1149d7 /media-gfx/ditaa | |
parent | app-crypt/seahorse: add upstream patch allowing building with GnuPG 2.2.0 (diff) | |
download | gentoo-7645b6ca84f3ca0e2925a0e5708d60a79d10b1ee.tar.gz gentoo-7645b6ca84f3ca0e2925a0e5708d60a79d10b1ee.tar.bz2 gentoo-7645b6ca84f3ca0e2925a0e5708d60a79d10b1ee.zip |
media-gfx/ditaa: new package
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-gfx/ditaa')
-rw-r--r-- | media-gfx/ditaa/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/ditaa/ditaa-0.10.ebuild | 36 | ||||
-rw-r--r-- | media-gfx/ditaa/metadata.xml | 11 |
3 files changed, 48 insertions, 0 deletions
diff --git a/media-gfx/ditaa/Manifest b/media-gfx/ditaa/Manifest new file mode 100644 index 000000000000..80ff02d00e9d --- /dev/null +++ b/media-gfx/ditaa/Manifest @@ -0,0 +1 @@ +DIST ditaa-0.10.tar.gz 4514464 SHA256 82e49065d408cba8b323eea0b7f49899578336d566096c6eb6e2d0a28745d63b SHA512 0abd70657d53ddf222d6a86b0c68064d1da093e421b060f59f73b91dccfdf7764beaad96bb1553c0d4b1c8a57b4922de63b20196a1ce3929b4a2e68b6f2a793c WHIRLPOOL d4099c7ed5661e87514f2e5221af397c4cdbaae4dcca8fc8d9fe9b8a470f6345c7d4dddeaed43c00d4dfa7d9738ade357246b66bb7eea252976aee60afef33bc diff --git a/media-gfx/ditaa/ditaa-0.10.ebuild b/media-gfx/ditaa/ditaa-0.10.ebuild new file mode 100644 index 000000000000..2880c26215bb --- /dev/null +++ b/media-gfx/ditaa/ditaa-0.10.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit java-pkg-2 + +DESCRIPTION="A utility that converts ascii-art diagrams to bitmap diagrams" +HOMEPAGE="https://github.com/stathissideris/ditaa" +SRC_URI="https://github.com/stathissideris/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-java/ant-core:0 + >=virtual/jdk-1.7:*" +RDEPEND=">=virtual/jdk-1.7:*" + +src_prepare() { + default + sed "s:0_9:${PV/./_}:" -i build/release.xml || die + sed "s:version 0.9:version ${PV}:" -i \ + src/org/stathissideris/ascii2image/core/CommandLineConverter.java || die +} + +src_compile() { + mkdir bin || die + ant -buildfile build/release.xml release-jar || die +} + +src_install() { + java-pkg_newjar releases/${PN}${PV/./_}.jar ${PN}.jar + java-pkg_dolauncher ${PN} +} diff --git a/media-gfx/ditaa/metadata.xml b/media-gfx/ditaa/metadata.xml new file mode 100644 index 000000000000..fac0708bcccb --- /dev/null +++ b/media-gfx/ditaa/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">stathissideris/ditaa</remote-id> + <remote-id type="sourceforge">ditaa</remote-id> + </upstream> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> +</pkgmetadata> |