summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-04-29 19:20:48 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-04-29 19:20:48 +0000
commit41c7d109ec0f8e91b432d45c5129a1aeed818136 (patch)
tree7dae0d6a0fe5f42529933bf11bda427cea6cb12e /games-strategy
parentConvert to latex-base, fix deps with texlive, bug #213707 (diff)
downloadgentoo-2-41c7d109ec0f8e91b432d45c5129a1aeed818136.tar.gz
gentoo-2-41c7d109ec0f8e91b432d45c5129a1aeed818136.tar.bz2
gentoo-2-41c7d109ec0f8e91b432d45c5129a1aeed818136.zip
Version bump
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/hedgewars/ChangeLog7
-rw-r--r--games-strategy/hedgewars/hedgewars-0.9.3.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog
index 1a5962d6f119..148f77874374 100644
--- a/games-strategy/hedgewars/ChangeLog
+++ b/games-strategy/hedgewars/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/hedgewars
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.5 2008/04/29 19:20:48 nyhm Exp $
+
+*hedgewars-0.9.3 (29 Apr 2008)
+
+ 29 Apr 2008; Tristan Heaven <nyhm@gentoo.org> +hedgewars-0.9.3.ebuild:
+ Version bump
*hedgewars-0.9.2 (25 Jan 2008)
diff --git a/games-strategy/hedgewars/hedgewars-0.9.3.ebuild b/games-strategy/hedgewars/hedgewars-0.9.3.ebuild
new file mode 100644
index 000000000000..c13a1117abe4
--- /dev/null
+++ b/games-strategy/hedgewars/hedgewars-0.9.3.ebuild
@@ -0,0 +1,45 @@
+# 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.3.ebuild,v 1.1 2008/04/29 19:20:48 nyhm Exp $
+
+inherit eutils qt4 games
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="Free Worms-like turn based strategy game"
+HOMEPAGE="http://hedgewars.org/"
+SRC_URI="http://hedgewars.org/download/${MY_P}.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"
+
+S=${WORKDIR}/${MY_P}
+
+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
+}