From 95303315b34b9b3fedc2b7e8d7caf29a1471537b Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 28 Apr 2006 21:24:25 +0000 Subject: sdl-mixer needs vorbis (bug #131610) --- games-strategy/wesnoth/wesnoth-1.0.2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'games-strategy/wesnoth') 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 -- cgit v1.2.3-65-gdbad