diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-29 09:41:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-29 09:41:22 +0000 |
commit | 9cb37eb8b0ee440bcc2dac10e45d4d3cab57940a (patch) | |
tree | f645e05747559678ff6fdbed7b1946dcbf7fd074 /games-action/clanbomber | |
parent | hppa luvin (diff) | |
download | gentoo-2-9cb37eb8b0ee440bcc2dac10e45d4d3cab57940a.tar.gz gentoo-2-9cb37eb8b0ee440bcc2dac10e45d4d3cab57940a.tar.bz2 gentoo-2-9cb37eb8b0ee440bcc2dac10e45d4d3cab57940a.zip |
fix #38831
Diffstat (limited to 'games-action/clanbomber')
-rw-r--r-- | games-action/clanbomber/ChangeLog | 5 | ||||
-rw-r--r-- | games-action/clanbomber/clanbomber-1.04.ebuild | 8 | ||||
-rw-r--r-- | games-action/clanbomber/files/1.04-no-display.patch | 38 | ||||
-rw-r--r-- | games-action/clanbomber/metadata.xml | 12 |
4 files changed, 58 insertions, 5 deletions
diff --git a/games-action/clanbomber/ChangeLog b/games-action/clanbomber/ChangeLog index e9e0d48b3258..e83ea930d86a 100644 --- a/games-action/clanbomber/ChangeLog +++ b/games-action/clanbomber/ChangeLog @@ -1,8 +1,11 @@ # 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.1 2004/01/09 15:20:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/ChangeLog,v 1.2 2004/01/29 09:41:21 vapier Exp $ *clanbomber-1.04 (09 Jan 2004) + 29 Jan 2004; Mike Frysinger <vapier@gentoo.org> : + Add patch to disable initializing video/sound when compiling #38831. + 09 Jan 2004; Mike Frysinger <vapier@gentoo.org> : Initial import. Ebuild submitted by me for #20592. diff --git a/games-action/clanbomber/clanbomber-1.04.ebuild b/games-action/clanbomber/clanbomber-1.04.ebuild index 9039110ab8fb..dd29415da69b 100644 --- a/games-action/clanbomber/clanbomber-1.04.ebuild +++ b/games-action/clanbomber/clanbomber-1.04.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# 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.04.ebuild,v 1.2 2004/01/10 21:28:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/clanbomber-1.04.ebuild,v 1.3 2004/01/29 09:41:21 vapier Exp $ -inherit games flag-o-matic +inherit games flag-o-matic eutils DESCRIPTION="free (GPL) Bomberman-like multiplayer game" HOMEPAGE="http://clanbomber.sourceforge.net/" @@ -26,11 +26,11 @@ src_unpack() { sed -i \ 's:\(@datadir@/clanbomber/\):$(DESTDIR)\1:' \ clanbomber/{,*/}Makefile.in + epatch ${FILESDIR}/${PV}-no-display.patch } src_compile() { egamesconf || die - addpredict /dev/dsp emake -j1 || die } diff --git a/games-action/clanbomber/files/1.04-no-display.patch b/games-action/clanbomber/files/1.04-no-display.patch new file mode 100644 index 000000000000..4ec3e6f4284d --- /dev/null +++ b/games-action/clanbomber/files/1.04-no-display.patch @@ -0,0 +1,38 @@ +--- 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-01-29 04:31:32.321988216 -0500 ++++ clanbomber/ClanBomber.cpp 2004-01-29 04:33:03.503126576 -0500 +@@ -82,12 +82,13 @@ + + try + { +- init_modules(); + + if (argc > 1 && strcmp (argv[1], "-datafile") == 0) { ++ init_modules(true); + CL_DatafileCompiler::write("clanbomber.scr", "clanbomber.dat"); + quit_app(0); + } ++ init_modules(); + + srand( (long)time(NULL) ); + diff --git a/games-action/clanbomber/metadata.xml b/games-action/clanbomber/metadata.xml new file mode 100644 index 000000000000..77a5395f55fb --- /dev/null +++ b/games-action/clanbomber/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription> +ClanBomber is a free (GPL) Bomberman-like multiplayer game that uses ClanLib, a free multi +platform C++ game SDK. First "ClanBomber" was only a working title for a small game started in +September 1998, that has only been started to learn how to use ClanLib. But the ClanBomber +project has grown into a real game. It is fully playable and features Computer controlled +bombers, however, it is recommended to play ClanBomber with friends (3-8 players are really fun). +</longdescription> +</pkgmetadata> |