# ChangeLog for games-arcade/rocksndiamonds
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.16 2005/08/24 05:11:21 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.17 2005/09/22 23:45:23 mr_bones_ Exp $
+
+ 22 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ rocksndiamonds-3.1.1.ebuild:
+ fix case where USE="-X sdl"
*rocksndiamonds-3.1.1 (24 Aug 2005)
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 6a1194d197310b7c78b96fefe218c348 rocksndiamonds-3.1.1.ebuild 2625
-MD5 3de51e1e7e5426b91b4d7c75ceb20597 ChangeLog 2794
+MD5 031c0b9f8a5add3260e73e63eb96d73a rocksndiamonds-3.1.1.ebuild 2623
+MD5 546e2452ce4bf05e9bbcfe5de162e98f ChangeLog 2911
MD5 969bd9de8eeede0250ae898012d07044 rocksndiamonds-3.1.0.ebuild 2295
MD5 c6c4112fb9e1975723b628b204dc8124 files/digest-rocksndiamonds-3.1.1 542
MD5 c3a75fb03914146932611aebcb406266 files/digest-rocksndiamonds-3.1.0 476
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.1.1.ebuild,v 1.1 2005/08/24 05:11:21 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.1.1.ebuild,v 1.2 2005/09/22 23:45:23 mr_bones_ Exp $
inherit flag-o-matic eutils games
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc amd64"
+KEYWORDS="amd64 ppc x86"
IUSE="X sdl"
-RDEPEND="virtual/libc
- app-arch/unzip
+DEPEND="app-arch/unzip
X? ( virtual/x11 )
!sdl? ( virtual/x11 )
sdl? ( >=media-libs/libsdl-1.2.3
>=media-libs/sdl-mixer-1.2.4
media-libs/sdl-net
>=media-libs/sdl-image-1.2.2 )"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
src_unpack() {
unpack ${P}.tar.gz
}
src_install() {
- dogamesbin rocksndiamonds.x11 || die "dogamesbin failed"
+ if use X || { ! use X && ! use sdl; } ; then
+ dogamesbin rocksndiamonds.x11 || die "dogamesbin failed"
+ fi
if use sdl ; then
dogamesbin rocksndiamonds.sdl || die "dogamesbin failed"
dosym rocksndiamonds.sdl "${GAMES_BINDIR}/rocksndiamonds"