diff options
Diffstat (limited to 'games-strategy/warzone2100')
4 files changed, 0 insertions, 158 deletions
diff --git a/games-strategy/warzone2100/Manifest b/games-strategy/warzone2100/Manifest index 305a5eb6506a..2342991d6584 100644 --- a/games-strategy/warzone2100/Manifest +++ b/games-strategy/warzone2100/Manifest @@ -1,13 +1,4 @@ -AUX warzone2100-2.0.3-16bpp.patch 2675 RMD160 4cb1d04b7d0efd84a0486a423b625944344e51ae SHA1 1874c986b7ba998cee9b90dc8022c7e9b4432c4d SHA256 5d3f08e601cf06a436a6d37b0474f7026f60a408c7d4775ef259133ae498301a -MD5 9cd6c6aad6b63c681796167287cbb4a2 files/warzone2100-2.0.3-16bpp.patch 2675 -RMD160 4cb1d04b7d0efd84a0486a423b625944344e51ae files/warzone2100-2.0.3-16bpp.patch 2675 -SHA256 5d3f08e601cf06a436a6d37b0474f7026f60a408c7d4775ef259133ae498301a files/warzone2100-2.0.3-16bpp.patch 2675 -DIST warzone-2.0.3.tar.bz2 19902273 RMD160 10fc56a2930346d41d517f4df6f3b0b9b001b183 SHA1 68bdfba90c0380178b1ce8ced0b49bd480ad1f35 SHA256 7668f6b794faad8d7ae66dbd0c7317df2521b33593f29174ab3fecb647326749 DIST warzone2100-2.0.4.tar.bz2 19883711 RMD160 fe13351a0ba4f8ea9bf83b8390976f8cce3cbcf4 SHA1 386f49b5c130f3ef8931ce0e0ecc6318b26a173e SHA256 06ce1d72ec1c3ffceed8f5aae77b96442469abe3096caebc5ce43b1178aee9b5 -EBUILD warzone2100-2.0.3.ebuild 1465 RMD160 4c06d99c4cfb3bf81814bff1a4f681323423f2bc SHA1 fe3116383c1e0a9efd2bb13d0335ce4b6d32b036 SHA256 4113b931c14032b48436d397d15904824ce4c2694d5f3ff9fee43f1737e52252 -MD5 7512e04f0e62604f0d0e2308c3e85883 warzone2100-2.0.3.ebuild 1465 -RMD160 4c06d99c4cfb3bf81814bff1a4f681323423f2bc warzone2100-2.0.3.ebuild 1465 -SHA256 4113b931c14032b48436d397d15904824ce4c2694d5f3ff9fee43f1737e52252 warzone2100-2.0.3.ebuild 1465 EBUILD warzone2100-2.0.4.ebuild 1387 RMD160 83b50b767e6fb1d919c022070b54f18788341590 SHA1 05600e527160d65765b0ef1891e47dfaf614296e SHA256 7aeddf4f54d4d3983192312d84e06c9fc08e1c252323d5989cf0caae79ceb8b5 MD5 36e306d061c72a4120513decd9bcffec warzone2100-2.0.4.ebuild 1387 RMD160 83b50b767e6fb1d919c022070b54f18788341590 warzone2100-2.0.4.ebuild 1387 @@ -20,9 +11,6 @@ MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be525 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 -MD5 b756f2f4d0b02feea142229b0c10a68f files/digest-warzone2100-2.0.3 250 -RMD160 47c7888d4ca1210730ccdfcafed47c8d144c3b18 files/digest-warzone2100-2.0.3 250 -SHA256 63078ece554515dfd5aca9a1ba558b91be9c804c498371691fbc352a93858ef8 files/digest-warzone2100-2.0.3 250 MD5 2a38dc8d3505fbe127d9a2ce691a5b58 files/digest-warzone2100-2.0.4 262 RMD160 807efc507dc557889cd392273aa8397a5804b7d9 files/digest-warzone2100-2.0.4 262 SHA256 4f37976bd5b1f4b51e85419d98e4467017a8a6736f99dc1eb2fad356888bb32e files/digest-warzone2100-2.0.4 262 diff --git a/games-strategy/warzone2100/files/digest-warzone2100-2.0.3 b/games-strategy/warzone2100/files/digest-warzone2100-2.0.3 deleted file mode 100644 index cabf660b4cc0..000000000000 --- a/games-strategy/warzone2100/files/digest-warzone2100-2.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2396e0def69e5e48902448d04944927a warzone-2.0.3.tar.bz2 19902273 -RMD160 10fc56a2930346d41d517f4df6f3b0b9b001b183 warzone-2.0.3.tar.bz2 19902273 -SHA256 7668f6b794faad8d7ae66dbd0c7317df2521b33593f29174ab3fecb647326749 warzone-2.0.3.tar.bz2 19902273 diff --git a/games-strategy/warzone2100/files/warzone2100-2.0.3-16bpp.patch b/games-strategy/warzone2100/files/warzone2100-2.0.3-16bpp.patch deleted file mode 100644 index 70877b31e208..000000000000 --- a/games-strategy/warzone2100/files/warzone2100-2.0.3-16bpp.patch +++ /dev/null @@ -1,77 +0,0 @@ ---- /trunk/lib/ivis_opengl/screen.c 2006/07/17 22:21:13 116 -+++ trunk/lib/ivis_opengl/screen.c 2006/07/19 21:26:09 117 -@@ -131,7 +131,7 @@ - /* Store the screen information */ - screenWidth = width; - screenHeight = height; -- screenDepth = 24; -+ screenDepth = 32; - - /* store vidmem flag */ - g_bVidMem = bVidMem; -@@ -168,14 +168,42 @@ - video_flags |= SDL_HWACCEL; - } - -- SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 8 ); -- SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 8 ); -- SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 8 ); -- SDL_GL_SetAttribute( SDL_GL_ALPHA_SIZE, 8 ); -- SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 ); -- SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE, 8 ); -+ bpp = SDL_VideoModeOK(width, height, screenDepth, video_flags); -+ if (!bpp) { -+ debug( LOG_ERROR, "Error: Video mode %dx%d@%dbpp is not supported!\n", width, height, screenDepth ); -+ return FALSE; -+ } -+ switch ( bpp ) -+ { -+ case 32: -+ case 24: -+ SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 8 ); -+ SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 8 ); -+ SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 8 ); -+ SDL_GL_SetAttribute( SDL_GL_ALPHA_SIZE, 8 ); -+ SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 ); -+ SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE, 8 ); -+ break; -+ case 16: -+ debug( LOG_ERROR, "Warning: Using colour depth of %i instead of %i.", bpp, screenDepth ); -+ debug( LOG_ERROR, " You will experience graphics glitches!" ); -+ SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 ); -+ SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 6 ); -+ SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 ); -+ SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 ); -+ SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE, 8 ); -+ break; -+ case 8: -+ debug( LOG_ERROR, "Error: You don't want to play Warzone with a bit depth of %i, do you?", bpp ); -+ exit( 1 ); -+ break; -+ default: -+ debug( LOG_ERROR, "Error: Weird bit depth: %i", bpp ); -+ exit( 1 ); -+ break; -+ } - -- // Set the double buffer OpenGL attribute. -+ // Set the double buffer OpenGL attribute. - SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); - } - -@@ -186,15 +214,6 @@ - screenMode = SCREEN_WINDOWED; - } - -- bpp = SDL_VideoModeOK(width, height, screenDepth, video_flags); -- if (!bpp) { -- printf("Error: Video mode %dx%d@%dbpp is not supported!\n", width, height, screenDepth); -- return FALSE; -- } -- if (bpp != screenDepth) { -- debug(LOG_3D, "Warning: Using colour depth of %d instead of %d.", -- bpp, screenDepth); -- } - screen = SDL_SetVideoMode(width, height, bpp, video_flags); - if (!screen) { - printf("Error: SDL_SetVideoMode failed (%s).\n", SDL_GetError()); diff --git a/games-strategy/warzone2100/warzone2100-2.0.3.ebuild b/games-strategy/warzone2100/warzone2100-2.0.3.ebuild deleted file mode 100644 index 6ba4a80803f7..000000000000 --- a/games-strategy/warzone2100/warzone2100-2.0.3.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.3.ebuild,v 1.4 2006/08/11 20:38:22 wolf31o2 Exp $ - -inherit debug eutils versionator games - -MY_PV="$(get_version_component_range -2 ${PV})" -DESCRIPTION="3D real-time strategy game" -HOMEPAGE="http://wz.rootzilla.de/" -SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/warzone-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -# upstream requested debug support -IUSE="debug mp3" - -RDEPEND="dev-games/physfs - mp3? ( >=media-libs/libmad-0.15 ) - media-libs/jpeg - media-libs/libogg - media-libs/libpng - media-libs/libsdl - media-libs/libvorbis - media-libs/openal - media-libs/sdl-net - virtual/glu - virtual/opengl" -DEPEND="${RDEPEND} - app-arch/zip" - -S=${WORKDIR}/warzone-${PV} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-16bpp.patch" -} - -src_compile() { - egamesconf \ - --disable-dependency-tracking \ - --with-ogg \ - $(use_with mp3) \ - $(use_enable debug) \ - || die "egamesconf failed" - - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - doicon debian/${PN}.png - domenu debian/warzone.desktop - - dodoc AUTHORS CHANGELOG README TODO - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - ewarn "Currently, attempting to use uppercase letters in save game names" - ewarn "will cause a crash." -} |