public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-action/rrootage/
@ 2015-12-18 10:13 Michael Sterrett
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sterrett @ 2015-12-18 10:13 UTC (permalink / raw
  To: gentoo-commits

commit:     320027996521e8160e4f0254b846450e3f757d37
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 09:20:13 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 09:20:13 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32002799

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-action/rrootage/rrootage-0.23a.ebuild | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/games-action/rrootage/rrootage-0.23a.ebuild b/games-action/rrootage/rrootage-0.23a.ebuild
index 3a1657d..33ae629 100644
--- a/games-action/rrootage/rrootage-0.23a.ebuild
+++ b/games-action/rrootage/rrootage-0.23a.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 MY_PN="rRootage"
@@ -22,7 +22,7 @@ DEPEND="virtual/opengl
 	media-libs/libsdl[video]
 	media-libs/sdl-mixer[vorbis]
 	>=dev-libs/libbulletml-0.0.3"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
 
 S=${WORKDIR}/${MY_PN}/src
 
@@ -37,12 +37,11 @@ src_prepare() {
 		-e "/^CPPFLAGS/s/MORE_CFLAGS/MORE_CXXFLAGS/" \
 		-e "s/ -mwindows//" \
 		-e "s:-I./bulletml/:-I/usr/include/bulletml:" \
-		makefile.lin > Makefile || die "sed failed"
+		makefile.lin > Makefile || die
 
 	sed -i \
 		-e "s:/usr/share/games:${GAMES_DATADIR}:" \
-		barragemanager.cc screen.c soundmanager.c \
-		|| die "sed failed"
+		barragemanager.cc screen.c soundmanager.c || die
 }
 
 src_compile() {
@@ -54,7 +53,7 @@ src_compile() {
 src_install() {
 	newgamesbin rr ${PN}
 	dodir "${GAMES_DATADIR}/${MY_PN}"
-	cp -r ../rr_share/* "${D}/${GAMES_DATADIR}/${MY_PN}" || die "cp failed"
+	cp -r ../rr_share/* "${D}/${GAMES_DATADIR}/${MY_PN}" || die
 	dodoc ../readme*
 	prepgamesdirs
 }


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/rrootage/
@ 2017-01-27 19:44 Austin English
  0 siblings, 0 replies; 4+ messages in thread
From: Austin English @ 2017-01-27 19:44 UTC (permalink / raw
  To: gentoo-commits

commit:     8dc1f6480a1ce8acaf17885632bac3d2844b5f45
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 22:49:00 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 19:44:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dc1f648

games-action/rrootage: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 games-action/rrootage/rrootage-0.23a-r1.ebuild | 73 ++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/games-action/rrootage/rrootage-0.23a-r1.ebuild b/games-action/rrootage/rrootage-0.23a-r1.ebuild
new file mode 100644
index 00000000..00f1476
--- /dev/null
+++ b/games-action/rrootage/rrootage-0.23a-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+MY_PN="rRootage"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Abstract shooter - defeat auto-created huge battleships"
+HOMEPAGE="http://www.asahi-net.or.jp/~cs8k-cyu/windows/rr_e.html
+	http://rrootage.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="
+	>=dev-libs/libbulletml-0.0.3
+	media-libs/libsdl[video]
+	media-libs/sdl-mixer[vorbis]
+	virtual/glu
+	virtual/opengl"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${MY_PN}/src
+
+PATCHES=(
+	"${FILESDIR}/${P}"-gcc41.patch
+)
+
+src_prepare() {
+	default
+
+	sed \
+		-e "s/-lglut/-lGL -lGLU -lm/" \
+		-e "/^CC/d" \
+		-e "/^CXX/d" \
+		-e "/^LDFLAGS/s/=/+=/" \
+		-e "/^CPPFLAGS/s/MORE_CFLAGS/MORE_CXXFLAGS/" \
+		-e "/^CPPFLAGS/s/MORE_CFLAGS/MORE_CXXFLAGS/" \
+		-e "s/ -mwindows//" \
+		-e "s:-I./bulletml/:-I/usr/include/bulletml:" \
+		makefile.lin > Makefile || die
+
+	sed -i \
+		-e "s:/usr/share/games:/usr/share:" \
+		barragemanager.cc screen.c soundmanager.c || die
+}
+
+src_compile() {
+	emake \
+		MORE_CFLAGS="-DLINUX ${CFLAGS}" \
+		MORE_CXXFLAGS="-DLINUX ${CXXFLAGS}"
+}
+
+src_install() {
+	newbin rr ${PN}
+	dodir "/usr/share/${MY_PN}"
+	cp -r ../rr_share/* "${D}/usr/share/${MY_PN}" || die
+	dodoc ../readme*
+}
+
+pkg_postinst() {
+	if ! has_version "media-libs/sdl-mixer[vorbis]" ; then
+		elog "${PN} will not have sound since sdl-mixer"
+		elog "is built with USE=-vorbis"
+		elog "Please emerge sdl-mixer with USE=vorbis"
+		elog "if you want sound support"
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/rrootage/
@ 2021-08-19 11:22 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-08-19 11:22 UTC (permalink / raw
  To: gentoo-commits

commit:     93be02ff74ba071d860193e507750c8d217fc459
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 19 11:05:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 19 11:21:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93be02ff

games-action/rrootage: add missing libsdl[joystick] dep again!

Fixes: 2a5c0c46e3051cc42c3299eae20fb77ce6d10e7e
Closes: https://bugs.gentoo.org/809032
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../rrootage/{rrootage-0.23a-r2.ebuild => rrootage-0.23a-r3.ebuild}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-action/rrootage/rrootage-0.23a-r2.ebuild b/games-action/rrootage/rrootage-0.23a-r3.ebuild
similarity index 97%
rename from games-action/rrootage/rrootage-0.23a-r2.ebuild
rename to games-action/rrootage/rrootage-0.23a-r3.ebuild
index 0defc88d532..53505f01f28 100644
--- a/games-action/rrootage/rrootage-0.23a-r2.ebuild
+++ b/games-action/rrootage/rrootage-0.23a-r3.ebuild
@@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~x86"
 
 DEPEND="
 	>=dev-libs/libbulletml-0.0.3
-	media-libs/libsdl[video]
+	media-libs/libsdl[joystick,video]
 	media-libs/sdl-mixer[vorbis]
 	virtual/glu
 	virtual/opengl"


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/rrootage/
@ 2022-03-20  0:05 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-03-20  0:05 UTC (permalink / raw
  To: gentoo-commits

commit:     9ffce0884d121488f4ed95729bddca84a47b2126
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 00:03:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 00:03:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ffce088

games-action/rrootage: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

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

 games-action/rrootage/rrootage-0.23a-r3.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-action/rrootage/rrootage-0.23a-r3.ebuild b/games-action/rrootage/rrootage-0.23a-r3.ebuild
index 53505f01f287..83eed8878133 100644
--- a/games-action/rrootage/rrootage-0.23a-r3.ebuild
+++ b/games-action/rrootage/rrootage-0.23a-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
@@ -50,8 +50,8 @@ src_prepare() {
 
 src_compile() {
 	emake \
-		CC=$(tc-getCC) \
-		CXX=$(tc-getCXX) \
+		CC="$(tc-getCC)" \
+		CXX="$(tc-getCXX)" \
 		MORE_CFLAGS="-DLINUX ${CFLAGS}" \
 		MORE_CXXFLAGS="-DLINUX ${CXXFLAGS}"
 }


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

end of thread, other threads:[~2022-03-20  0:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-20  0:05 [gentoo-commits] repo/gentoo:master commit in: games-action/rrootage/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-08-19 11:22 Sam James
2017-01-27 19:44 Austin English
2015-12-18 10:13 Michael Sterrett

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