# ChangeLog for games-engines/stratagus
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.4 2005/09/16 22:11:44 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.5 2005/09/24 06:34:50 mr_bones_ Exp $
+
+ 24 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> stratagus-2.1.ebuild:
+ only turn on oggvorbis support if both the ogg and vorbis use flags are set
+ (bug #101875)
16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
Converted to UTF-8, fixed encoding screwups
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 271966fa37e2f018721d0b0eaba21eb9 stratagus-2.1.ebuild 1419
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 d38002d97079278d3aa096459552bde6 ChangeLog 657
+MD5 a5377e6daa9e39d30d0018f1ca19aba2 stratagus-2.1.ebuild 1392
+MD5 9eb70658387e2202f796e177e3ffb9a7 ChangeLog 831
MD5 4b13f331859d7e9dd8475a36fdb70725 files/digest-stratagus-2.1 69
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDK0NTLLFUmVNQ7rkRAjC3AJ9Ed0JTQetCFGbA5kxrwSYBTYDJoACgtiYC
-CftUss4S+n4Jj7xkF5y4bBQ=
-=cZ8Q
------END PGP SIGNATURE-----
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.1.ebuild,v 1.9 2005/07/25 09:00:05 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.1.ebuild,v 1.10 2005/09/24 06:34:50 mr_bones_ Exp $
inherit games
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug doc flac mp3 mikmod ogg vorbis opengl"
+IUSE="debug doc flac mp3 mikmod ogg opengl vorbis"
RDEPEND="virtual/x11
app-arch/bzip2
flac? ( media-libs/flac )
mp3? ( media-libs/libmad )
mikmod? ( media-libs/libmikmod )
- ogg? ( media-libs/libogg media-libs/libvorbis )
- vorbis? ( media-libs/libogg media-libs/libvorbis )"
+ ogg? ( vorbis? ( media-libs/libogg media-libs/libvorbis ) )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
S=${WORKDIR}/stratagus-${MY_PV}
src_compile() {
- local myconf=""
- (use ogg || use vorbis) \
- && myconf="--enable-ogg" \
- || myconf="--disable-ogg"
+ local myconf
+
+ if use ogg && use vorbis ; then
+ myconf="--enable-ogg" \
+ else
+ myconf="--disable-ogg"
+ fi
econf \
$(use_enable debug) \
$(use_with mikmod) \