summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-02-07 10:02:38 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-02-07 10:02:38 +0000
commit5d95dd4abc9d13607f1cca9fe8c189fdeb74908d (patch)
tree84c64ad553b79aae904931d20a44cbe2b7477e18 /dev-games
parentRevision bump. Make it impossible to unset GSM, as unsetting all USE-flags ca... (diff)
downloadgentoo-2-5d95dd4abc9d13607f1cca9fe8c189fdeb74908d.tar.gz
gentoo-2-5d95dd4abc9d13607f1cca9fe8c189fdeb74908d.tar.bz2
gentoo-2-5d95dd4abc9d13607f1cca9fe8c189fdeb74908d.zip
mikmod and vorbis require sound
(Portage version: 2.1.10.45/cvs/Linux i686)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/clanlib/ChangeLog5
-rw-r--r--dev-games/clanlib/clanlib-2.3.4.ebuild21
2 files changed, 17 insertions, 9 deletions
diff --git a/dev-games/clanlib/ChangeLog b/dev-games/clanlib/ChangeLog
index e9a0872c7c89..a31b986c6c1a 100644
--- a/dev-games/clanlib/ChangeLog
+++ b/dev-games/clanlib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/clanlib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.50 2012/02/06 13:56:37 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.51 2012/02/07 10:02:38 tupone Exp $
+
+ 07 Feb 2012; Tupone Alfredo <tupone@gentoo.org> clanlib-2.3.4.ebuild:
+ mikmod and vorbis require sound
*clanlib-2.3.4 (06 Feb 2012)
diff --git a/dev-games/clanlib/clanlib-2.3.4.ebuild b/dev-games/clanlib/clanlib-2.3.4.ebuild
index c77c7e5761bf..575599e158e0 100644
--- a/dev-games/clanlib/clanlib-2.3.4.ebuild
+++ b/dev-games/clanlib/clanlib-2.3.4.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/dev-games/clanlib/clanlib-2.3.4.ebuild,v 1.1 2012/02/06 13:56:37 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-2.3.4.ebuild,v 1.2 2012/02/07 10:02:38 tupone Exp $
EAPI=2
inherit flag-o-matic eutils autotools-utils
@@ -27,13 +27,15 @@ RDEPEND="sys-libs/zlib
x11-libs/libX11
)
sqlite? ( dev-db/sqlite )
- sound? (
+ sound? ( media-libs/alsa-lib )
+ mikmod? (
+ media-libs/libmikmod
+ media-libs/alsa-lib
+ )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
media-libs/alsa-lib
- mikmod? ( media-libs/libmikmod )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
)"
DEPEND="${RDEPEND}
dev-util/pkgconfig
@@ -60,12 +62,15 @@ src_configure() {
$(use_enable opengl clanGL1)
$(use_enable opengl clanGUI)
$(use_enable X clanDisplay)
- $(use_enable sound clanSound)
$(use_enable vorbis clanVorbis)
$(use_enable mikmod clanMikMod)
$(use_enable sqlite clanSqlite)
$(use_enable ipv6 getaddr)
)
+ use sound \
+ || use vorbis \
+ || use mikmod \
+ || myeconfargs+=( --disable-clanSound )
autotools-utils_src_configure
}