summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-12 21:19:00 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-12 21:19:00 +0000
commit7d42435bffc9eec21263285f3557a2c1a8f2a05d (patch)
tree66a2f84006710457ec459874a52f99c26b3b5a78 /games-fps/soldieroffortune-demo
parentInitial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug #120358. (diff)
downloadhistorical-7d42435bffc9eec21263285f3557a2c1a8f2a05d.tar.gz
historical-7d42435bffc9eec21263285f3557a2c1a8f2a05d.tar.bz2
historical-7d42435bffc9eec21263285f3557a2c1a8f2a05d.zip
Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug #120422.
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/files/digest-soldieroffortune-demo-0.573
-rw-r--r--games-fps/soldieroffortune-demo/metadata.xml12
-rw-r--r--games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild51
5 files changed, 89 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..d105e45b9b45
--- /dev/null
+++ b/games-fps/soldieroffortune-demo/Manifest
@@ -0,0 +1,12 @@
+MD5 54070a519e7206776973d38df3d9136a ChangeLog 471
+RMD160 970264d89308f1e97ff6e22b816246be75baadd5 ChangeLog 471
+SHA256 ed5434741ae8c3191363495780ca53ebfa4e26f4a7732205f03fc8e624f77d5c ChangeLog 471
+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
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
+}