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
commit115d97ff49e4954db91ca39341f35716a24d3341 (patch)
tree6ce864bbfcc1f6ed8f2b42f85cf952ae61ee959f /games-roguelike
parentAdded append-flags to the no-as-needed bit (bug #289220) (diff)
downloadhistorical-115d97ff49e4954db91ca39341f35716a24d3341.tar.gz
historical-115d97ff49e4954db91ca39341f35716a24d3341.tar.bz2
historical-115d97ff49e4954db91ca39341f35716a24d3341.zip
version bump
Package-Manager: portage-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/Manifest6
-rw-r--r--games-roguelike/wrogue/wrogue-0.7.7b.ebuild11
-rw-r--r--games-roguelike/wrogue/wrogue-0.8.0b.ebuild45
4 files changed, 62 insertions, 10 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/Manifest b/games-roguelike/wrogue/Manifest
index 075a2472580b..227fc315cf4a 100644
--- a/games-roguelike/wrogue/Manifest
+++ b/games-roguelike/wrogue/Manifest
@@ -1,4 +1,6 @@
DIST wrogue-0.7.7b.tar.bz2 328556 RMD160 2b35cc382db95be4cccd02b1607917a4d65f9a37 SHA1 f43007ce3f034aae429a84cfc9e7be9be17bb0cc SHA256 07153d3c7c75278d5642685aabff66e8a72e07c5a4462e68827fc630828dac08
-EBUILD wrogue-0.7.7b.ebuild 1146 RMD160 ad6b268e130943c23cc68f137d7953179ddbc3da SHA1 2d33e113a37fe18a7298caa9a6fd365332dc954f SHA256 235adb3ea68a4b2eafe5237ee47e49aafe0f68be06190ad49bb375cba18f11a4
-MISC ChangeLog 478 RMD160 4684bfa3025910586f3580d86aa7e7743d957157 SHA1 2fe99367e4f2cf4aa8e414f81f00dd734771dd86 SHA256 bd55ce491b72beef17f8678c453cdc417b611ded4515d05d1a98c60126ab7b49
+DIST wrogue-0.8.0b.zip 433553 RMD160 a52d94d1ec2375fcbf404eac3ceb75c271d1f31e SHA1 3dea3de3932926c70d9722753c7934b8668eeeff SHA256 adc79ec9a97b6b60a8b16b6fd548cf349606702e3df74f819537b01d6640483a
+EBUILD wrogue-0.7.7b.ebuild 1136 RMD160 6fa5462f13cd61d0f666ac8cdc8e7439e76a7b64 SHA1 91977b90f2db7422661204238f823dd8aae59e8e SHA256 72a205d87971a029c2814c775642922a3b339d770ab57df8940d197fcb9347c0
+EBUILD wrogue-0.8.0b.ebuild 1201 RMD160 f62589e0a0113dfc420b5ad114a7a031983a181d SHA1 d792dad1e5e2399584a09944d40d5cedb2e44658 SHA256 8799d86b4fb2320e7df6a9cb0adb1850ab344885d60a047873eeb50e32d404a3
+MISC ChangeLog 631 RMD160 73f5055c2fba07ce9199a0738fca8730b1fd29cf SHA1 7f27ccd77d07aa68829d7549985cfb5f59cbf625 SHA256 654d567e621a8e967194a19ea6b25c562eb415cba75829128ad6ab630c827f8f
MISC metadata.xml 339 RMD160 b730fbc271a6a9ea51b001b0c15bfed1650745b1 SHA1 f16b979d99f0ffb47f3d2a2effc6a8f601b63c79 SHA256 a3f3dd4aaca302071afbd02f1a7905a883e2bb7aed4d1c96b0a23f31410f9810
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
+}