diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-04-13 22:12:48 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-04-13 22:12:48 +0000 |
commit | 53eccf3601b4f25a9309f3e134e8eaf0e5cd7cff (patch) | |
tree | cb9306970c76b41050777f820930fe6438bfe16b /games-fps | |
parent | Sync with 2006.0 (diff) | |
download | gentoo-2-53eccf3601b4f25a9309f3e134e8eaf0e5cd7cff.tar.gz gentoo-2-53eccf3601b4f25a9309f3e134e8eaf0e5cd7cff.tar.bz2 gentoo-2-53eccf3601b4f25a9309f3e134e8eaf0e5cd7cff.zip |
Fixed dependencies and added amd64 support.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/soldieroffortune-demo/ChangeLog | 11 | ||||
-rw-r--r-- | games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild | 28 |
2 files changed, 27 insertions, 12 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/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 |