diff options
author | Sebastian Pipping <sping@gentoo.org> | 2011-07-28 21:25:51 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2011-07-28 21:25:51 +0000 |
commit | 3fcaa91b525bc3b43dd74d8ac1a0398b31bab7f6 (patch) | |
tree | 2e720830c0ed0a6c724accbe3519f79f0eec1628 /games-action/openlierox | |
parent | Split kdepim translations out again (diff) | |
download | gentoo-2-3fcaa91b525bc3b43dd74d8ac1a0398b31bab7f6.tar.gz gentoo-2-3fcaa91b525bc3b43dd74d8ac1a0398b31bab7f6.tar.bz2 gentoo-2-3fcaa91b525bc3b43dd74d8ac1a0398b31bab7f6.zip |
games-action/openlierox: Bump to 0.58_rc3
(Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'games-action/openlierox')
-rw-r--r-- | games-action/openlierox/ChangeLog | 8 | ||||
-rw-r--r-- | games-action/openlierox/openlierox-0.58_rc3.ebuild | 72 |
2 files changed, 79 insertions, 1 deletions
diff --git a/games-action/openlierox/ChangeLog b/games-action/openlierox/ChangeLog index effb0e6feee9..125493940743 100644 --- a/games-action/openlierox/ChangeLog +++ b/games-action/openlierox/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-action/openlierox # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/openlierox/ChangeLog,v 1.8 2011/07/25 08:10:52 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/openlierox/ChangeLog,v 1.9 2011/07/28 21:25:51 sping Exp $ + +*openlierox-0.58_rc3 (28 Jul 2011) + + 28 Jul 2011; Sebastian Pipping <sping@gentoo.org> + +openlierox-0.58_rc3.ebuild: + Bump to 0.58_rc3 25 Jul 2011; Sebastian Pipping <sping@gentoo.org> ChangeLog: Signing the manifest... diff --git a/games-action/openlierox/openlierox-0.58_rc3.ebuild b/games-action/openlierox/openlierox-0.58_rc3.ebuild new file mode 100644 index 000000000000..22763b22fd08 --- /dev/null +++ b/games-action/openlierox/openlierox-0.58_rc3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/openlierox/openlierox-0.58_rc3.ebuild,v 1.1 2011/07/28 21:25:51 sping Exp $ + +EAPI="2" + +inherit cmake-utils eutils games + +MY_PN="OpenLieroX" +MY_P="${MY_PN}_${PV}" +DESCRIPTION="Real-time excessive Worms-clone" +HOMEPAGE="http://openlierox.sourceforge.net/" +SRC_URI="mirror://sourceforge/openlierox/${MY_P}.src.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X breakpad debug joystick" + +RDEPEND="media-libs/sdl-mixer + media-libs/sdl-image + media-libs/gd[png] + dev-libs/libxml2 + dev-libs/libzip + net-misc/curl + joystick? ( media-libs/libsdl[joystick] ) + !joystick? ( media-libs/libsdl ) + X? ( x11-libs/libX11 + media-libs/libsdl[X] ) + !X? ( media-libs/libsdl )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.58_rc1-icu.patch \ + "${FILESDIR}"/${PN}-0.58_rc1-curl.patch +} + +src_configure() { + local mycmakeargs=" + $(cmake-utils_use debug DEBUG) + $(cmake-utils_use X X11) + -D BREAKPAD=$(use breakpad && echo "Yes" || echo "No") + -D DISABLE_JOYSTICK=$(use joystick && echo "No" || echo "Yes") + -D SYSTEM_DATA_DIR=${GAMES_DATADIR} + -D VERSION=${PV}" + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + # NOTE: App uses case-insensitive file-handling + insinto "${GAMES_DATADIR}"/${PN}/ + doins -r share/gamedir/* || die "doins failed" + + dodoc doc/{README,ChangeLog,Development,TODO} || die "dodoc failed" + insinto /usr/share/doc/"${PF}" + doins -r doc/original_lx_docs || die "doins failed" + + doicon share/OpenLieroX.* || die "doicon failed" + make_desktop_entry openlierox OpenLieroX OpenLieroX \ + "Game;ActionGame;ArcadeGame;" || die "make_desktop_entry failed" + + dogamesbin "${CMAKE_BUILD_DIR}"/bin/openlierox || die "dogamesbin failed" + + prepgamesdirs +} |