summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-13 22:12:48 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-13 22:12:48 +0000
commit87c5354d099b945db736432f888e5839ad098337 (patch)
tree2dd3b38dac51a8e1d078866b452a79270b9241ae /games-fps/soldieroffortune-demo
parentSync with 2006.0 (diff)
downloadhistorical-87c5354d099b945db736432f888e5839ad098337.tar.gz
historical-87c5354d099b945db736432f888e5839ad098337.tar.bz2
historical-87c5354d099b945db736432f888e5839ad098337.zip
Fixed dependencies and added amd64 support.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'games-fps/soldieroffortune-demo')
-rw-r--r--games-fps/soldieroffortune-demo/ChangeLog11
-rw-r--r--games-fps/soldieroffortune-demo/Manifest12
-rw-r--r--games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild28
3 files changed, 33 insertions, 18 deletions
diff --git a/games-fps/soldieroffortune-demo/ChangeLog b/games-fps/soldieroffortune-demo/ChangeLog
index dae405b57c75..8e3db3efb953 100644
--- a/games-fps/soldieroffortune-demo/ChangeLog
+++ b/games-fps/soldieroffortune-demo/ChangeLog
@@ -1,11 +1,8 @@
# ChangeLog for games-fps/soldieroffortune-demo
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/ChangeLog,v 1.1 2006/04/12 21:18:59 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/ChangeLog,v 1.2 2006/04/13 22:12:48 wolf31o2 Exp $
-*soldieroffortune-demo-0.57 (12 Apr 2006)
-
- 12 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
- +soldieroffortune-demo-0.57.ebuild:
- Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug
- #120422.
+ 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ soldieroffortune-demo-0.57.ebuild:
+ Fixed dependencies and added amd64 support.
diff --git a/games-fps/soldieroffortune-demo/Manifest b/games-fps/soldieroffortune-demo/Manifest
index d105e45b9b45..42ec25c769a5 100644
--- a/games-fps/soldieroffortune-demo/Manifest
+++ b/games-fps/soldieroffortune-demo/Manifest
@@ -1,12 +1,12 @@
-MD5 54070a519e7206776973d38df3d9136a ChangeLog 471
-RMD160 970264d89308f1e97ff6e22b816246be75baadd5 ChangeLog 471
-SHA256 ed5434741ae8c3191363495780ca53ebfa4e26f4a7732205f03fc8e624f77d5c ChangeLog 471
+MD5 909870fc8d1549eb7a5a080414346fee ChangeLog 375
+RMD160 ca5652849e0c1c1eb0f31bb98c721e9a9a92c91b ChangeLog 375
+SHA256 d6d9969e8cf2b9228cc79dfa0338b9be49b6fd7968f0a975175ab4df77e687ec ChangeLog 375
MD5 c3495bc454397d7af3531310d592a5de files/digest-soldieroffortune-demo-0.57 223
RMD160 599517e5c1fbbf322380acf472d00dfb7d7d4a92 files/digest-soldieroffortune-demo-0.57 223
SHA256 10bde6a66ab6537de21acf9a23ff996bc35b346b889548e545c84a3cf9ffc574 files/digest-soldieroffortune-demo-0.57 223
MD5 1d5f531dacb7366b4cc3200dd707f94c metadata.xml 771
RMD160 bf4d8efb4ec8bf2aae2f03402987bc84b82f208c metadata.xml 771
SHA256 15c2822a3458283866e9585537612f2bca24ba087d1d488c389680b03929350d metadata.xml 771
-MD5 bbfb17f1e1fadb9467f7beacacd65bc3 soldieroffortune-demo-0.57.ebuild 1266
-RMD160 1f5734f9373398e2b4b166ccc295f16514a1f6d8 soldieroffortune-demo-0.57.ebuild 1266
-SHA256 875e48d0c811b54d1d0185b2e56f3b7f5df6e5c8fd4491144988abaf2456d959 soldieroffortune-demo-0.57.ebuild 1266
+MD5 50d4e2e8b69308b41a85d1bc2bcf9a1f soldieroffortune-demo-0.57.ebuild 1689
+RMD160 5c9c8acf6333ceb5e9b4de50a4bfe5d10128e3e0 soldieroffortune-demo-0.57.ebuild 1689
+SHA256 bf76b535fdb6c749acffe27bd049a5f771d5af3b217c62089e8fa6f0540f3b61 soldieroffortune-demo-0.57.ebuild 1689
diff --git a/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild b/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild
index 2269be3c41bf..fcd71e4268e8 100644
--- a/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild
+++ b/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild,v 1.1 2006/04/12 21:18:59 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild,v 1.2 2006/04/13 22:12:48 wolf31o2 Exp $
-inherit eutils multilib games
+inherit eutils games
MY_PN=${PN/soldieroffortune/sof}
@@ -12,12 +12,28 @@ SRC_URI="mirror://lokigames/loki_demos/${MY_PN}.run"
LICENSE="LOKI-EULA"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="nostrip"
DEPEND="games-util/loki_patch"
-RDEPEND="media-libs/openal"
+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}
@@ -41,7 +57,9 @@ src_install() {
doexe "${demo}/${exe}" || die "doexe failed"
# Replace bad library
- dosym /usr/$(get_libdir)/libSDL.so "${dir}"/libSDL-1.1.so.0 || die
+ use x86 && dosym /usr/lib/libSDL.so "${dir}"/libSDL-1.1.so.0
+ use amd64 && dosym /emul/linux/x86/usr/lib/libSDL.so \
+ "${dir}"/libSDL-1.1.so.0
games_make_wrapper ${PN} "./${exe}" "${dir}" "${dir}"
newicon "${demo}"/launch/box.png ${PN}.png || die