public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/barbarian-bin/
@ 2021-04-07  9:38 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-04-07  9:38 UTC (permalink / raw
  To: gentoo-commits

commit:     90a139f710345b12c10f64e8b55fd0a680bddd19
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 09:37:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr  7 09:38:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a139f7

games-arcade/barbarian-bin: port to EAPI 7, games.eclass--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../barbarian-bin/barbarian-bin-1.01-r1.ebuild     | 47 -------------------
 .../barbarian-bin/barbarian-bin-1.01-r2.ebuild     | 53 ++++++++++++++++++++++
 2 files changed, 53 insertions(+), 47 deletions(-)

diff --git a/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild b/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild
deleted file mode 100644
index 555f99dd3ac..00000000000
--- a/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-MY_PN=${PN/-bin/}
-DESCRIPTION="Save Princess Mariana through one-on-one battles with demonic barbarians"
-HOMEPAGE="http://www.tdbsoft.com/"
-SRC_URI="http://www.pcpages.com/tomberrr/downloads/${MY_PN}${PV/./}_linux.zip"
-
-LICENSE="CC-BY-NC-ND-2.0"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
-IUSE=""
-
-DEPEND="app-arch/unzip"
-RDEPEND="sys-libs/libstdc++-v3:5
-	amd64? ( sys-libs/libstdc++-v3:5[multilib] )
-	>=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]"
-
-game_dest="${GAMES_PREFIX_OPT}/${MY_PN}"
-QA_PREBUILT="${game_dest:1}/Barbarian"
-
-S=${WORKDIR}
-
-src_install() {
-	dodir "${game_dest}"
-	cp -r gfx sounds "${D}${game_dest}/" || die
-
-	exeinto "${game_dest}"
-	doexe Barbarian
-
-	dohtml Barbarian.html
-
-	games_make_wrapper barbarian ./Barbarian "${game_dest}"
-
-	# High-score file
-	dodir "${GAMES_STATEDIR}"
-	touch "${D}${GAMES_STATEDIR}/heroes.hoh"
-	fperms 660 "${GAMES_STATEDIR}/heroes.hoh"
-	dosym "${GAMES_STATEDIR}/heroes.hoh" "${game_dest}/heroes.hoh"
-	newicon gfx/sprites/player_attack_2_1.bmp barbarian.bmp
-	make_desktop_entry barbarian "Barbarian" /usr/share/pixmaps/barbarian.bmp
-	prepgamesdirs
-}

diff --git a/games-arcade/barbarian-bin/barbarian-bin-1.01-r2.ebuild b/games-arcade/barbarian-bin/barbarian-bin-1.01-r2.ebuild
new file mode 100644
index 00000000000..c7f7f26b27f
--- /dev/null
+++ b/games-arcade/barbarian-bin/barbarian-bin-1.01-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop wrapper
+
+MY_PN=${PN/-bin/}
+DESCRIPTION="Save Princess Mariana through one-on-one battles with demonic barbarians"
+HOMEPAGE="http://www.tdbsoft.com/"
+SRC_URI="http://www.pcpages.com/tomberrr/downloads/${MY_PN}${PV/./}_linux.zip"
+S="${WORKDIR}"
+
+LICENSE="CC-BY-NC-ND-2.0"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="strip"
+
+RDEPEND="
+	acct-group/gamestat
+	>=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]
+	sys-libs/libstdc++-v3:5
+	amd64? ( sys-libs/libstdc++-v3:5[multilib] )
+"
+BDEPEND="app-arch/unzip"
+
+game_dest="opt/${MY_PN}"
+QA_PREBUILT="${game_dest}/Barbarian"
+
+src_install() {
+	dodir ${game_dest}
+	cp -r gfx sounds "${ED}"/${game_dest}/ || die
+
+	exeinto ${game_dest}
+	doexe Barbarian
+
+	docinto html
+	dodoc Barbarian.html
+
+	make_wrapper barbarian ./Barbarian "${game_dest}"
+
+	# High-score file
+	dodir /var/games/${PN}
+	touch "${ED}"/var/games/${PN}/heroes.hoh || die
+	dosym ../../var/games/${PN}/heroes.hoh ${game_dest}/heroes.hoh
+
+	fperms 660 /var/games/${PN}/heroes.hoh
+	fowners -R root:gamestat /var/games/${PN}
+	fperms g+s /opt/${MY_PN}/Barbarian
+
+	newicon gfx/sprites/player_attack_2_1.bmp barbarian.bmp
+	make_desktop_entry barbarian "Barbarian" /usr/share/pixmaps/barbarian.bmp
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/barbarian-bin/
@ 2021-08-23  4:06 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-08-23  4:06 UTC (permalink / raw
  To: gentoo-commits

commit:     8ddb81deb7cef20f5ab6f6b1d213f53de2d07604
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 23 04:02:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 23 04:06:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ddb81de

games-arcade/barbarian-bin: fix group of binary

Closes: https://bugs.gentoo.org/809353
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild b/games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild
index fcacd4d8940..6f60c21567e 100644
--- a/games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild
+++ b/games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild
@@ -42,10 +42,10 @@ src_install() {
 	# High-score file
 	dodir /var/games/${PN}
 	touch "${ED}"/var/games/${PN}/heroes.hoh || die
-	dosym ../../var/games/${PN}/heroes.hoh ${game_dest}/heroes.hoh
+	dosym ../../var/games/${PN}/heroes.hoh /opt/${MY_PN}/heroes.hoh
 
 	fperms 660 /var/games/${PN}/heroes.hoh
-	fowners -R root:gamestat /var/games/${PN}
+	fowners -R root:gamestat /var/games/${PN} /opt/${MY_PN}/Barbarian
 	fperms g+s /opt/${MY_PN}/Barbarian
 
 	newicon gfx/sprites/player_attack_2_1.bmp barbarian.bmp


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/barbarian-bin/
@ 2022-10-08 17:59 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-10-08 17:59 UTC (permalink / raw
  To: gentoo-commits

commit:     9362d76af5515056141319e8b9adf143ef95751f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  8 16:48:26 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 17:59:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9362d76a

games-arcade/barbarian-bin: depend on glibc (binpkg)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild b/games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild
index 6f60c21567e9..8d2c53e6ff46 100644
--- a/games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild
+++ b/games-arcade/barbarian-bin/barbarian-bin-1.01-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,6 +19,7 @@ RESTRICT="strip"
 RDEPEND="
 	acct-group/gamestat
 	>=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]
+	sys-libs/glibc
 	sys-libs/libstdc++-v3:5
 	amd64? ( sys-libs/libstdc++-v3:5[multilib] )
 "


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

end of thread, other threads:[~2022-10-08 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-23  4:06 [gentoo-commits] repo/gentoo:master commit in: games-arcade/barbarian-bin/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-10-08 17:59 Sam James
2021-04-07  9:38 Sam James

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