summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-10-16 04:18:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-10-16 04:18:49 +0000
commit0f5f286dd90f929789c1497eac190b248b16db98 (patch)
treea029ad9ce0220d4841b4746c1e250e173a2d6b0f /games-roguelike
parentAdded append-flags to the no-as-needed bit (bug #289220) (diff)
downloadgentoo-2-0f5f286dd90f929789c1497eac190b248b16db98.tar.gz
gentoo-2-0f5f286dd90f929789c1497eac190b248b16db98.tar.bz2
gentoo-2-0f5f286dd90f929789c1497eac190b248b16db98.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/wrogue/ChangeLog10
-rw-r--r--games-roguelike/wrogue/wrogue-0.7.7b.ebuild11
-rw-r--r--games-roguelike/wrogue/wrogue-0.8.0b.ebuild45
3 files changed, 58 insertions, 8 deletions
diff --git a/games-roguelike/wrogue/ChangeLog b/games-roguelike/wrogue/ChangeLog
index b954ec755554..35598661ba50 100644
--- a/games-roguelike/wrogue/ChangeLog
+++ b/games-roguelike/wrogue/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-roguelike/wrogue
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/wrogue/ChangeLog,v 1.2 2007/07/02 13:54:02 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/wrogue/ChangeLog,v 1.3 2009/10/16 04:18:49 mr_bones_ Exp $
+
+*wrogue-0.8.0b (16 Oct 2009)
+
+ 16 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org> wrogue-0.7.7b.ebuild,
+ +wrogue-0.8.0b.ebuild:
+ version bump
02 Jul 2007; Tristan Heaven <nyhm@gentoo.org> wrogue-0.7.7b.ebuild:
add ~x86
diff --git a/games-roguelike/wrogue/wrogue-0.7.7b.ebuild b/games-roguelike/wrogue/wrogue-0.7.7b.ebuild
index a8c625ef1db1..fdb1731e569e 100644
--- a/games-roguelike/wrogue/wrogue-0.7.7b.ebuild
+++ b/games-roguelike/wrogue/wrogue-0.7.7b.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/wrogue/wrogue-0.7.7b.ebuild,v 1.2 2007/07/02 13:54:02 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/wrogue/wrogue-0.7.7b.ebuild,v 1.3 2009/10/16 04:18:49 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="Gothic science fantasy roguelike game"
@@ -15,16 +16,14 @@ IUSE=""
DEPEND="media-libs/libsdl"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i -e "s:./data/:${GAMES_DATADIR}/${PN}/:" \
src/platform/unix/pl_unix.c || die "sed failed"
}
src_compile() {
local myCPPFLAGS="-std=c99 -I. -I./lib -I./ui -I./generate"
- local myCFLAGS="`sdl-config --cflags` ${CFLAGS}"
+ local myCFLAGS="$(sdl-config --cflags) ${CFLAGS}"
emake -C src -f unix.mak MAKECMDGOALS=release STRIP_BINARY=NO \
CFLAGS="${myCPPFLAGS} ${myCFLAGS}" || die "emake failed"
}
diff --git a/games-roguelike/wrogue/wrogue-0.8.0b.ebuild b/games-roguelike/wrogue/wrogue-0.8.0b.ebuild
new file mode 100644
index 000000000000..9a53ac40dfa1
--- /dev/null
+++ b/games-roguelike/wrogue/wrogue-0.8.0b.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/wrogue/wrogue-0.8.0b.ebuild,v 1.1 2009/10/16 04:18:49 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="Gothic science fantasy roguelike game"
+HOMEPAGE="http://todoom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/todoom/${P}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl[video]"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_prepare() {
+ sed -i \
+ -e "/AppData\[0\]/ s:AppData.*:strcpy(AppData, \"${GAMES_DATADIR}/${PN}/\");:" \
+ src/lib/appdir.c \
+ || die "sed failed"
+}
+
+src_compile() {
+ local myCPPFLAGS="-std=c99 -Iinclude -Ilib -Iui -Igenerate"
+ local myCFLAGS="$(sdl-config --cflags) ${CFLAGS}"
+ emake -C src -f linux.mak STRIP_BINARY=NO \
+ CFLAGS="${myCPPFLAGS} ${myCFLAGS}" release || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data || die "doins failed"
+ dodoc changes.txt
+
+ newicon data/ui/icon.bmp ${PN}.bmp
+ make_desktop_entry ${PN} "Warp Rogue" /usr/share/pixmaps/${PN}.bmp
+
+ prepgamesdirs
+}