summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-08-16 09:35:44 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-08-16 09:35:44 +0000
commit6a5f04ee8d7d957b615bafcae15e967d8f691962 (patch)
tree491712d8794a753cb239a7b1d6ba642e199fefba /games-strategy/dunelegacy
parentStable for x86, wrt bug #430282 (diff)
downloadgentoo-2-6a5f04ee8d7d957b615bafcae15e967d8f691962.tar.gz
gentoo-2-6a5f04ee8d7d957b615bafcae15e967d8f691962.tar.bz2
gentoo-2-6a5f04ee8d7d957b615bafcae15e967d8f691962.zip
fix sound dependencies wrt #431610
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy/dunelegacy')
-rw-r--r--games-strategy/dunelegacy/ChangeLog5
-rw-r--r--games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/games-strategy/dunelegacy/ChangeLog b/games-strategy/dunelegacy/ChangeLog
index 9f3616ec82f1..b9d4376cd423 100644
--- a/games-strategy/dunelegacy/ChangeLog
+++ b/games-strategy/dunelegacy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/dunelegacy
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/dunelegacy/ChangeLog,v 1.2 2012/08/10 20:24:33 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dunelegacy/ChangeLog,v 1.3 2012/08/16 09:35:44 hasufell Exp $
+
+ 16 Aug 2012; Julian Ospald <hasufell@gentoo.org> dunelegacy-0.96.2.ebuild:
+ fix sound dependencies wrt #431610
10 Aug 2012; Julian Ospald <hasufell@gentoo.org>
files/dunelegacy-0.96.2-build.patch:
diff --git a/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild b/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild
index 8ead99cc81ef..ac3d663d5479 100644
--- a/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild
+++ b/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild,v 1.1 2012/08/09 20:44:51 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild,v 1.2 2012/08/16 09:35:44 hasufell Exp $
EAPI=4
inherit autotools eutils gnome2-utils games
@@ -12,14 +12,16 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="+alsa pulseaudio"
-# exits on start without libsdl[alsa]
-RDEPEND="media-libs/libsdl[X,alsa,audio,video]
+RDEPEND="media-libs/libsdl[X,alsa?,audio,pulseaudio?,video]
media-libs/sdl-mixer[midi,mp3,vorbis]"
DEPEND="${RDEPEND}
virtual/pkgconfig"
+# exits on start without libsdl[alsa] or libsdl[pulseaudio]
+REQUIRED_USE="|| ( alsa pulseaudio )"
+
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch
eautoreconf