summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-02-05 06:27:32 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-02-05 06:27:32 +0000
commitede802f1cc708bcce846e76767b3c0a0cd4616c1 (patch)
tree73408cd6e0fc169469d48fcfa92b8cc5e6c5a59f /games-puzzle
parent(non maintainer commit) [QA] fix HOMEPAGE, bug 223179 (diff)
downloadgentoo-2-ede802f1cc708bcce846e76767b3c0a0cd4616c1.tar.gz
gentoo-2-ede802f1cc708bcce846e76767b3c0a0cd4616c1.tar.bz2
gentoo-2-ede802f1cc708bcce846e76767b3c0a0cd4616c1.zip
version bump
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/neverball/ChangeLog10
-rw-r--r--games-puzzle/neverball/neverball-1.5.0.ebuild74
2 files changed, 82 insertions, 2 deletions
diff --git a/games-puzzle/neverball/ChangeLog b/games-puzzle/neverball/ChangeLog
index f8004e8e5f9a..29934b3b1e73 100644
--- a/games-puzzle/neverball/ChangeLog
+++ b/games-puzzle/neverball/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/neverball
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/ChangeLog,v 1.26 2008/02/29 19:36:29 carlo Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/ChangeLog,v 1.27 2009/02/05 06:27:32 mr_bones_ Exp $
+
+*neverball-1.5.0 (05 Feb 2009)
+
+ 05 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +neverball-1.5.0.ebuild:
+ version bump
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> neverball-1.4.0.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.
diff --git a/games-puzzle/neverball/neverball-1.5.0.ebuild b/games-puzzle/neverball/neverball-1.5.0.ebuild
new file mode 100644
index 000000000000..cc47b1faaa7c
--- /dev/null
+++ b/games-puzzle/neverball/neverball-1.5.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/neverball-1.5.0.ebuild,v 1.1 2009/02/05 06:27:32 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="Clone of Super Monkey Ball using SDL/OpenGL"
+HOMEPAGE="http://icculus.org/neverball/"
+SRC_URI="http://icculus.org/neverball/${P}.tar.gz"
+
+LICENSE="GPL-2 BitstreamVera"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+RESTRICT="test"
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-ttf
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/libvorbis
+ virtual/opengl
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ sed -i \
+ -e '/CONFIG_DATA/s:"\./data":"'${GAMES_DATADIR}/${PN}'":g' \
+ -e '/CONFIG_LOCALE/s:"\./data":"/usr/share/locale":g' \
+ share/base_config.h \
+ || die "sed failed"
+ sed -i \
+ -e 's:mapc:neverball-mapc:g' \
+ -e 's:MAPC:NEVERBALL-MAPC:g' \
+ -e '1 s/ 1 / 6 /' \
+ dist/mapc.1 \
+ || die "sed failed"
+ sed -i \
+ -e 's:-O2:$(E_CFLAGS):' \
+ -e "/^MAPC_TARG/s/mapc/${PN}-mapc/" \
+ Makefile \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake ENABLE_NLS=$(use nls && echo 1 || echo 0) E_CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ${PN}-mapc neverball neverputt || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data/* || die "doins failed"
+ if use nls ; then
+ insinto /usr/share
+ doins -r locale || die "doins failed"
+ fi
+ dodoc CHANGES README
+
+ newicon dist/neverball_512.png neverball.png
+ newicon dist/neverputt_512.png neverputt.png
+ doman dist/*.6
+ newman dist/mapc.1 neverball-mapc.6
+ make_desktop_entry neverball Neverball
+ make_desktop_entry neverputt Neverputt neverputt
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "${P} will overwrite existing high-score files, so back them up if you want to preserve your old scores and progress."
+}