summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-01-25 05:21:57 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-01-25 05:21:57 +0000
commitba2a6499d6a04a06ec8f5bccdae48572f097adc7 (patch)
tree0accc46044411ab852dc5b20b332106426b3f36c /games-strategy/hedgewars
parentThe latest and greatest driver from ATI, thanks to Jory Pratt. (diff)
downloadgentoo-2-ba2a6499d6a04a06ec8f5bccdae48572f097adc7.tar.gz
gentoo-2-ba2a6499d6a04a06ec8f5bccdae48572f097adc7.tar.bz2
gentoo-2-ba2a6499d6a04a06ec8f5bccdae48572f097adc7.zip
Version bump
(Portage version: 2.1.4)
Diffstat (limited to 'games-strategy/hedgewars')
-rw-r--r--games-strategy/hedgewars/ChangeLog9
-rw-r--r--games-strategy/hedgewars/files/digest-hedgewars-0.9.23
-rw-r--r--games-strategy/hedgewars/hedgewars-0.9.2.ebuild42
3 files changed, 52 insertions, 2 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog
index cb9fc62abde9..1a5962d6f119 100644
--- a/games-strategy/hedgewars/ChangeLog
+++ b/games-strategy/hedgewars/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2007/09/18 21:59:21 nyhm Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.4 2008/01/25 05:21:57 nyhm Exp $
+
+*hedgewars-0.9.2 (25 Jan 2008)
+
+ 25 Jan 2008; Tristan Heaven <nyhm@gentoo.org> +hedgewars-0.9.2.ebuild:
+ Version bump
*hedgewars-0.9.0-r1 (18 Sep 2007)
diff --git a/games-strategy/hedgewars/files/digest-hedgewars-0.9.2 b/games-strategy/hedgewars/files/digest-hedgewars-0.9.2
new file mode 100644
index 000000000000..235afb58f5bd
--- /dev/null
+++ b/games-strategy/hedgewars/files/digest-hedgewars-0.9.2
@@ -0,0 +1,3 @@
+MD5 5df47ec046bca92e48c1100eec7a7745 hedgewars-src-0.9.2.tar.bz2 4909748
+RMD160 f34dd1b57c2058e4ffb4e512fff7b7ed57e51f40 hedgewars-src-0.9.2.tar.bz2 4909748
+SHA256 a9a13e36ebeded37e3ad1b7c757d73ac4de13d6bf739ca33784a674f0ae90b7a hedgewars-src-0.9.2.tar.bz2 4909748
diff --git a/games-strategy/hedgewars/hedgewars-0.9.2.ebuild b/games-strategy/hedgewars/hedgewars-0.9.2.ebuild
new file mode 100644
index 000000000000..c38defb0eaac
--- /dev/null
+++ b/games-strategy/hedgewars/hedgewars-0.9.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.2.ebuild,v 1.1 2008/01/25 05:21:57 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"
+
+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"
+
+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 ChangeLog.txt README
+ doman man/${PN}.6
+ prepgamesdirs
+}