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
commit95303315b34b9b3fedc2b7e8d7caf29a1471537b (patch)
tree7978d62e2a69868c3d8826bf26708040ed02ac83 /games-strategy/wesnoth
parentAdded ~sparc keyword wrt bug #130975. (diff)
downloadgentoo-2-95303315b34b9b3fedc2b7e8d7caf29a1471537b.tar.gz
gentoo-2-95303315b34b9b3fedc2b7e8d7caf29a1471537b.tar.bz2
gentoo-2-95303315b34b9b3fedc2b7e8d7caf29a1471537b.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