summaryrefslogtreecommitdiff
path: root/app-office/hourglass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-office/hourglass
reinit the tree, so we can have metadata
Diffstat (limited to 'app-office/hourglass')
-rw-r--r--app-office/hourglass/Manifest5
-rw-r--r--app-office/hourglass/hourglass-0.7.2-r1.ebuild55
-rw-r--r--app-office/hourglass/metadata.xml11
3 files changed, 71 insertions, 0 deletions
diff --git a/app-office/hourglass/Manifest b/app-office/hourglass/Manifest
new file mode 100644
index 000000000000..e7594968081d
--- /dev/null
+++ b/app-office/hourglass/Manifest
@@ -0,0 +1,5 @@
+DIST hourglass-0.7.2-src.tar.gz 119371 SHA256 f5d6b9c4ba6d501647d1cba9960d538378204def021b770e5e0031c4672d3526 SHA512 c15c9c6268f2f99ff2138764197b70480566926d524ce22039c85b7ddd11e1429e9f40c07691e4cfaccc9899e27f3d808e2cdf31d207c379dd67e5bd3c0f325e WHIRLPOOL b8aec228e264d3820125ca6e4f32ba491e5a3d90c8a3ea4b7c4e2c6d60d4ca275aecb49fef67486f920742d3878e65071a8ff7f7187aea28fd3564aa39a29d6c
+EBUILD hourglass-0.7.2-r1.ebuild 1373 SHA256 595a5a1259cc9aaa2b9c7f8d51adc85d37c768d6b7e614828b1e6e0afecd1ddd SHA512 a2c994e689fd72f9cf5885cec2c0fea50c1a9b2a0ee57ef1aec8a71f969cad8be2688464f552d9ee9b83694c80b1d570af42f55fa7c0379204092a5c274225ee WHIRLPOOL 0880c8917d6bd2472613eda18a74298902752ac7ad49143faa9398326a26158176597356d2f5dc51fccb825fe0a8aae8f264014b455613e52364be1104475ae0
+MISC ChangeLog 2599 SHA256 b86ff7937876d50f9551a41f7160c19f513d0f368dd19abee972628d4ebadc94 SHA512 e8085e4ca869a54017cbb83c810fd8aa9e079110674702f5e9fcf839aa9a2577089c8833dd6a98ad5e33c8ecaf62d0418346cda2fe406f26c5d806aeb3abb65a WHIRLPOOL dae83af49f84524cadd30713b570ff0e14144d7f0c37e7e2fe7b5269aeeb3031b6a1d455db5908e1e88c42595085a116a5733b85c532ac6d9233232bd8bf3bd3
+MISC ChangeLog-2015 1493 SHA256 e922f8d3d5aece9e4a946e02de837d8082a862cdefae7f1b9766507d035f6e61 SHA512 fb96655c2ff2071761bbc090a379d3df786ec77759b3099160b94bffcf1eb69a5d694146f849080b9ed64b3441660933c56cf80b4f5a37e48204deaa1beb097d WHIRLPOOL 86d87ce4e296f530cbca5a12a57e97cc77937e3e335a35dbfcae6cda7f5b4839264e61dd59dd78641b5646270e130474bea0e413466e76effab278b80511e7e3
+MISC metadata.xml 315 SHA256 7af1cd8cd917b062d7422925caa3ebcee287ff7c64c30f7dc14f6d07ebf6c5c0 SHA512 8ac90ea393b90bddeab543f2b00f5a92b74bd18c342ecc97d384c6e98178e418698afead4acff15a35d98f948f6d29a69bfeb419d8bb31426fb3790232df98f8 WHIRLPOOL 1f4ee9405ca0f7866dfe809fc2f30f5cd184ceb2d82b1f8af6a67c257c77ad6ea150996dfaba967ac44dfcaebaf17f265fa50c416eb378e242ee109a42294750
diff --git a/app-office/hourglass/hourglass-0.7.2-r1.ebuild b/app-office/hourglass/hourglass-0.7.2-r1.ebuild
new file mode 100644
index 000000000000..b096765f5c80
--- /dev/null
+++ b/app-office/hourglass/hourglass-0.7.2-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="A PSP (personal software process) time tracking utility written in Java"
+HOMEPAGE="http://hourglass.wiki.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+CDEPEND="
+ dev-java/jdom:0
+ dev-java/log4j:0
+ dev-java/ant-core:0
+ dev-java/jcommon:1.0"
+
+DEPEND="
+ >=virtual/jdk-1.5
+ ${CDEPEND}"
+
+RDEPEND="
+ >=virtual/jre-1.5
+ ${CDEPEND}"
+
+S="${WORKDIR}/${P}-src"
+
+java_prepare() {
+ echo "jar.log4j=$(java-pkg_getjar log4j log4j.jar)" > conf/local.properties || die
+ echo "jar.jcommon=$(java-pkg_getjar jcommon:1.0 jcommon.jar)" >> conf/local.properties || die
+ echo "jar.jdom=$(java-pkg_getjar jdom jdom.jar)" >> conf/local.properties || die
+ echo "jar.ant=$(java-pkg_getjar --build-only ant-core ant.jar)" >> conf/local.properties || die
+}
+
+EANT_BUILD_TARGET="dist"
+EANT_DOC_TARGET="javadoc"
+
+src_install() {
+ java-pkg_dojar "dist/${P}/lib/${PN}.jar"
+
+ use doc && java-pkg_dojavadoc build/doc/api
+ use source && java-pkg_dosrc src/*
+
+ java-pkg_dolauncher "${PN}" \
+ --main "net.sourceforge.hourglass.swingui.Main"
+
+ make_desktop_entry "${PN}" "Hourglass" "appointment-new" "Office"
+
+ dodoc README ChangeLog AUTHORS
+}
diff --git a/app-office/hourglass/metadata.xml b/app-office/hourglass/metadata.xml
new file mode 100644
index 000000000000..71c54c3dada7
--- /dev/null
+++ b/app-office/hourglass/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="sourceforge">hourglass</remote-id>
+ </upstream>
+</pkgmetadata>