diff options
-rw-r--r-- | games-strategy/hedgewars/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/hedgewars/files/digest-hedgewars-0.9.0-r1 | 6 | ||||
-rw-r--r-- | games-strategy/hedgewars/files/hedgewars-0.9.0-net.patch | 12 | ||||
-rw-r--r-- | games-strategy/hedgewars/hedgewars-0.9.0-r1.ebuild | 51 |
4 files changed, 76 insertions, 1 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog index b71471fbc9fb..cb9fc62abde9 100644 --- a/games-strategy/hedgewars/ChangeLog +++ b/games-strategy/hedgewars/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/hedgewars # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.2 2007/08/01 16:57:42 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.3 2007/09/18 21:59:21 nyhm Exp $ + +*hedgewars-0.9.0-r1 (18 Sep 2007) + + 18 Sep 2007; Tristan Heaven <nyhm@gentoo.org> + +files/hedgewars-0.9.0-net.patch, +hedgewars-0.9.0-r1.ebuild: + Network game patch from Igor Ulyanov, bug #189114 01 Aug 2007; Christoph Mende <angelos@gentoo.org> hedgewars-0.9.0.ebuild: Added ~amd64 for bug #187314 diff --git a/games-strategy/hedgewars/files/digest-hedgewars-0.9.0-r1 b/games-strategy/hedgewars/files/digest-hedgewars-0.9.0-r1 new file mode 100644 index 000000000000..bc6848b94b61 --- /dev/null +++ b/games-strategy/hedgewars/files/digest-hedgewars-0.9.0-r1 @@ -0,0 +1,6 @@ +MD5 8c77b6fabf3c053ab8e2458f14673fcb hedgewars-0.9.0-r2.patch.bz2 4122 +RMD160 4832dd842d1c9a91b56fae02166af1278d70d1bf hedgewars-0.9.0-r2.patch.bz2 4122 +SHA256 0074e34f627bca3d00939eb73b3f6a59daf890f749f92cda1622d2beaf60bb64 hedgewars-0.9.0-r2.patch.bz2 4122 +MD5 5e1bd87ac9c7db761ff3427acdae6f89 hedgewars-src-0.9.0.tar.bz2 4549192 +RMD160 2e405c99aaabdb8a4fae153967d60d16c08f3bd8 hedgewars-src-0.9.0.tar.bz2 4549192 +SHA256 6b05a76e1be016de10967ced5d3a4104840b3162055bccee7e0f28a1966989d5 hedgewars-src-0.9.0.tar.bz2 4549192 diff --git a/games-strategy/hedgewars/files/hedgewars-0.9.0-net.patch b/games-strategy/hedgewars/files/hedgewars-0.9.0-net.patch new file mode 100644 index 000000000000..5743450b4adf --- /dev/null +++ b/games-strategy/hedgewars/files/hedgewars-0.9.0-net.patch @@ -0,0 +1,12 @@ +Index: QTfrontend/netconnectedclient.cpp +=================================================================== +--- QTfrontend/netconnectedclient.cpp (revision 514) ++++ QTfrontend/netconnectedclient.cpp (revision 590) +@@ -110,6 +110,7 @@ + m_hwserver->hhnum+=newTeamHHNum-oldTeamHHNum; + // create CONFIG_PARAM to save HHNUM at server from lst + lst=QStringList("CONFIG_PARAM") << confstr << lst[3]; ++ m_hwserver->sendOthers(this, lst.join(QString(delimeter))); + } + + if(lst[0]=="CONFIG_PARAM") { diff --git a/games-strategy/hedgewars/hedgewars-0.9.0-r1.ebuild b/games-strategy/hedgewars/hedgewars-0.9.0-r1.ebuild new file mode 100644 index 000000000000..cf4725209a04 --- /dev/null +++ b/games-strategy/hedgewars/hedgewars-0.9.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.0-r1.ebuild,v 1.1 2007/09/18 21:59:21 nyhm Exp $ + +inherit eutils qt4 games + +DESCRIPTION="Free Worms-like turn based strategy game" +HOMEPAGE="http://hedgewars.org/" +SRC_URI="http://hedgewars.org/download/${PN}-src-${PV}.tar.bz2 + http://hedgewars.org/download/${P}-r2.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="$(qt4_min_version 4.2) + media-libs/libsdl + media-libs/sdl-ttf + media-libs/sdl-mixer + media-libs/sdl-image + media-libs/sdl-net" +DEPEND="${RDEPEND} + >=dev-util/cmake-2.4.4 + >=dev-lang/fpc-1.9.4" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch \ + "${WORKDIR}"/${P}-r2.patch \ + "${FILESDIR}"/${P}-debug-file.patch \ + "${FILESDIR}"/${P}-net.patch +} + +src_compile() { + cmake \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ + -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" \ + -DDATA_INSTALL_DIR="${GAMES_DATADIR}" \ + . || die "cmake failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + newicon QTfrontend/res/hh25x25.png ${PN}.png + make_desktop_entry ${PN} Hedgewars + dodoc README + prepgamesdirs +} |