summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-12-21 23:29:29 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-12-21 23:29:29 +0000
commit5d7a378a9d9a83a9ab6692a6bedfb652eec1d7dd (patch)
treec1b8f5c100c5572e3ec192e8e65228b86f88cbf1 /games-rpg
parentVersion bump. (diff)
downloadgentoo-2-5d7a378a9d9a83a9ab6692a6bedfb652eec1d7dd.tar.gz
gentoo-2-5d7a378a9d9a83a9ab6692a6bedfb652eec1d7dd.tar.bz2
gentoo-2-5d7a378a9d9a83a9ab6692a6bedfb652eec1d7dd.zip
Detect timidity enabled sdl-mixer. Fix bug #68259
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/xu4/ChangeLog7
-rw-r--r--games-rpg/xu4/files/digest-xu4-0.910
-rw-r--r--games-rpg/xu4/xu4-0.9.ebuild12
3 files changed, 23 insertions, 6 deletions
diff --git a/games-rpg/xu4/ChangeLog b/games-rpg/xu4/ChangeLog
index 57f574906d1c..15be8ab6be74 100644
--- a/games-rpg/xu4/ChangeLog
+++ b/games-rpg/xu4/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/xu4
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/xu4/ChangeLog,v 1.4 2004/10/22 11:30:34 blubb Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/xu4/ChangeLog,v 1.5 2006/12/21 23:29:29 tupone Exp $
+
+ 21 Dec 2006; <tupone@gentoo.org> xu4-0.9.ebuild:
+ Detect timidity enabled sdl-mixer. Fix bug #68259 by Marc Benstein
22 Oct 2004; Simon Stelling <blubb@gentoo.org> xu4-0.9.ebuild:
added ~amd64
diff --git a/games-rpg/xu4/files/digest-xu4-0.9 b/games-rpg/xu4/files/digest-xu4-0.9
index 481c0adb33a3..50bf9fd6fa5d 100644
--- a/games-rpg/xu4/files/digest-xu4-0.9
+++ b/games-rpg/xu4/files/digest-xu4-0.9
@@ -1,3 +1,9 @@
-MD5 b2c71b0a292ff7d39d7fa1d056ffd63a xu4-0.9.tar.gz 320090
-MD5 9b668cc1a2d508a6325442c28cbe53ba ultima4-1.01.zip 537487
MD5 4ce9c9cd9dab111275e0ebfde7a482c4 u4upgrad.zip 632072
+RMD160 863f4626089ad511a1b4dc60f9115c5f8a5b6a70 u4upgrad.zip 632072
+SHA256 400ac37311f3be74c1b2d7836561b2ead2b146f5162586865b0f4881225cca58 u4upgrad.zip 632072
+MD5 9b668cc1a2d508a6325442c28cbe53ba ultima4-1.01.zip 537487
+RMD160 9711d2b1041d7d5577fed09d5271bcdeab9f1fdc ultima4-1.01.zip 537487
+SHA256 ec84ef08e9e38156622300065aa62260276fc8f1c1ff2774f7916e7c10db40dc ultima4-1.01.zip 537487
+MD5 b2c71b0a292ff7d39d7fa1d056ffd63a xu4-0.9.tar.gz 320090
+RMD160 2129a2bd7e8789ffa901082c248957335b1e5e9d xu4-0.9.tar.gz 320090
+SHA256 26d7a957411e98474d3a06a0bf63a683208d3c35c0cf7afe90db992a934b0bf3 xu4-0.9.tar.gz 320090
diff --git a/games-rpg/xu4/xu4-0.9.ebuild b/games-rpg/xu4/xu4-0.9.ebuild
index 2fb4adbc3ead..cee72813de8d 100644
--- a/games-rpg/xu4/xu4-0.9.ebuild
+++ b/games-rpg/xu4/xu4-0.9.ebuild
@@ -1,6 +1,6 @@
-# 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-rpg/xu4/xu4-0.9.ebuild,v 1.4 2004/10/22 11:30:34 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/xu4/xu4-0.9.ebuild,v 1.5 2006/12/21 23:29:29 tupone Exp $
inherit eutils games
@@ -24,6 +24,14 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/u4"
+pkg_setup() {
+ if ! built_with_use media-libs/sdl-mixer timidity ; then
+ eerror "${PN} needs sdl-mixer compiled with timidity use-flag enabled!"
+ die "sdl-mixer without timidity detected"
+ fi
+ games_pkg_setup
+}
+
src_unpack() {
# xu4 will read the data files right out of the zip files
# but we want the docs from the original.