diff options
Diffstat (limited to 'games-strategy/hedgewars')
-rw-r--r-- | games-strategy/hedgewars/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/hedgewars/hedgewars-0.9.5.ebuild | 49 |
2 files changed, 56 insertions, 1 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog index f8ac2ddfa74a..aabbb836b84f 100644 --- a/games-strategy/hedgewars/ChangeLog +++ b/games-strategy/hedgewars/ChangeLog @@ -1,6 +1,12 @@ # 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.8 2008/06/25 12:46:44 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.9 2008/07/11 18:15:05 mr_bones_ Exp $ + +*hedgewars-0.9.5 (11 Jul 2008) + + 11 Jul 2008; Michael Sterrett <mr_bones_@gentoo.org> + +hedgewars-0.9.5.ebuild: + version bump 25 Jun 2008; Tristan Heaven <nyhm@gentoo.org> hedgewars-0.9.4.ebuild: Add split qt-4 dependencies, bug #217170 diff --git a/games-strategy/hedgewars/hedgewars-0.9.5.ebuild b/games-strategy/hedgewars/hedgewars-0.9.5.ebuild new file mode 100644 index 000000000000..67178c069999 --- /dev/null +++ b/games-strategy/hedgewars/hedgewars-0.9.5.ebuild @@ -0,0 +1,49 @@ +# 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.5.ebuild,v 1.1 2008/07/11 18:15:05 mr_bones_ Exp $ + +EAPI=1 +inherit eutils 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="|| ( + ( x11-libs/qt-gui:4 x11-libs/qt-svg:4 ) + x11-libs/qt:4 + ) + 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 +} |