summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-09-22 23:45:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-09-22 23:45:23 +0000
commit32fef19c20a22c64d2c1a9b0a08fdc9050b1d22a (patch)
tree5065f8e13cd6e5519f9758c2e7a5f3e7a9740f1b /games-arcade
parentAdded missing ant-core to dependencies. Fixes bug #106929. (diff)
downloadhistorical-32fef19c20a22c64d2c1a9b0a08fdc9050b1d22a.tar.gz
historical-32fef19c20a22c64d2c1a9b0a08fdc9050b1d22a.tar.bz2
historical-32fef19c20a22c64d2c1a9b0a08fdc9050b1d22a.zip
fix case where USE="-X sdl"
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/rocksndiamonds/ChangeLog6
-rw-r--r--games-arcade/rocksndiamonds/Manifest4
-rw-r--r--games-arcade/rocksndiamonds/rocksndiamonds-3.1.1.ebuild13
3 files changed, 13 insertions, 10 deletions
diff --git a/games-arcade/rocksndiamonds/ChangeLog b/games-arcade/rocksndiamonds/ChangeLog
index c5ae64f0648d..7f686f2aaa0f 100644
--- a/games-arcade/rocksndiamonds/ChangeLog
+++ b/games-arcade/rocksndiamonds/ChangeLog
@@ -1,6 +1,10 @@
# 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)
diff --git a/games-arcade/rocksndiamonds/Manifest b/games-arcade/rocksndiamonds/Manifest
index 4b1e41d31042..949ea8297efd 100644
--- a/games-arcade/rocksndiamonds/Manifest
+++ b/games-arcade/rocksndiamonds/Manifest
@@ -1,6 +1,6 @@
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
diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-3.1.1.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-3.1.1.ebuild
index dba35e2df304..e5deefa75ae1 100644
--- a/games-arcade/rocksndiamonds/rocksndiamonds-3.1.1.ebuild
+++ b/games-arcade/rocksndiamonds/rocksndiamonds-3.1.1.ebuild
@@ -1,6 +1,6 @@
# 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
@@ -17,19 +17,16 @@ SRC_URI="http://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}.tar.gz
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
@@ -71,7 +68,9 @@ src_compile() {
}
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"