diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-04-12 21:19:00 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-04-12 21:19:00 +0000 |
commit | b5f82a2f9409e7043d03141f332788548dfb6f2f (patch) | |
tree | 4c824e6aecdcb661de867bc83008c44394b8b837 /games-fps | |
parent | Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug #120358. (diff) | |
download | gentoo-2-b5f82a2f9409e7043d03141f332788548dfb6f2f.tar.gz gentoo-2-b5f82a2f9409e7043d03141f332788548dfb6f2f.tar.bz2 gentoo-2-b5f82a2f9409e7043d03141f332788548dfb6f2f.zip |
Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug #120422.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-fps')
5 files changed, 83 insertions, 0 deletions
diff --git a/games-fps/soldieroffortune-demo/ChangeLog b/games-fps/soldieroffortune-demo/ChangeLog new file mode 100644 index 000000000000..dae405b57c75 --- /dev/null +++ b/games-fps/soldieroffortune-demo/ChangeLog @@ -0,0 +1,11 @@ +# 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 $ + +*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. + diff --git a/games-fps/soldieroffortune-demo/Manifest b/games-fps/soldieroffortune-demo/Manifest new file mode 100644 index 000000000000..261d976ab93d --- /dev/null +++ b/games-fps/soldieroffortune-demo/Manifest @@ -0,0 +1,6 @@ +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 a880bcb33b6615d57acd27e91fd1c763 soldieroffortune-demo-0.57.ebuild 1114 +RMD160 6416c17bd27964fc82d4c08ae5e4b64eeea04fca soldieroffortune-demo-0.57.ebuild 1114 +SHA256 986ef8103234ec7c4e9eaafb1fb2c3d75183b4cafc49d18f7e2563c3b4e7a593 soldieroffortune-demo-0.57.ebuild 1114 diff --git a/games-fps/soldieroffortune-demo/files/digest-soldieroffortune-demo-0.57 b/games-fps/soldieroffortune-demo/files/digest-soldieroffortune-demo-0.57 new file mode 100644 index 000000000000..e1193f826147 --- /dev/null +++ b/games-fps/soldieroffortune-demo/files/digest-soldieroffortune-demo-0.57 @@ -0,0 +1,3 @@ +MD5 d9acb4bc5f4981f2b6c6af25ec0a9e7f sof-demo.run 92496052 +RMD160 923a3d4e3abaa2401df40938251f4b7654be0860 sof-demo.run 92496052 +SHA256 30f671a7e53c9005fea8ef5760e4174e7f7a31114ed5bfd6c8525ceb1bb6d929 sof-demo.run 92496052 diff --git a/games-fps/soldieroffortune-demo/metadata.xml b/games-fps/soldieroffortune-demo/metadata.xml new file mode 100644 index 000000000000..51084d08a5c9 --- /dev/null +++ b/games-fps/soldieroffortune-demo/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> + <email>wolf31o2@gentoo.org</email> + <name>Chris Gianelloni</name> +</maintainer> +<longdescription> +Soldier of Fortune is a first-person 3-D shooter based on the mercenary trade. You play as John, an ex-military mercinary who still has plenty of good friends on the inside. For a wad of bucks, you'll do the job -- no cares, no worries. Just get the gun, play for keeps, get paid, on to the next one -- that's your life. That's what you do. And you're good at it, one of the best even. But now is the time for your biggest challenge ever. This is the demo version of the game. +</longdescription> +</pkgmetadata> diff --git a/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild b/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild new file mode 100644 index 000000000000..2269be3c41bf --- /dev/null +++ b/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild @@ -0,0 +1,51 @@ +# 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 $ + +inherit eutils multilib games + +MY_PN=${PN/soldieroffortune/sof} + +DESCRIPTION="First-person shooter based on the mercenary trade" +HOMEPAGE="http://www.lokigames.com/products/sof/" +SRC_URI="mirror://lokigames/loki_demos/${MY_PN}.run" + +LICENSE="LOKI-EULA" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +RESTRICT="nostrip" + +DEPEND="games-util/loki_patch" +RDEPEND="media-libs/openal" + +S=${WORKDIR} + +GAMES_CHECK_LICENSE="yes" +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} + +src_unpack() { + unpack_makeself +} + +src_install() { + local demo="data/demos/sof_demo" + local exe="sof-bin.x86" + + loki_patch patch.dat data/ || die "loki patch failed" + + insinto "${dir}" + exeinto "${dir}" + doins -r "${demo}"/* || die "doins failed" + doexe "${demo}/${exe}" || die "doexe failed" + + # Replace bad library + dosym /usr/$(get_libdir)/libSDL.so "${dir}"/libSDL-1.1.so.0 || die + + games_make_wrapper ${PN} "./${exe}" "${dir}" "${dir}" + newicon "${demo}"/launch/box.png ${PN}.png || die + make_desktop_entry ${PN} "Soldier of Fortune Demo" + + prepgamesdirs +} |