# ChangeLog for games-action/powermanga
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.6 2004/11/12 20:46:06 blubb Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.7 2006/03/15 22:59:59 wolf31o2 Exp $
+
+ 15 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ powermanga-0.78.ebuild, powermanga-0.79.ebuild:
+ Added check for mikmod USE flag on sdl-mixer and closing bug #126103.
12 Nov 2004; Simon Stelling <blubb@gentoo.org> powermanga-0.79.ebuild:
added ~amd64
-MD5 466855a25f2b22aad4c210aa13c914a3 ChangeLog 960
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 03f1ea7e655881b54bc0d815ba2d5a8c powermanga-0.78.ebuild 1074
-MD5 33b879eb7d77fd44949c24856c111eb3 powermanga-0.79.ebuild 1185
+MD5 276587fc06ebf7b7621eeb7767bef467 ChangeLog 1140
+RMD160 7f66b76054b7f560a53c635ecc8473e743e7ceeb ChangeLog 1140
+SHA256 621079e52ff6fd921f43ea96bf1116ef3947588b95dc0bc74761b780da61de70 ChangeLog 1140
MD5 2943a5cad4be13cb5a4b7b95b7532300 files/digest-powermanga-0.78 68
+RMD160 d1885cf9b6d90f4aea6671e0c09e8d0ebae26dd6 files/digest-powermanga-0.78 68
+SHA256 8f22490e0a3268ac0f550d183172c12996af2518d1216904d9053cccb686c3a9 files/digest-powermanga-0.78 68
MD5 9c25a84908beb1a0d142e2421d310be7 files/digest-powermanga-0.79 68
+RMD160 1cc5518c48d59c784fedea4ce8fd6d1eb9cb3161 files/digest-powermanga-0.79 68
+SHA256 6c41a3b26f45330ddece34e2fc93c5a2fbc42d0d67b15862af9017603c005908 files/digest-powermanga-0.79 68
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 db2823289dc445e881a7f8851d811823 powermanga-0.78.ebuild 1280
+RMD160 02cb0ceb46d40069a2d30aa6d75b67d2f50bc61b powermanga-0.78.ebuild 1280
+SHA256 8714df9502603256df88d618430dabc0ebd3ad6a53249c36f217bb2765526cd4 powermanga-0.78.ebuild 1280
+MD5 ed9316b7c38fd9efc2bfcfecff2df859 powermanga-0.79.ebuild 1395
+RMD160 e16654b57c6c5b039cf1b1a89e07c4ea1acd4f51 powermanga-0.79.ebuild 1395
+SHA256 12059cb481cc864d0b457c1d68a2c582d09f4e63385ba261dcaa509b89253bf7 powermanga-0.79.ebuild 1395
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.78.ebuild,v 1.5 2004/06/30 02:32:13 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.78.ebuild,v 1.6 2006/03/15 22:59:59 wolf31o2 Exp $
inherit games
>=media-libs/libsdl-0.11.0
media-libs/sdl-mixer"
+pkg_setup() {
+ if ! built_with_use media-libs/sdl-mixer mikmod
+ then
+ eerror "${PN} needs sdl-mixer compiled with mikmod use-flag enabled!"
+ die "sdl-mixer without mikmod detected"
+ fi
+ games_pkg_setup
+}
+
src_compile() {
egamesconf --prefix=/usr || die "egamesconf failed"
emake || die "emake failed"
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.79.ebuild,v 1.3 2004/11/12 20:46:06 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.79.ebuild,v 1.4 2006/03/15 22:59:59 wolf31o2 Exp $
inherit games
>=media-libs/libsdl-0.11.0
media-libs/sdl-mixer"
+pkg_setup() {
+ if ! built_with_use media-libs/sdl-mixer mikmod
+ then
+ eerror "${PN} needs sdl-mixer compiled with mikmod use-flag enabled!"
+ die "sdl-mixer without mikmod detected"
+ fi
+ games_pkg_setup
+}
+
src_compile() {
egamesconf --prefix=/usr || die "egamesconf failed"
emake || die "emake failed"