diff options
Diffstat (limited to 'games-action/clanbomber')
-rw-r--r-- | games-action/clanbomber/ChangeLog | 10 | ||||
-rw-r--r-- | games-action/clanbomber/Manifest | 9 | ||||
-rw-r--r-- | games-action/clanbomber/clanbomber-1.05.ebuild | 45 | ||||
-rw-r--r-- | games-action/clanbomber/files/1.05-no-display.patch | 47 | ||||
-rw-r--r-- | games-action/clanbomber/files/digest-clanbomber-1.05 | 1 |
5 files changed, 107 insertions, 5 deletions
diff --git a/games-action/clanbomber/ChangeLog b/games-action/clanbomber/ChangeLog index e83ea930d86a..dae450779cf1 100644 --- a/games-action/clanbomber/ChangeLog +++ b/games-action/clanbomber/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-action/clanbomber -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/ChangeLog,v 1.2 2004/01/29 09:41:21 vapier Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/ChangeLog,v 1.3 2004/02/17 02:54:55 mr_bones_ Exp $ + +*clanbomber-1.05 (16 Feb 2004) + + 16 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> clanbomber-1.05.ebuild, + files/1.05-no-display.patch: + version bump *clanbomber-1.04 (09 Jan 2004) diff --git a/games-action/clanbomber/Manifest b/games-action/clanbomber/Manifest index 390abeba525c..83e1211c00dc 100644 --- a/games-action/clanbomber/Manifest +++ b/games-action/clanbomber/Manifest @@ -1,5 +1,8 @@ -MD5 e2b7d8463098a618a534512c27e44ae0 files/digest-clanbomber-1.04 68 -MD5 ee76e48cb66f47c894a990e83dea2802 files/1.04-no-display.patch 1122 -MD5 ce353b3c9d04f6d74b8ff4ce6bf301cb clanbomber-1.04.ebuild 911 MD5 f6677837ab79cb3ae21823ab73c0f465 ChangeLog 490 +MD5 ce353b3c9d04f6d74b8ff4ce6bf301cb clanbomber-1.04.ebuild 911 MD5 042c680a45dc47c6b52b7f6643ef0ae2 metadata.xml 664 +MD5 ce353b3c9d04f6d74b8ff4ce6bf301cb clanbomber-1.05.ebuild 911 +MD5 e2b7d8463098a618a534512c27e44ae0 files/digest-clanbomber-1.04 68 +MD5 ee76e48cb66f47c894a990e83dea2802 files/1.04-no-display.patch 1122 +MD5 fe0f8b2ccaef47cc0612a83d6cb0cea8 files/digest-clanbomber-1.05 68 +MD5 ee76e48cb66f47c894a990e83dea2802 files/1.05-no-display.patch 1122 diff --git a/games-action/clanbomber/clanbomber-1.05.ebuild b/games-action/clanbomber/clanbomber-1.05.ebuild new file mode 100644 index 000000000000..5b09fa456d9b --- /dev/null +++ b/games-action/clanbomber/clanbomber-1.05.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/clanbomber-1.05.ebuild,v 1.1 2004/02/17 02:54:55 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="Bomberman-like multiplayer game" +HOMEPAGE="http://clanbomber.sourceforge.net/" +SRC_URI="mirror://sourceforge/clanbomber/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND="sys-libs/zlib + media-libs/hermes + =dev-games/clanlib-0.6.5*" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +pkg_setup() { + clanlib-config 0.6.5 +} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e 's:\(@datadir@/clanbomber/\):$(DESTDIR)\1:' \ + clanbomber/{,*/}Makefile.in \ + || die "sed failed" + epatch "${FILESDIR}/${PV}-no-display.patch" +} + +src_compile() { + egamesconf || die + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc AUTHORS ChangeLog IDEAS QUOTES README TODO || die "dodoc failed" + prepgamesdirs +} diff --git a/games-action/clanbomber/files/1.05-no-display.patch b/games-action/clanbomber/files/1.05-no-display.patch new file mode 100644 index 000000000000..7b96a8218415 --- /dev/null +++ b/games-action/clanbomber/files/1.05-no-display.patch @@ -0,0 +1,47 @@ +--- clanbomber/ClanBomber.h.orig 2004-01-29 04:31:28.968498024 -0500 ++++ clanbomber/ClanBomber.h 2004-01-29 04:32:38.798882192 -0500 +@@ -154,13 +154,13 @@ + static CL_String get_local_map_path(); + + +- virtual void init_modules() ++ virtual void init_modules(bool register_resources_only = false) + { +- CL_SetupCore::init(); +- CL_SetupDisplay::init(); +- CL_SetupSound::init(); ++ CL_SetupCore::init(register_resources_only); ++ CL_SetupDisplay::init(register_resources_only); ++ CL_SetupSound::init(register_resources_only); + #ifdef MUSIC +- CL_SetupMikMod::init(); ++ CL_SetupMikMod::init(register_resources_only); + #endif + } + +--- clanbomber/ClanBomber.cpp.orig 2004-02-16 18:43:26.000000000 -0800 ++++ clanbomber/ClanBomber.cpp 2004-02-16 18:44:01.000000000 -0800 +@@ -82,7 +82,6 @@ + + try + { +- init_modules(); + + bool fullscreen = false; + #ifdef WIN32 +@@ -91,6 +90,7 @@ + + if (argc > 1) { + if (strcmp (argv[1], "-datafile") == 0) { ++ init_modules(true); + CL_DatafileCompiler::write("clanbomber.scr", "clanbomber.dat"); + quit_app(0); + } +@@ -110,6 +110,7 @@ + quit_app(0); + } + } ++ init_modules(); + + srand( (long)time(NULL) ); + diff --git a/games-action/clanbomber/files/digest-clanbomber-1.05 b/games-action/clanbomber/files/digest-clanbomber-1.05 new file mode 100644 index 000000000000..306d55596492 --- /dev/null +++ b/games-action/clanbomber/files/digest-clanbomber-1.05 @@ -0,0 +1 @@ +MD5 7dc7433358f06d81dd4654d32b98a5e0 clanbomber-1.05.tar.gz 2066198 |