summaryrefslogtreecommitdiff
path: root/games-action/rrootage
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/rrootage')
-rw-r--r--games-action/rrootage/Manifest4
-rw-r--r--games-action/rrootage/files/rrootage-0.23a-gcc41.patch8
-rw-r--r--games-action/rrootage/rrootage-0.23a-r3.ebuild (renamed from games-action/rrootage/rrootage-0.23a-r1.ebuild)14
3 files changed, 14 insertions, 12 deletions
diff --git a/games-action/rrootage/Manifest b/games-action/rrootage/Manifest
index ff23ff453acb..bfeda55be3f7 100644
--- a/games-action/rrootage/Manifest
+++ b/games-action/rrootage/Manifest
@@ -1,4 +1,4 @@
-AUX rrootage-0.23a-gcc41.patch 959 BLAKE2B 121e1a5b9a39306badb614c9fdb0da6c6c55f6a26f43d095a38404f54a5958875735d35a543c4518d8bc5250ee17dcc21355aad3d96e3370fd7f9e51199fb660 SHA512 9eb927ad7389cc77823903b641608248330046034010551badd06be7dc0def5a04d2e1f78ef2e4631c97279d0eacae10006b1564c4ad21dae306a427a95972fc
+AUX rrootage-0.23a-gcc41.patch 799 BLAKE2B d1f6ddd136e8f55beb053ad29110b429b6c15154a08b2f607e6687c95628b18eea59d187e3d333a33cfe4863d7c7748893f9692425cd220cd6754eb8c09a713e SHA512 e7951c59c10b17cb891de4ce5c690958d2e6c9d1fb7a609514b38a9254eb8998d71a4455cdcd2b39306b9abeece48f6d3a53be7204f085ea435076e837bca38b
DIST rRootage-0.23a.tar.gz 3910941 BLAKE2B ac5e2e3f0966e3d99cee5e7b90fcfe088a11453e71a120db66ddabf5092a4c6b128b98ce73dce7b9f599c3627f065c3b205bc7599161671d6a4647fcdb161e4f SHA512 29af79ef7bae46a103abf31696209b1ff5915caeb614d474b6a83f7e9657c19dea586e64a99437bba3e1121bfacc92c8d8b3c8a6831214d0d7da89927ca64f66
-EBUILD rrootage-0.23a-r1.ebuild 1571 BLAKE2B 12afa9b4e0d94398288e4c7585e20f0dc9b6fa0e7471b643be08fc936272a288e575c908e1b354c95dc70f3efd53fde51b2d1ca1994281dcfd411f0ac6fbd08a SHA512 55f6d3f9cdd9504099c4f78e005766e6dd652ad1b489a692f989f17f29452611c133d699ead7c9723120434ffdd6cf98f9fef811c4f233ea7969be5e0540cc1b
+EBUILD rrootage-0.23a-r3.ebuild 1640 BLAKE2B 32d0fe92037f2376694d72e5b7bcbe7cbc1759d39188d1d49af6db49d743d80d07f5f4208eee6564b872d66fc9b7d71099542b4641120abd9b70d18dfe4bb0de SHA512 7fc1a7aff2185a225e18890392b7e7a516ec1b8f9e9fd098198df27108d3c0ee53649eb913b27b96ac7837a73085ccd2312fafc810ac172a12c33942d220e9cf
MISC metadata.xml 331 BLAKE2B 6235455dffd3d6687832c55e58c0151c35f9f44dd006a83fb57b81f27ecbdd7832bad0b207acf9214061259543668d57ec231bfb58da1f543e23178e25a9d854 SHA512 28663cb0e771cf17a0face9241359ca7eab7360b0dbcec162a3238c9fd89a81ea858cb3c66948b18ecca17cd26b6d855be24d955588aa4f38af54eaa6775278b
diff --git a/games-action/rrootage/files/rrootage-0.23a-gcc41.patch b/games-action/rrootage/files/rrootage-0.23a-gcc41.patch
index 1e6e50e683fd..00926f9b75dc 100644
--- a/games-action/rrootage/files/rrootage-0.23a-gcc41.patch
+++ b/games-action/rrootage/files/rrootage-0.23a-gcc41.patch
@@ -1,5 +1,5 @@
---- src/foecommand.h.old 2006-04-21 23:26:03.000000000 +0200
-+++ src/foecommand.h 2006-04-21 23:26:26.000000000 +0200
+--- a/foecommand.h
++++ b/foecommand.h
@@ -39,10 +39,10 @@
virtual void doChangeDirection(double d);
@@ -15,8 +15,8 @@
private:
struct foe *foe;
---- src/screen.c.old 2006-04-21 23:50:01.000000000 +0200
-+++ src/screen.c 2006-04-21 23:50:30.000000000 +0200
+--- a/screen.c
++++ b/screen.c
@@ -73,7 +73,7 @@
void loadGLTexture(char *fileName, GLuint *texture) {
SDL_Surface *surface;
diff --git a/games-action/rrootage/rrootage-0.23a-r1.ebuild b/games-action/rrootage/rrootage-0.23a-r3.ebuild
index 7fbee7b1a767..53505f01f287 100644
--- a/games-action/rrootage/rrootage-0.23a-r1.ebuild
+++ b/games-action/rrootage/rrootage-0.23a-r3.ebuild
@@ -1,7 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit toolchain-funcs
MY_PN="rRootage"
MY_P="${MY_PN}-${PV}"
@@ -9,21 +11,19 @@ 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"
+S="${WORKDIR}"/${MY_PN}/src
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
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"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}/${MY_PN}/src
+RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}"-gcc41.patch
@@ -50,6 +50,8 @@ src_prepare() {
src_compile() {
emake \
+ CC=$(tc-getCC) \
+ CXX=$(tc-getCXX) \
MORE_CFLAGS="-DLINUX ${CFLAGS}" \
MORE_CXXFLAGS="-DLINUX ${CXXFLAGS}"
}