summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-10-13 15:45:21 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-10-13 15:45:21 +0000
commit2fcf12f3a49039f765a59ad9e66d4ee919415bd7 (patch)
tree141ab0fba0bdd701e4ca66c52958802b1005c04b /games-action/descent3-demo/descent3-demo-1.4.0a.ebuild
parentAdded games-action/descent3-demo and games-action/heretic2 to mask. (diff)
downloadgentoo-2-2fcf12f3a49039f765a59ad9e66d4ee919415bd7.tar.gz
gentoo-2-2fcf12f3a49039f765a59ad9e66d4ee919415bd7.tar.bz2
gentoo-2-2fcf12f3a49039f765a59ad9e66d4ee919415bd7.zip
Added ~amd64 KEYWORDS, removed virtual/x11 from dependencies, and added symlink for ppics.hog for bug #151148.
(Portage version: 2.1.2_pre2-r8)
Diffstat (limited to 'games-action/descent3-demo/descent3-demo-1.4.0a.ebuild')
-rw-r--r--games-action/descent3-demo/descent3-demo-1.4.0a.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild b/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild
index ab10ca09c15d..8c21cca64b2d 100644
--- a/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild
+++ b/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild,v 1.5 2006/05/22 21:09:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild,v 1.6 2006/10/13 15:45:21 wolf31o2 Exp $
inherit eutils games
@@ -10,7 +10,7 @@ SRC_URI="mirror://lokigames/loki_demos/${PN}.run"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="~amd64 x86"
IUSE=""
RESTRICT="strip"
@@ -18,11 +18,8 @@ DEPEND="games-util/loki_patch"
RDEPEND="sys-libs/glibc
virtual/opengl
x86? (
- || (
- (
- x11-libs/libX11
- x11-libs/libXext )
- virtual/x11 )
+ x11-libs/libX11
+ x11-libs/libXext
=media-libs/libsdl-1.2* )
amd64? (
app-emulation/emul-linux-x86-xlibs
@@ -51,6 +48,10 @@ src_install() {
# Required directory
keepdir "${dir}"/missions
+ # Fix for 2.6 kernel crash
+ cd "${Ddir}"
+ ln -sf ppics.hog PPics.Hog
+
games_make_wrapper ${PN} "./${exe}" "${dir}"
newicon "${demo}"/launch/box.png ${PN}.png || die "newicon failed"
make_desktop_entry ${PN} "Descent 3 (Demo)" ${PN}.png