diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-03-02 19:46:56 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-03-02 19:46:56 +0000 |
commit | bbad8fe1e938e0be944aa35119301dc478acaa80 (patch) | |
tree | 109c4b8f1ee41d1a03a8c4808572388b5b0961dc /dev-games/cel | |
parent | fix path to varnishd (moved to sbin) (diff) | |
download | gentoo-2-bbad8fe1e938e0be944aa35119301dc478acaa80.tar.gz gentoo-2-bbad8fe1e938e0be944aa35119301dc478acaa80.tar.bz2 gentoo-2-bbad8fe1e938e0be944aa35119301dc478acaa80.zip |
Version bump to 1.0.1
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-games/cel')
-rw-r--r-- | dev-games/cel/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/cel/cel-1.0.1.ebuild | 50 | ||||
-rw-r--r-- | dev-games/cel/files/cel-1.0.1-amd64.patch | 25 | ||||
-rw-r--r-- | dev-games/cel/files/digest-cel-1.0.1 | 3 |
4 files changed, 85 insertions, 1 deletions
diff --git a/dev-games/cel/ChangeLog b/dev-games/cel/ChangeLog index 53aaef506642..dc17cadaa994 100644 --- a/dev-games/cel/ChangeLog +++ b/dev-games/cel/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-games/cel # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/cel/ChangeLog,v 1.17 2007/02/16 20:09:03 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/cel/ChangeLog,v 1.18 2007/03/02 19:46:56 tupone Exp $ + +*cel-1.0.1 (02 Mar 2007) + + 02 Mar 2007; <tupone@gentoo.org> +files/cel-1.0.1-amd64.patch, + +cel-1.0.1.ebuild: + Version bump to 1.0.1 16 Feb 2007; <tupone@gentoo.org> +files/cel-1.0-amd64.patch, cel-1.0.ebuild: diff --git a/dev-games/cel/cel-1.0.1.ebuild b/dev-games/cel/cel-1.0.1.ebuild new file mode 100644 index 000000000000..70ab65072c6f --- /dev/null +++ b/dev-games/cel/cel-1.0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/cel/cel-1.0.1.ebuild,v 1.1 2007/03/02 19:46:56 tupone Exp $ + +inherit eutils + +MY_P=${PN}-src-${PV} +DESCRIPTION="A game entity layer based on Crystal Space" +HOMEPAGE="http://cel.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="python" + +RDEPEND=">=dev-games/crystalspace-1.0 + dev-games/hawknl" +DEPEND="${RDEPEND} + dev-util/jam" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-amd64.patch +} + +src_compile() { + econf \ + --disable-separate-debug-info \ + --disable-cstest \ + $(use_with python) \ + || die + jam -q || die "jam failed" +} + +src_install() { + jam -q -s DESTDIR="${D}" install || die "jam install failed" + + # Fill cache directory for the examples + cp "${D}"/usr/share/${PN}/data/{basic_,}world + cslight -video=null "${D}"/usr/share/${PN}/data + cp "${D}"/usr/share/${PN}/data/{walktut_,}world + cslight -video=null "${D}"/usr/share/${PN}/data + rm "${D}"/usr/share/${PN}/data/world + + dodoc docs/history*.txt docs/todo.txt +} diff --git a/dev-games/cel/files/cel-1.0.1-amd64.patch b/dev-games/cel/files/cel-1.0.1-amd64.patch new file mode 100644 index 000000000000..b909a4183cbc --- /dev/null +++ b/dev-games/cel/files/cel-1.0.1-amd64.patch @@ -0,0 +1,25 @@ +--- plugins/network/tcp/tcpgameclient.cpp.old 2007-02-16 20:03:01.000000000 +0100 ++++ plugins/network/tcp/tcpgameclient.cpp 2007-02-16 20:04:06.000000000 +0100 +@@ -341,7 +341,9 @@ + packet->Read (temp_game_info.game_name); + packet->Read (temp_game_info.hostname); + packet->Read (temp_game_info.port_nb); +- packet->Read (temp_game_info.max_players); ++ uint32 max_players; ++ packet->Read (max_players); ++ temp_game_info.max_players = max_players; + packet->Read (temp_game_info.custom_data); + if (!game->IsServerAvailable ()) + game->game_info = temp_game_info; +--- plugins/network/tcp/tcpgameserver.cpp.old 2007-02-16 20:03:12.000000000 +0100 ++++ plugins/network/tcp/tcpgameserver.cpp 2007-02-16 20:08:18.000000000 +0100 +@@ -450,7 +450,8 @@ + answer_packet->Write (game->game_info.game_name); + answer_packet->Write (game->game_info.hostname); + answer_packet->Write (game->game_info.port_nb); +- answer_packet->Write (game->game_info.max_players); ++ uint32 max_players = game->game_info.max_players; ++ answer_packet->Write (max_players); + answer_packet->Write (game->game_info.custom_data); + + // send packet diff --git a/dev-games/cel/files/digest-cel-1.0.1 b/dev-games/cel/files/digest-cel-1.0.1 new file mode 100644 index 000000000000..f196a09035fa --- /dev/null +++ b/dev-games/cel/files/digest-cel-1.0.1 @@ -0,0 +1,3 @@ +MD5 a6893bc47810b1dbd081fcfdce57839d cel-src-1.0.1.tar.bz2 4676833 +RMD160 a29605249aa9c7a63b1dbbac1ee89ef0ee6009fc cel-src-1.0.1.tar.bz2 4676833 +SHA256 8b936b0cd008a049c7fc0ccc3835e38328f11a1c1c00ac9c7b402988c4178dce cel-src-1.0.1.tar.bz2 4676833 |