summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/descent1-demodata')
-rw-r--r--games-action/descent1-demodata/ChangeLog11
-rw-r--r--games-action/descent1-demodata/Manifest26
-rw-r--r--games-action/descent1-demodata/descent1-demodata-1.4.ebuild61
-rw-r--r--games-action/descent1-demodata/files/digest-descent1-demodata-1.43
-rw-r--r--games-action/descent1-demodata/metadata.xml11
5 files changed, 112 insertions, 0 deletions
diff --git a/games-action/descent1-demodata/ChangeLog b/games-action/descent1-demodata/ChangeLog
new file mode 100644
index 000000000000..6097acca17e4
--- /dev/null
+++ b/games-action/descent1-demodata/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-action/descent1-demodata
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/descent1-demodata/ChangeLog,v 1.1 2007/01/09 17:15:54 wolf31o2 Exp $
+
+*descent1-demodata-1.4 (09 Jan 2007)
+
+ 09 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +descent1-demodata-1.4.ebuild:
+ Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug
+ #154591.
+
diff --git a/games-action/descent1-demodata/Manifest b/games-action/descent1-demodata/Manifest
new file mode 100644
index 000000000000..96325e9cf647
--- /dev/null
+++ b/games-action/descent1-demodata/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST desc14sw.exe 2892216 RMD160 2a3818a1bc4f52e21fff12b4692d7455742d8eae SHA1 0364a8280b8c10ccab009cf7ab8bb64ab6c27d90 SHA256 3dadb7fbc01efce2904d0908c55d9a9cf1f402e83bf771970552efaca15efcb0
+EBUILD descent1-demodata-1.4.ebuild 1411 RMD160 8d08e989403c809448974ce9d188db61f4c6d553 SHA1 943d36d20368b3cc5671ae75ca9c75a4ffa0f21c SHA256 72be60ab246559f0d131b60b60486faf8576bcce45ff5986915696fe57bde75a
+MD5 c841a9e0ab1c7386127bacdf2daf5485 descent1-demodata-1.4.ebuild 1411
+RMD160 8d08e989403c809448974ce9d188db61f4c6d553 descent1-demodata-1.4.ebuild 1411
+SHA256 72be60ab246559f0d131b60b60486faf8576bcce45ff5986915696fe57bde75a descent1-demodata-1.4.ebuild 1411
+MISC ChangeLog 459 RMD160 962b55634f580dc0c70a0ae24a1f91b2d8ce93ed SHA1 62c3132f2ec15548a7f3e35b0b3fd58425cae82f SHA256 c6c40c04661710977f51c3388e8fe369704898d5a4304d095b653d7909a228ed
+MD5 244a221fb603edd4626bd6e1b2247421 ChangeLog 459
+RMD160 962b55634f580dc0c70a0ae24a1f91b2d8ce93ed ChangeLog 459
+SHA256 c6c40c04661710977f51c3388e8fe369704898d5a4304d095b653d7909a228ed ChangeLog 459
+MISC metadata.xml 469 RMD160 2de98a09129bab257dae1b034568d3956b6de6b2 SHA1 16c945613235e3ea7f83dc72176da9a518e4c24b SHA256 2f3b8f55c783f0769e7d174e5ad54b6431c375cbc9a0deca11f489d9990f1163
+MD5 6ee3c53da4b4c1c75d438e3dfe0926c1 metadata.xml 469
+RMD160 2de98a09129bab257dae1b034568d3956b6de6b2 metadata.xml 469
+SHA256 2f3b8f55c783f0769e7d174e5ad54b6431c375cbc9a0deca11f489d9990f1163 metadata.xml 469
+MD5 701bb530d2f9beec11e428cb53a4ad8c files/digest-descent1-demodata-1.4 220
+RMD160 e5758752fa2025c49ec7eb04ba56c8fae069cdeb files/digest-descent1-demodata-1.4 220
+SHA256 4a865d06085d6f817edec8052f49d710f1ad8af855c5895652dd7e3295071110 files/digest-descent1-demodata-1.4 220
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFFo83QkT4lNIS36YERAj8eAJ0SZIFMryXgfEhzp1XQ1XzPq53XlQCgsXl0
+gKu1oKDajVdA9r9+uiUDU3g=
+=xnrw
+-----END PGP SIGNATURE-----
diff --git a/games-action/descent1-demodata/descent1-demodata-1.4.ebuild b/games-action/descent1-demodata/descent1-demodata-1.4.ebuild
new file mode 100644
index 000000000000..d25bae388b7f
--- /dev/null
+++ b/games-action/descent1-demodata/descent1-demodata-1.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/descent1-demodata/descent1-demodata-1.4.ebuild,v 1.1 2007/01/09 17:15:54 wolf31o2 Exp $
+
+inherit eutils games
+
+MY_PV=${PV/./}
+DEMO="desc${MY_PV}sw.exe"
+
+DESCRIPTION="Demo data files for Descent 1"
+HOMEPAGE="http://en.wikipedia.org/wiki/Descent_%28computer_game%29"
+SRC_URI="http://icculus.org/d2x/data/${DEMO}
+ ftp://ftp.planetmirror.com/pub/3dgamers/games/descent/${DEMO}
+ ftp://ftp.funet.fi/pub/msdos/games/interplay/${DEMO}"
+
+# See readme.txt
+LICENSE="free-noncomm"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="app-arch/unzip
+ app-arch/unarj"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unzip -qo "${DISTDIR}/${A}" || die "unzip failed"
+
+ unarj e DESCENT1.SOW || die "unarj DESCENT1.SOW failed"
+ mv descent.pig{,1}
+ unarj e DESCENT2.SOW || die "unarj DESCENT2.SOW failed"
+ mv descent.pig{,2}
+
+ # From the sows, big porkie pies shall grow
+ cat descent.pig{1,2} > descent.pig || die "cat descent.pig failed"
+
+ rm *{1,2} *.{bat,exe,EXE,SOW,ubn}
+}
+
+src_install() {
+ local dir=${GAMES_DATADIR}/d1x
+
+ insinto "${dir}"
+ doins descent.* || die "doins failed"
+
+ dodoc *.txt
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ elog "A client is needed to run the game, e.g. d1x-rebirth."
+ elog "Not all Descent 1 clients support the demo data."
+ echo
+}
+
diff --git a/games-action/descent1-demodata/files/digest-descent1-demodata-1.4 b/games-action/descent1-demodata/files/digest-descent1-demodata-1.4
new file mode 100644
index 000000000000..4d2ac121d86a
--- /dev/null
+++ b/games-action/descent1-demodata/files/digest-descent1-demodata-1.4
@@ -0,0 +1,3 @@
+MD5 c36ccd1f35841403a68a8359eb2a01d5 desc14sw.exe 2892216
+RMD160 2a3818a1bc4f52e21fff12b4692d7455742d8eae desc14sw.exe 2892216
+SHA256 3dadb7fbc01efce2904d0908c55d9a9cf1f402e83bf771970552efaca15efcb0 desc14sw.exe 2892216
diff --git a/games-action/descent1-demodata/metadata.xml b/games-action/descent1-demodata/metadata.xml
new file mode 100644
index 000000000000..821c5f02b7fe
--- /dev/null
+++ b/games-action/descent1-demodata/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription>
+Descent 1 is a classic first-person shooter released in 1995 by Interplay
+and Parallax. It was one of the first games with true 3-dimensional
+graphics, movement, and light sourcing. This is the demo data for the game
+which is used by the various Descent 1 source ports.
+</longdescription>
+</pkgmetadata>