summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-04-28 21:24:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-04-28 21:24:25 +0000
commit43c614e5c1b050ddd6131e34d38d74c28057fa1c (patch)
treec5554a57728b82172be7517694deadeeba319e74 /games-strategy/wesnoth
parentAdded ~sparc keyword wrt bug #130975. (diff)
downloadhistorical-43c614e5c1b050ddd6131e34d38d74c28057fa1c.tar.gz
historical-43c614e5c1b050ddd6131e34d38d74c28057fa1c.tar.bz2
historical-43c614e5c1b050ddd6131e34d38d74c28057fa1c.zip
sdl-mixer needs vorbis (bug #131610)
Diffstat (limited to 'games-strategy/wesnoth')
-rw-r--r--games-strategy/wesnoth/wesnoth-1.0.2.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/games-strategy/wesnoth/wesnoth-1.0.2.ebuild b/games-strategy/wesnoth/wesnoth-1.0.2.ebuild
index 475aaaa07f1f..c4377f81d159 100644
--- a/games-strategy/wesnoth/wesnoth-1.0.2.ebuild
+++ b/games-strategy/wesnoth/wesnoth-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.0.2.ebuild,v 1.7 2006/04/12 19:07:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.0.2.ebuild,v 1.8 2006/04/28 21:24:25 mr_bones_ Exp $
inherit eutils toolchain-funcs flag-o-matic games
@@ -27,6 +27,13 @@ DEPEND=">=media-libs/libsdl-1.2.7
S=${WORKDIR}/${PN}-${MY_PV}
+pkg_setup() {
+ if ! built_with_use -o media-libs/sdl-mixer vorbis oggvorbis ; then
+ die "Please emerge sdlmixer with USE=vorbis"
+ fi
+ games_pkg_setup
+}
+
src_unpack() {
unpack "${A}"
if use server ; then