summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-11-25 17:50:32 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-11-25 17:50:32 +0000
commit0589478f84139e683eea833fa0e59041ef7dd3ca (patch)
tree66f907b730246c591f63d412ac22766cfb3bbad1 /games-strategy/hedgewars
parentVersion bump (diff)
downloadgentoo-2-0589478f84139e683eea833fa0e59041ef7dd3ca.tar.gz
gentoo-2-0589478f84139e683eea833fa0e59041ef7dd3ca.tar.bz2
gentoo-2-0589478f84139e683eea833fa0e59041ef7dd3ca.zip
version bump (bug #391835)
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy/hedgewars')
-rw-r--r--games-strategy/hedgewars/ChangeLog8
-rw-r--r--games-strategy/hedgewars/hedgewars-0.9.17.ebuild56
2 files changed, 63 insertions, 1 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog
index 688e175efe0a..3e550a1c077c 100644
--- a/games-strategy/hedgewars/ChangeLog
+++ b/games-strategy/hedgewars/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/hedgewars
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.33 2011/11/11 09:17:43 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.34 2011/11/25 17:50:32 mr_bones_ Exp $
+
+*hedgewars-0.9.17 (25 Nov 2011)
+
+ 25 Nov 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ +hedgewars-0.9.17.ebuild:
+ version bump (bug #391835)
11 Nov 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> hedgewars-0.9.16.ebuild:
x86 stable wrt bug #389265
diff --git a/games-strategy/hedgewars/hedgewars-0.9.17.ebuild b/games-strategy/hedgewars/hedgewars-0.9.17.ebuild
new file mode 100644
index 000000000000..a00424c638f9
--- /dev/null
+++ b/games-strategy/hedgewars/hedgewars-0.9.17.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.17.ebuild,v 1.1 2011/11/25 17:50:32 mr_bones_ Exp $
+
+EAPI=2
+CMAKE_BUILD_TYPE=Release
+inherit cmake-utils eutils games
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="Free Worms-like turn based strategy game"
+HOMEPAGE="http://hedgewars.org/"
+SRC_URI="http://download.gna.org/hedgewars/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 Apache-2.0 FDL-1.3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+QA_DT_HASH=${GAMES_BINDIR}/hwengine # pascal sucks
+QA_PRESTRIPPED=${GAMES_BINDIR}/hwengine # pascal sucks
+
+RDEPEND="x11-libs/qt-gui:4
+ media-libs/libsdl[audio,opengl,video]
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-image[png]
+ media-libs/sdl-net
+ dev-lang/lua"
+DEPEND="${RDEPEND}
+ >=dev-lang/fpc-2.4"
+RDEPEND="${RDEPEND}
+ >=media-fonts/dejavu-2.28"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
+ -DDATA_INSTALL_DIR="${GAMES_DATADIR}"
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ DOCS="ChangeLog.txt README" cmake-utils_src_install
+ rm -f "${D}"/usr/share/games/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
+ "${GAMES_DATADIR}"/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
+ newicon QTfrontend/res/hh25x25.png ${PN}.png
+ make_desktop_entry ${PN} Hedgewars
+ doman man/${PN}.6
+ prepgamesdirs
+}