Make sure sdl-mixer has USE=mikmod #76128.
authorMike Frysinger <vapier@gentoo.org>
Fri, 31 Dec 2004 01:32:34 +0000 (01:32 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 31 Dec 2004 01:32:34 +0000 (01:32 +0000)
games-arcade/tomatoes/ChangeLog
games-arcade/tomatoes/Manifest
games-arcade/tomatoes/tomatoes-1.55.ebuild

index 22a59246aa743c3854e98c7186a656ffbf14867c..95d9ea9d69b8eff403f5ebc7f0bfccfd52799a1f 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-arcade/tomatoes
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/ChangeLog,v 1.5 2004/12/28 10:21:16 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/ChangeLog,v 1.6 2004/12/31 01:32:34 vapier Exp $
+
+  30 Dec 2004; Mike Frysinger <vapier@gentoo.org> tomatoes-1.55.ebuild:
+  Make sure sdl-mixer has USE=mikmod #76128.
 
   28 Dec 2004; Joseph Jezak <josejx@gentoo.org> tomatoes-1.55.ebuild:
   Marked ppc stable.
index c99db2bb70ba0f5bc3e17bd9d7f7e72aaa676771..2a339b37a5583517b560bf9e23cc464d5d6ec121 100644 (file)
@@ -1,7 +1,17 @@
-MD5 32b0224854525bd4cacd92a1c02d11e4 ChangeLog 910
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 0d2c6b2463934e19d9ad35c5ea37dbda ChangeLog 1028
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 11de52ea527dd712b724b9b292d934ae tomatoes-1.55.ebuild 1809
 MD5 141957abaf30c10abd0014e5c62c2e9e tomatoes-1.5.ebuild 1775
+MD5 912585c72ff4a05a922d65023ec6cdf9 tomatoes-1.55.ebuild 2025
 MD5 541cb5f35391525048ce62e6d28a5f17 files/1.5-gcc34.patch 712
-MD5 e7264e50f8ef000802c7943781dd7d5b files/digest-tomatoes-1.55 147
 MD5 2c9494bdf746978eff80c55028b0e5dc files/digest-tomatoes-1.5 146
+MD5 e7264e50f8ef000802c7943781dd7d5b files/digest-tomatoes-1.55 147
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFB1Kw9roRuSHgZdywRAnvuAJ9PX4cLigTAZFS+3Rq+ZRH3tD7qnQCfV10N
+u3hfpBthiOR3+7Uve/zssCs=
+=wUZE
+-----END PGP SIGNATURE-----
index 92d3f564abfa72abe34ad320547d19fc53fa2879..19805c4589c8bda26e2bda80167ce3e8c79dd3d5 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/tomatoes-1.55.ebuild,v 1.3 2004/12/28 10:21:16 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/tomatoes-1.55.ebuild,v 1.4 2004/12/31 01:32:34 vapier Exp $
 
 inherit eutils games
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/tomatoes/tomatoes-linux-src-${PV}.tar.bz2
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~x86 ppc"
+KEYWORDS="ppc x86"
 IUSE=""
 
 DEPEND="virtual/opengl
@@ -21,6 +21,14 @@ DEPEND="virtual/opengl
        >=media-libs/sdl-image-1.2.2
        media-libs/sdl-mixer"
 
+pkg_setup() {
+       if ! built_with_use media-libs/sdl-mixer mikmod ; then
+               eerror "Tomatoes doesn't work properly if sdl-mixer"
+               eerror "is built with USE=-mikmod"
+               die "Please emerge sdl-mixer with USE=mikmod"
+       fi
+}
+
 src_unpack() {
        unpack ${A}
        cd "${S}"