From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B08DF139085 for ; Sun, 15 Jan 2017 23:02:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C66032241EC; Sun, 15 Jan 2017 23:02:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A33C72241EC for ; Sun, 15 Jan 2017 23:02:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A806A341026 for ; Sun, 15 Jan 2017 23:02:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D24527CC for ; Sun, 15 Jan 2017 23:02:18 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1484521191.24218dbfd47b2fe7ca0bee5396aebd44b4db0931.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gcalc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-visualization/gcalc/gcalc-3.1_rc1-r1.ebuild X-VCS-Directories: sci-visualization/gcalc/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 24218dbfd47b2fe7ca0bee5396aebd44b4db0931 X-VCS-Branch: master Date: Sun, 15 Jan 2017 23:02:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5ebe3bef-ed7c-4f3d-ae25-27afadcb672d X-Archives-Hash: 5ee89198390c4d23c97e5b490da89ce3 commit: 24218dbfd47b2fe7ca0bee5396aebd44b4db0931 Author: Gerhard Bräunlich gmx net> AuthorDate: Sat Jan 14 14:17:42 2017 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sun Jan 15 22:59:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24218dbf sci-visualization/gcalc: EAPI bump 4 -> 6 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/3471 sci-visualization/gcalc/gcalc-3.1_rc1-r1.ebuild | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/sci-visualization/gcalc/gcalc-3.1_rc1-r1.ebuild b/sci-visualization/gcalc/gcalc-3.1_rc1-r1.ebuild new file mode 100644 index 00000000..6aaed93 --- /dev/null +++ b/sci-visualization/gcalc/gcalc-3.1_rc1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils java-pkg-2 java-pkg-simple + +MY_P="GCalc-${PV/_/-}" +DESCRIPTION="Java Mathematical Graphing System" +HOMEPAGE="http://gcalc.net/" +SRC_URI="http://gcalc.net/files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64" +IUSE="" +SLOT="0" + +RDEPEND=">=virtual/jre-1.7 + !!sci-mathematics/gcalc" +DEPEND=">=virtual/jdk-1.7" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + java-pkg_clean + default +} + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar src ! -name "*.html" +} + +src_install() { + java-pkg-simple_src_install + java-pkg_dolauncher gcalc --main net.gcalc.calc.GCalc + + newicon src/resources/gicon.png ${PN}.png + make_desktop_entry ${PN} "GCalc Java Mathematical Graphing System" +}