summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-03-10 12:39:37 +0100
committerMichael Weber <xmw@gentoo.org>2017-03-10 12:40:04 +0100
commit0f0c11b467bbb24a4ef2464af8d2ea2750d20685 (patch)
tree10820a1563cd75641f339645b329772fac9bfbce /app-misc/freeplane
parentnet-fs/samba: Removed old. (diff)
downloadgentoo-0f0c11b467bbb24a4ef2464af8d2ea2750d20685.tar.gz
gentoo-0f0c11b467bbb24a4ef2464af8d2ea2750d20685.tar.bz2
gentoo-0f0c11b467bbb24a4ef2464af8d2ea2750d20685.zip
app-misc/freeplane: Initial import (bug 331765, bug 402211).
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'app-misc/freeplane')
-rw-r--r--app-misc/freeplane/Manifest2
-rw-r--r--app-misc/freeplane/freeplane-1.5.18.ebuild49
-rw-r--r--app-misc/freeplane/metadata.xml11
3 files changed, 62 insertions, 0 deletions
diff --git a/app-misc/freeplane/Manifest b/app-misc/freeplane/Manifest
new file mode 100644
index 00000000000..0523d70e477
--- /dev/null
+++ b/app-misc/freeplane/Manifest
@@ -0,0 +1,2 @@
+DIST freeplane-1.5.18-gradle-cache.tar.xz 21496376 SHA256 be87079930656b3aac91a2d2fd12a181d006f7ead3e315a93ef6a58473f454b3 SHA512 720096b5d6021f28b9a48a1b22613c552aad5fdca7515e9b0cefa4785b630e4b9eb6b277b6b0f30ab5b6d0daf709d7c6890117d80f4a6de205ac401cd2706c86 WHIRLPOOL 965fec802eb9f92aa80b04bef92a3648ae3d0655e3de8266299f70eeec01708a1ef78bcd7a38c35381f91691f09d5894f2fc413d1d59f3c625863791adef3fcb
+DIST freeplane_src-1.5.18.tar.gz 13233435 SHA256 539fb7114ecaca0d4f01ae5910e84376ce18ba7fb25ff28359b19d34e4325e13 SHA512 c7feaf957e1d67cb8e71e0b8aa1193c291b5cbc482f932397baeb8f296062378864e5004b59740d716b5c833b5404732ce17d7551ab0a3b663d3fda44327bccb WHIRLPOOL e28c707ffee2ef79491dd350dae1e2f32ec39735650e2ba828381e71c781d3b66b4ce1bd1047fe17fde659ea1f11dbca2089544d3191fdfd289741ce392e1b90
diff --git a/app-misc/freeplane/freeplane-1.5.18.ebuild b/app-misc/freeplane/freeplane-1.5.18.ebuild
new file mode 100644
index 00000000000..64f9e226e68
--- /dev/null
+++ b/app-misc/freeplane/freeplane-1.5.18.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc"
+
+VIRTUALX_REQUIRED="test"
+
+inherit java-utils-2 virtualx
+
+DESCRIPTION="Java application for Mind Mapping, Knowledge and Project Management"
+HOMEPAGE="https://www.freeplane.org/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}%20stable/${PN}_src-${PV}.tar.gz
+ http://dev.gentoo.org/~xmw/freeplane-1.5.18-gradle-cache.tar.xz"
+#generate cache file by disabling --offline, ebuild clean test and
+#tar cvJf /var/cache/distfiles/freeplane-1.5.18-gradle-cache.tar.xz -C /var/tmp/portage/app-misc/freeplane-1.5.18/work .gradle/caches/modules-2
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND="${DEPEND}
+ >=virtual/jdk-1.8
+ dev-java/gradle-bin"
+
+src_compile() {
+ GRADLE="gradle --gradle-user-home ${WORKDIR}/.gradle --console rich --no-daemon"
+ GRADLE="${GRADLE} --offline"
+ ${GRADLE} build -x check -x test || die
+}
+
+src_test() {
+ virtx ${GRADLE} check test || die
+}
+
+src_install() {
+ cd BUILD || die
+ sed -e "/freepath=/s:=.*:=${EROOT}usr/share/${PN}:" \
+ -i freeplane.sh
+ newbin freeplane.sh freeplane
+
+ insinto /usr/share/${PN}
+ doins framework.jar freeplanelauncher.jar \
+ freeplane.policy props.xargs init.xargs *.l4j.ini
+ doins -r core doc fwdir plugins resources
+}
diff --git a/app-misc/freeplane/metadata.xml b/app-misc/freeplane/metadata.xml
new file mode 100644
index 00000000000..c284a248fc4
--- /dev/null
+++ b/app-misc/freeplane/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="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<longdescription lang="en">
+Freeplane is a free and open source software application that supports thinking, sharing information and getting things done at work, in school and at home. The software can be used for mind mapping and analyzing the information contained in mind maps.
+</longdescription>
+</pkgmetadata>