Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/hedgewars: ChangeLog hedgewars-0.9.0-r1.ebuild
Date: Tue, 18 Sep 2007 22:07:07
Message-Id: E1IXl6I-0006W8-9E@stork.gentoo.org
nyhm        07/09/18 21:59:22

  Modified:             ChangeLog
  Added:                hedgewars-0.9.0-r1.ebuild
  Log:
  Network game patch from Igor Ulyanov, bug #189114
  (Portage version: 2.1.3.9)

Revision  Changes    Path
1.3                  games-strategy/hedgewars/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/hedgewars/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/hedgewars/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/hedgewars/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	1 Aug 2007 16:57:42 -0000	1.2
+++ ChangeLog	18 Sep 2007 21:59:21 -0000	1.3
@@ -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@g.o>
+  +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@g.o> hedgewars-0.9.0.ebuild:
   Added ~amd64 for bug #187314



1.1                  games-strategy/hedgewars/hedgewars-0.9.0-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.0-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: hedgewars-0.9.0-r1.ebuild
===================================================================
# 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
}



-- 
gentoo-commits@g.o mailing list