public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/pcgen/
@ 2016-10-15 11:08 Austin English
  0 siblings, 0 replies; 4+ messages in thread
From: Austin English @ 2016-10-15 11:08 UTC (permalink / raw
  To: gentoo-commits

commit:     69812ecdaab8a173d69ba4c316fb8f07b58312b4
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 11:06:43 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 11:08:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69812ecd

games-rpg/pcgen: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-rpg/pcgen/pcgen-6.04.01-r1.ebuild | 47 +++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/games-rpg/pcgen/pcgen-6.04.01-r1.ebuild b/games-rpg/pcgen/pcgen-6.04.01-r1.ebuild
new file mode 100644
index 00000000..f019053
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-6.04.01-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit gnome2-utils
+
+DESCRIPTION="D&D character generator"
+HOMEPAGE="http://pcgen.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pcgen/${P}-full.zip"
+
+LICENSE="LGPL-2.1 OGL-1.0a"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+	default
+
+	rm -vf *.bat || die
+	sed "/dirname/ c\cd \"\/usr\/share\/${PN}\"" pcgen.sh > "${T}"/${PN} || die
+}
+
+src_install() {
+	dobin "${T}"/${PN}
+	insinto /usr/share/${PN}
+	doins -r *
+	newicon -s 128 system/sponsors/pcgen/pcgen_128x128.png ${PN}.png
+	make_desktop_entry ${PN} PCGen
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/pcgen/
@ 2021-07-18  5:15 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2021-07-18  5:15 UTC (permalink / raw
  To: gentoo-commits

commit:     874242d04036f23156504fea4f423e8cb774db95
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 17 21:56:32 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 05:14:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874242d0

games-rpg/pcgen: add github remote-id

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-rpg/pcgen/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-rpg/pcgen/metadata.xml b/games-rpg/pcgen/metadata.xml
index e2b2929d7fb..2602eda6271 100644
--- a/games-rpg/pcgen/metadata.xml
+++ b/games-rpg/pcgen/metadata.xml
@@ -6,6 +6,7 @@
 		<name>Gentoo Games Project</name>
 	</maintainer>
 	<upstream>
+		<remote-id type="github">PCGen/pcgen</remote-id>
 		<remote-id type="sourceforge">pcgen</remote-id>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/pcgen/
@ 2021-07-18  5:15 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2021-07-18  5:15 UTC (permalink / raw
  To: gentoo-commits

commit:     02cab29b975182c755dc885ab8bf7001b0d84a8f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 02:55:58 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> 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 <ionen <AT> 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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/pcgen/
@ 2021-07-25  1:36 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2021-07-25  1:36 UTC (permalink / raw
  To: gentoo-commits

commit:     2c35a5e359977130e6ecbc9dc0cf1fec6d747053
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 25 00:44:42 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jul 25 01:35:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c35a5e3

games-rpg/pcgen: drop 6.04.01-r1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-rpg/pcgen/Manifest                |  1 -
 games-rpg/pcgen/pcgen-6.04.01-r1.ebuild | 46 ---------------------------------
 2 files changed, 47 deletions(-)

diff --git a/games-rpg/pcgen/Manifest b/games-rpg/pcgen/Manifest
index 6902226246a..6633890110f 100644
--- a/games-rpg/pcgen/Manifest
+++ b/games-rpg/pcgen/Manifest
@@ -1,2 +1 @@
-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.04.01-r1.ebuild b/games-rpg/pcgen/pcgen-6.04.01-r1.ebuild
deleted file mode 100644
index 4319ff1db63..00000000000
--- a/games-rpg/pcgen/pcgen-6.04.01-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit desktop gnome2-utils
-
-DESCRIPTION="D&D character generator"
-HOMEPAGE="http://pcgen.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pcgen/${P}-full.zip"
-
-LICENSE="LGPL-2.1 OGL-1.0a"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=virtual/jre-1.6"
-DEPEND="app-arch/unzip"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
-	default
-
-	rm -vf *.bat || die
-	sed "/dirname/ c\cd \"\/usr\/share\/${PN}\"" pcgen.sh > "${T}"/${PN} || die
-}
-
-src_install() {
-	dobin "${T}"/${PN}
-	insinto /usr/share/${PN}
-	doins -r *
-	newicon -s 128 system/sponsors/pcgen/pcgen_128x128.png ${PN}.png
-	make_desktop_entry ${PN} PCGen
-}
-
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-25  1:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-18  5:15 [gentoo-commits] repo/gentoo:master commit in: games-rpg/pcgen/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2021-07-25  1:36 Ionen Wolkens
2021-07-18  5:15 Ionen Wolkens
2016-10-15 11:08 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox