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 9751613933E for ; Sun, 18 Jul 2021 05:15:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2446E09C0; Sun, 18 Jul 2021 05:15:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7A83E09C0 for ; Sun, 18 Jul 2021 05:15:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 922AA342B12 for ; Sun, 18 Jul 2021 05:15:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 782927D3 for ; Sun, 18 Jul 2021 05:15:49 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1626585291.02cab29b975182c755dc885ab8bf7001b0d84a8f.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/pcgen/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/pcgen/Manifest games-rpg/pcgen/pcgen-6.06.01.ebuild X-VCS-Directories: games-rpg/pcgen/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 02cab29b975182c755dc885ab8bf7001b0d84a8f X-VCS-Branch: master Date: Sun, 18 Jul 2021 05:15:49 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9e8546bf-10da-4f27-8b09-184563e89f3a X-Archives-Hash: f1efbb8b79593fbe5850a35150bec7eb commit: 02cab29b975182c755dc885ab8bf7001b0d84a8f Author: Ionen Wolkens gentoo org> AuthorDate: Sun Jul 18 02:55:58 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Jul 18 05:14:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02cab29b games-rpg/pcgen: add 6.06.01 Technically 6.08.00_rc8 is the current stable per upstream website (despite _rc8 as it appears final with development shifted to 6.10), but requires masked virtual/jre-11. Adding previous stable meanwhile. Could use more work and building from source, but that needs Gradle. Moved files to /opt from /usr/share due to being prebuilt. Closes: https://bugs.gentoo.org/611908 Closes: https://bugs.gentoo.org/672972 Signed-off-by: Ionen Wolkens gentoo.org> games-rpg/pcgen/Manifest | 1 + games-rpg/pcgen/pcgen-6.06.01.ebuild | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/games-rpg/pcgen/Manifest b/games-rpg/pcgen/Manifest index 38926b7852b..6902226246a 100644 --- a/games-rpg/pcgen/Manifest +++ b/games-rpg/pcgen/Manifest @@ -1 +1,2 @@ DIST pcgen-6.04.01-full.zip 68679438 BLAKE2B e9afa6b9937804988425d8d18cfed7728197ecc303f586ed899491e4d500eb0e6ddc0ae92aef1d4bfef7ff3fb987cca34af95246c83ebe71e089e3e5e91aa9dd SHA512 37e76e9bca3defe803459f898d3c51015cb4c4f69905c4179b78b1b26977b7d720ef413b3f5b2ef4252aa98f732075b9567c4f4822c61d169a5a0a6e2c78c0d4 +DIST pcgen-6.06.01-full.zip 73423642 BLAKE2B 54dbebb3e73188435ce6ed6d38387e194fff156f39d9238b55f0e7d990f785eb79f562a41c60a4861f637514615802ef5103f886e0f96624f7f53b197adcd5a3 SHA512 9af94aa434229ce00f08385759b4efc22f16ad32be81be4177c44eec94f1bedcec0742b494bbed3c95c1bcf9b2c51e2649330ee0a54f7ca4b0042966099851eb diff --git a/games-rpg/pcgen/pcgen-6.06.01.ebuild b/games-rpg/pcgen/pcgen-6.06.01.ebuild new file mode 100644 index 00000000000..6bf03db1d13 --- /dev/null +++ b/games-rpg/pcgen/pcgen-6.06.01.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop edos2unix + +DESCRIPTION="D&D character generator" +HOMEPAGE="http://pcgen.org/" +SRC_URI="https://github.com/PCGen/pcgen/releases/download/${PV}/${P}-full.zip" +S="${WORKDIR}/${PN}" + +LICENSE="LGPL-2.1 OGL-1.0a" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-1.8:*" +BDEPEND="app-arch/unzip" + +src_prepare() { + default + + edos2unix ${PN}.sh + sed "/^cd /c\\cd \"${EPREFIX}/opt/${PN}\" || exit 1" ${PN}.sh > "${T}"/${PN} || die + + rm -r LICENSE docs/{doc_tools,pngcrush_logs.txt} ${PN}.{exe,sh} || die +} + +src_install() { + dobin "${T}"/${PN} + + insinto /opt/${PN} + doins -r . + + newicon system/sponsors/pcgen/pcgen_128x128.png ${PN}.png + make_desktop_entry ${PN} PCGen +}