summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-08-23 14:01:26 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-08-23 14:01:26 +0000
commit701f7e6c339508bdf8a73f7c209a49761c3cec68 (patch)
tree113568bfcc34be5f36d27d58832294c252aea430 /games-arcade
parentStable on sparc wrt security #187512 (diff)
downloadgentoo-2-701f7e6c339508bdf8a73f7c209a49761c3cec68.tar.gz
gentoo-2-701f7e6c339508bdf8a73f7c209a49761c3cec68.tar.bz2
gentoo-2-701f7e6c339508bdf8a73f7c209a49761c3cec68.zip
version bump to 1.4.8 (porting to clanlib 0.8). Bug #175683
(Portage version: 2.1.2.11)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/methane/ChangeLog7
-rw-r--r--games-arcade/methane/files/digest-methane-1.4.83
-rw-r--r--games-arcade/methane/methane-1.4.8.ebuild48
3 files changed, 57 insertions, 1 deletions
diff --git a/games-arcade/methane/ChangeLog b/games-arcade/methane/ChangeLog
index 5236d8c67173..b8e3070cb0ba 100644
--- a/games-arcade/methane/ChangeLog
+++ b/games-arcade/methane/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/methane
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.11 2007/03/23 20:09:25 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.12 2007/08/23 14:01:26 tupone Exp $
+
+*methane-1.4.8 (23 Aug 2007)
+
+ 23 Aug 2007; Tupone Alfredo <tupone@gentoo.org> +methane-1.4.8.ebuild:
+ version bump to 1.4.8 (porting to clanlib 0.8). Bug #175683 by Pacho Ramos
23 Mar 2007; Tristan Heaven <nyhm@gentoo.org> methane-1.4.7.ebuild:
Install menu entry, bug #160235
diff --git a/games-arcade/methane/files/digest-methane-1.4.8 b/games-arcade/methane/files/digest-methane-1.4.8
new file mode 100644
index 000000000000..1a10e8c284dd
--- /dev/null
+++ b/games-arcade/methane/files/digest-methane-1.4.8
@@ -0,0 +1,3 @@
+MD5 e580124ebbe40c81937e274ae5294e23 methane-1.4.8.tgz 1063099
+RMD160 0edb0328515b90cac66e13a3900fb4712ed0f940 methane-1.4.8.tgz 1063099
+SHA256 7e91d0b478b133a74565f0a7a01783cdda20bd555ca92feb4da66e51b51a9289 methane-1.4.8.tgz 1063099
diff --git a/games-arcade/methane/methane-1.4.8.ebuild b/games-arcade/methane/methane-1.4.8.ebuild
new file mode 100644
index 000000000000..322b3b135307
--- /dev/null
+++ b/games-arcade/methane/methane-1.4.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.8.ebuild,v 1.1 2007/08/23 14:01:26 tupone Exp $
+
+inherit eutils games
+
+DESCRIPTION="Port from an old amiga game"
+HOMEPAGE="http://methane.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mikmod"
+
+DEPEND="=dev-games/clanlib-0.8*
+ mikmod? ( media-libs/libmikmod )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if ! use mikmod ; then
+ sed -i \
+ -e '/^METHANE_SND/s/^/#/' \
+ source/linux/makefile \
+ || die "sed failed"
+ fi
+ sed -i \
+ -e "s:/var/games:${GAMES_STATEDIR}:" \
+ source/linux/doc.cpp history \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake -C source/linux -j1 || die "emake failed"
+}
+
+src_install() {
+ dogamesbin source/linux/methane || die "dogamesbin failed"
+ dodir "${GAMES_STATEDIR}"
+ touch "${D}/${GAMES_STATEDIR}"/methanescores
+ fperms g+w "${GAMES_STATEDIR}"/methanescores
+ newicon docs/puff.gif ${PN}.gif
+ make_desktop_entry ${PN} "Super Methane Brothers" /usr/share/pixmaps/${PN}.gif
+ dodoc authors history readme todo
+ dohtml "${S}"/docs/*
+ prepgamesdirs
+}