diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-06-06 15:49:48 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-06-06 15:49:48 +0000 |
commit | 92865d834fb170b8829d66c9e095edf5fe24d7f6 (patch) | |
tree | a22cb10730c10408a1fb8dc46d0d89debe4cf3a4 /games-arcade/blobwars | |
parent | Stable on sparc wrt #181017 (diff) | |
download | gentoo-2-92865d834fb170b8829d66c9e095edf5fe24d7f6.tar.gz gentoo-2-92865d834fb170b8829d66c9e095edf5fe24d7f6.tar.bz2 gentoo-2-92865d834fb170b8829d66c9e095edf5fe24d7f6.zip |
old
(Portage version: 2.1.2.7)
Diffstat (limited to 'games-arcade/blobwars')
-rw-r--r-- | games-arcade/blobwars/blobwars-1.04.ebuild | 56 | ||||
-rw-r--r-- | games-arcade/blobwars/blobwars-1.06.ebuild | 61 | ||||
-rw-r--r-- | games-arcade/blobwars/files/1.04-be_pak.diff | 32 | ||||
-rw-r--r-- | games-arcade/blobwars/files/blobwars-1.04-gcc41.patch | 19 | ||||
-rw-r--r-- | games-arcade/blobwars/files/digest-blobwars-1.04 | 3 | ||||
-rw-r--r-- | games-arcade/blobwars/files/digest-blobwars-1.06 | 3 |
6 files changed, 0 insertions, 174 deletions
diff --git a/games-arcade/blobwars/blobwars-1.04.ebuild b/games-arcade/blobwars/blobwars-1.04.ebuild deleted file mode 100644 index d92fed678777..000000000000 --- a/games-arcade/blobwars/blobwars-1.04.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/blobwars/blobwars-1.04.ebuild,v 1.9 2007/02/14 03:08:46 nyhm Exp $ - -inherit eutils games - -DESCRIPTION="Platform game about a blob and his quest to rescue MIAs from an alien invader" -HOMEPAGE="http://www.parallelrealities.co.uk/blobWars.php" -# download page has a lame PHP thing. -SRC_URI="mirror://gentoo/${P}-1.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ppc ~sparc x86" -IUSE="" - -DEPEND="media-libs/libsdl - media-libs/sdl-mixer - media-libs/sdl-ttf - media-libs/sdl-image" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch \ - "${FILESDIR}"/${PV}-be_pak.diff \ - "${FILESDIR}"/${P}-gcc41.patch - # bug #137588 - sed -i \ - -e '/strip/d' makefile \ - || die "sed failed" -} - -src_compile() { - emake \ - DATADIR="${GAMES_DATADIR}/parallelrealities/" \ - DOCDIR="/usr/share/doc/${PF}/" \ - || die "emake failed" -} - -src_install() { - emake \ - BINDIR="${D}/${GAMES_BINDIR}/" \ - DATADIR="${D}/${GAMES_DATADIR}/parallelrealities/" \ - DOCDIR="${D}/usr/share/doc/${PF}/" \ - ICONDIR="${D}/usr/share/icons/" \ - KDE="${D}/usr/share/applications/" \ - GNOME="${D}/usr/share/applications/" \ - install || die "emake install failed" - # now make the docs Gentoo friendly. - dohtml "${D}/usr/share/doc/${PF}/"* - dodoc "${D}/usr/share/doc/${PF}/"{CHANGES,HACKING,PORTING,README} - rm -f "${D}/usr/share/doc/${PF}/"*.{png,gif,html} \ - "${D}/usr/share/doc/${PF}/"{CHANGES,HACKING,LICENSE,PORTING,README} - prepgamesdirs -} diff --git a/games-arcade/blobwars/blobwars-1.06.ebuild b/games-arcade/blobwars/blobwars-1.06.ebuild deleted file mode 100644 index 7ec4b3f0667e..000000000000 --- a/games-arcade/blobwars/blobwars-1.06.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/blobwars/blobwars-1.06.ebuild,v 1.2 2007/04/14 16:35:21 mr_bones_ Exp $ - -inherit games - -DESCRIPTION="Platform game about a blob and his quest to rescue MIAs from an alien invader" -HOMEPAGE="http://www.parallelrealities.co.uk/blobWars.php" -# download page has a lame PHP thing. -SRC_URI="mirror://gentoo/${P}-2.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ppc ~sparc x86" -IUSE="" - -RDEPEND="media-libs/libsdl - media-libs/sdl-mixer - media-libs/sdl-ttf - media-libs/sdl-image - virtual/libintl" -DEPEND="${RDEPEND} - sys-devel/gettext" - -src_unpack() { - unpack ${A} - cd "${S}" - # don't build the pak file in the install stage. - sed -i \ - -e "70d" \ - -e "/GAMEPLAYMANUAL/s:index:html/index:" \ - makefile \ - || die "sed failed" -} - -src_compile() { - emake \ - DATADIR="${GAMES_DATADIR}/${PN}/" \ - DOCDIR="/usr/share/doc/${PF}/" \ - LOCALEDIR="/usr/share/locale/" \ - || die "emake failed" - emake buildpak || die "emake failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - BINDIR="${D}/${GAMES_BINDIR}/" \ - DATADIR="${D}/${GAMES_DATADIR}/${PN}/" \ - DOCDIR="${D}/usr/share/doc/${PF}/" \ - ICONDIR="${D}/usr/share/icons/hicolor/" \ - DESKTOPDIR="${D}/usr/share/applications/" \ - LOCALEDIR="${D}/usr/share/locale/" \ - install || die "emake install failed" - # now make the docs Gentoo friendly. - dohtml "${D}/usr/share/doc/${PF}/"* - dodoc "${D}/usr/share/doc/${PF}/"{CHANGES,HACKING,PORTING,README} - rm -f "${D}/usr/share/doc/${PF}/"*.{png,gif,html} \ - "${D}/usr/share/doc/${PF}/"{CHANGES,HACKING,LICENSE,PORTING,README} - prepgamesdirs -} diff --git a/games-arcade/blobwars/files/1.04-be_pak.diff b/games-arcade/blobwars/files/1.04-be_pak.diff deleted file mode 100644 index def4ebe66b00..000000000000 --- a/games-arcade/blobwars/files/1.04-be_pak.diff +++ /dev/null @@ -1,32 +0,0 @@ ---- src/pak.cpp.bak 2005-05-11 14:54:04.000000000 -0400 -+++ src/pak.cpp 2005-05-11 14:55:16.000000000 -0400 -@@ -200,12 +200,18 @@ - - unsigned int numberOfFiles = totalFiles; - -+ /* Make sure we've got it in LE format */ -+#if SDL_BYTEORDER == SDL_BIG_ENDIAN -+ pos = SDL_Swap32(pos); -+ numberOfFiles = SDL_Swap32(numberOfFiles); -+#endif -+ - fwrite(&pos, sizeof(unsigned int), 1, pak); - fwrite(&numberOfFiles, sizeof(unsigned int), 1, pak); - - fclose(pak); - -- printf("\nPak: All Done. Added %d files\n", numberOfFiles); -+ printf("\nPak: All Done. Added %d files\n", totalFiles); - - return 0; - } ---- src/pak.h.bak 2005-05-11 14:53:59.000000000 -0400 -+++ src/pak.h 2005-05-11 14:54:18.000000000 -0400 -@@ -20,6 +20,7 @@ - - #include "zlib.h" - #include "SDL/SDL_endian.h" -+#include "SDL/SDL_byteorder.h" - #include "CFileData.h" - - #include <dirent.h> diff --git a/games-arcade/blobwars/files/blobwars-1.04-gcc41.patch b/games-arcade/blobwars/files/blobwars-1.04-gcc41.patch deleted file mode 100644 index ea3752834f35..000000000000 --- a/games-arcade/blobwars/files/blobwars-1.04-gcc41.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- src/CFileData.h.old 2006-04-23 12:51:10.000000000 +0200 -+++ src/CFileData.h 2006-04-23 12:52:18.000000000 +0200 -@@ -30,5 +30,5 @@ - FileData(); - - void swapEndians(); -- void FileData::set(char *filename, Uint32 fSize, Uint32 cSize, Uint32 location); -+ void set(char *filename, Uint32 fSize, Uint32 cSize, Uint32 location); - }; ---- src/CKeyboard.h.old 2006-04-23 12:51:20.000000000 +0200 -+++ src/CKeyboard.h 2006-04-23 12:52:37.000000000 +0200 -@@ -8,6 +8,6 @@ - - Keyboard(); - void setDefaultKeys(); -- static char *Keyboard::translateKey(int value); -+ static char *translateKey(int value); - - }; diff --git a/games-arcade/blobwars/files/digest-blobwars-1.04 b/games-arcade/blobwars/files/digest-blobwars-1.04 deleted file mode 100644 index adb69fb95312..000000000000 --- a/games-arcade/blobwars/files/digest-blobwars-1.04 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 fccb31ed097b8db95b58ed9512d98b63 blobwars-1.04-1.tar.gz 7682669 -RMD160 d211649d6946cdf2db3170947f5ef9816ffcb653 blobwars-1.04-1.tar.gz 7682669 -SHA256 84f62f364e5dc5dad138ee73a200827da987a840a092ead0a0e6d9cde551050f blobwars-1.04-1.tar.gz 7682669 diff --git a/games-arcade/blobwars/files/digest-blobwars-1.06 b/games-arcade/blobwars/files/digest-blobwars-1.06 deleted file mode 100644 index f6205e3d4cb8..000000000000 --- a/games-arcade/blobwars/files/digest-blobwars-1.06 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f50002a3a2d5daae090c882d2ccf41d1 blobwars-1.06-2.tar.gz 7744037 -RMD160 89f85a7a607e10f41da89c09c859ad4e820989eb blobwars-1.06-2.tar.gz 7744037 -SHA256 6fd479b98c37b5d63cc0bfadc4c9c5455833fd152ee74fbc461b8eb55f134654 blobwars-1.06-2.tar.gz 7744037 |