summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-13 22:18:17 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-13 22:18:17 +0000
commit2762e8a4cd46c2fadb464ac25b239cde54fcae11 (patch)
tree454458578365fd11919ee797731c7d4bc2273737 /games-fps/soldieroffortune
parentAdded ~amd64. (diff)
downloadgentoo-2-2762e8a4cd46c2fadb464ac25b239cde54fcae11.tar.gz
gentoo-2-2762e8a4cd46c2fadb464ac25b239cde54fcae11.tar.bz2
gentoo-2-2762e8a4cd46c2fadb464ac25b239cde54fcae11.zip
Added initial amd64 support.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-fps/soldieroffortune')
-rw-r--r--games-fps/soldieroffortune/ChangeLog6
-rw-r--r--games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild35
2 files changed, 30 insertions, 11 deletions
diff --git a/games-fps/soldieroffortune/ChangeLog b/games-fps/soldieroffortune/ChangeLog
index 5c15f0a8d31d..5f24cd782540 100644
--- a/games-fps/soldieroffortune/ChangeLog
+++ b/games-fps/soldieroffortune/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/soldieroffortune
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.13 2006/04/13 21:12:52 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.14 2006/04/13 22:18:16 wolf31o2 Exp $
+
+ 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ soldieroffortune-1.06a.ebuild:
+ Added initial amd64 support.
13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
soldieroffortune-1.06a.ebuild:
diff --git a/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild b/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild
index c73c07d2218d..080d8dca69f0 100644
--- a/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild
+++ b/games-fps/soldieroffortune/soldieroffortune-1.06a.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-fps/soldieroffortune/soldieroffortune-1.06a.ebuild,v 1.14 2006/04/13 21:12:52 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild,v 1.15 2006/04/13 22:18:17 wolf31o2 Exp $
inherit eutils games
@@ -10,13 +10,29 @@ SRC_URI="mirror://lokigames/sof/sof-${PV}-cdrom-x86.run"
LICENSE="LOKI-EULA"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="~amd64 x86"
RESTRICT="strip"
IUSE=""
-DEPEND="virtual/libc
+DEPEND="sys-libs/glibc
games-util/loki_patch"
-RDEPEND="virtual/opengl"
+RDEPEND="virtual/opengl
+ x86? (
+ || (
+ (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXau
+ x11-libs/libXdmcp )
+ virtual/x11 )
+ media-libs/libvorbis
+ media-libs/libogg
+ media-libs/smpeg )
+ amd64? (
+ app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-sdl
+ app-emulation/emul-linux-x86-soundlibs )"
S=${WORKDIR}
@@ -32,6 +48,10 @@ pkg_setup() {
src_unpack() {
unpack_makeself
+ tar xzf ${CDROM_ROOT}/paks.tar.gz -C ${Ddir} \
+ || die "uncompressing data"
+ tar xzf ${CDROM_ROOT}/binaries.tar.gz -C ${Ddir} \
+ || die "uncompressing binaries"
}
src_install() {
@@ -42,11 +62,6 @@ src_install() {
insinto ${dir}
doins ${CDROM_ROOT}/{README,kver.pub,sof.xpm}
- tar xzf ${CDROM_ROOT}/paks.tar.gz -C ${Ddir} \
- || die "uncompressing data"
- tar xzf ${CDROM_ROOT}/binaries.tar.gz -C ${Ddir} \
- || die "uncompressing binaries"
-
cd ${S}
loki_patch --verify patch.dat
loki_patch patch.dat ${Ddir} >& /dev/null || die "patching"
@@ -58,9 +73,9 @@ src_install() {
games_make_wrapper sof ./sof "${dir}" "${dir}"
doicon ${CDROM_ROOT}/sof.xpm
+ make_desktop_entry sof "Soldier of Fortune" sof.xpm
prepgamesdirs
- make_desktop_entry sof "Soldier of Fortune" sof.xpm
}
pkg_postinst() {