summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action')
-rw-r--r--games-action/phobiaiii/ChangeLog8
-rw-r--r--games-action/phobiaiii/files/digest-phobiaiii-1.0-r1 (renamed from games-action/phobiaiii/files/digest-phobiaiii-1.0)0
-rw-r--r--games-action/phobiaiii/files/phobiaIII4
-rw-r--r--games-action/phobiaiii/files/playphobiaIII7
-rw-r--r--games-action/phobiaiii/phobiaiii-1.0-r1.ebuild (renamed from games-action/phobiaiii/phobiaiii-1.0.ebuild)23
5 files changed, 20 insertions, 22 deletions
diff --git a/games-action/phobiaiii/ChangeLog b/games-action/phobiaiii/ChangeLog
index 7c59aaffc2d3..bccfed2a72e3 100644
--- a/games-action/phobiaiii/ChangeLog
+++ b/games-action/phobiaiii/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/phobiaiii
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/ChangeLog,v 1.2 2003/09/10 20:30:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/ChangeLog,v 1.3 2003/10/28 22:10:07 vapier Exp $
+
+*phobiaiii-1.0-r1 (28 Oct 2003)
+
+ 28 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
+ DEPEND on only the libraries we *really* need. Also include support
+ to use libsmpeg from glibc-2.2 if we're running on a newer glibc #22045.
*phobiaiii-1.0 (12 Dec 2002)
diff --git a/games-action/phobiaiii/files/digest-phobiaiii-1.0 b/games-action/phobiaiii/files/digest-phobiaiii-1.0-r1
index 373e867e6f5e..373e867e6f5e 100644
--- a/games-action/phobiaiii/files/digest-phobiaiii-1.0
+++ b/games-action/phobiaiii/files/digest-phobiaiii-1.0-r1
diff --git a/games-action/phobiaiii/files/phobiaIII b/games-action/phobiaiii/files/phobiaIII
new file mode 100644
index 000000000000..39ebf9185191
--- /dev/null
+++ b/games-action/phobiaiii/files/phobiaIII
@@ -0,0 +1,4 @@
+#!/bin/sh
+cd /opt/phobiaiii
+export LD_PRELOAD=libsmpeg-0.4.so.0.dummy
+exec ./phobia3 "$@"
diff --git a/games-action/phobiaiii/files/playphobiaIII b/games-action/phobiaiii/files/playphobiaIII
deleted file mode 100644
index 2e8184d5ae86..000000000000
--- a/games-action/phobiaiii/files/playphobiaIII
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/files/playphobiaIII,v 1.1 2003/09/10 19:29:16 vapier Exp $
-
-cd /opt/phobiaiii
-./phobia3
diff --git a/games-action/phobiaiii/phobiaiii-1.0.ebuild b/games-action/phobiaiii/phobiaiii-1.0-r1.ebuild
index 4112d27b87f5..46dba5655b6f 100644
--- a/games-action/phobiaiii/phobiaiii-1.0.ebuild
+++ b/games-action/phobiaiii/phobiaiii-1.0-r1.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/phobiaiii-1.0.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/phobiaiii-1.0-r1.ebuild,v 1.1 2003/10/28 22:10:07 vapier Exp $
inherit games
-MY_P="phobia3"
DESCRIPTION="Just a moment ago, you were safe inside your ship, behind five inch armour"
HOMEPAGE="http://www.lynxlabs.com/phobiaIII/"
-SRC_URI="ftp://ftp.edome.net/demot/actionpelit/${MY_P}-linux.tar.bz2"
+SRC_URI="ftp://ftp.edome.net/demot/actionpelit/phobia3-linux.tar.bz2"
LICENSE="as-is"
SLOT="0"
@@ -21,18 +20,11 @@ RDEPEND="kde-base/arts
virtual/x11
media-libs/libvorbis
media-libs/libogg
- media-libs/smpeg
+ >=sys-libs/lib-compat-1.3
media-libs/libsdl
- dev-libs/DirectFB
- media-libs/libggi
- media-libs/libgii
- sys-libs/lib-compat
- media-libs/nas
- media-libs/svgalib
- media-libs/aalib
- sys-libs/ncurses"
+ media-libs/smpeg"
-S=${WORKDIR}/${MY_P}
+S=${WORKDIR}/phobia3
src_install() {
dodoc README
@@ -41,7 +33,10 @@ src_install() {
dodir ${GAMES_PREFIX_OPT}/${PN}
mv * ${D}/${GAMES_PREFIX_OPT}/${PN}/
- dogamesbin ${FILESDIR}/playphobiaIII
+ dogamesbin ${FILESDIR}/phobiaIII
+ if has_version '<sys-libs/glibc-2.3.2' ; then
+ dosed '/LD_PRELOAD/s:.*::' ${GAMES_BINDIR}/phobiaIII
+ fi
prepgamesdirs
}