summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-01-09 17:15:54 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-01-09 17:15:54 +0000
commita43c0d7287d4cda3bd1863d9b510c5afe5c68c4b (patch)
tree0e664e3c464d499c96d7089e04bd982f8438b7ec
parentNew ebuild, a handy tool for rsync mirrors (diff)
downloadgentoo-2-a43c0d7287d4cda3bd1863d9b510c5afe5c68c4b.tar.gz
gentoo-2-a43c0d7287d4cda3bd1863d9b510c5afe5c68c4b.tar.bz2
gentoo-2-a43c0d7287d4cda3bd1863d9b510c5afe5c68c4b.zip
Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug #154591.
(Portage version: 2.1.2_rc4-r1)
-rw-r--r--games-action/descent1-demodata/ChangeLog11
-rw-r--r--games-action/descent1-demodata/Manifest16
-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, 102 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..d2f9e96e7cef
--- /dev/null
+++ b/games-action/descent1-demodata/Manifest
@@ -0,0 +1,16 @@
+DIST desc14sw.exe 2892216 RMD160 2a3818a1bc4f52e21fff12b4692d7455742d8eae SHA1 0364a8280b8c10ccab009cf7ab8bb64ab6c27d90 SHA256 3dadb7fbc01efce2904d0908c55d9a9cf1f402e83bf771970552efaca15efcb0
+EBUILD descent1-demodata-1.4.ebuild 1288 RMD160 8db60e92bdcf8276cbb5cfa1ed1b1cb5d01d7a4c SHA1 8d759cf3e0c3dc8886da7fab8b15e0bdfb6c97f3 SHA256 a020b0efcaa746c694591b71bb3371b3b6c18d3ca539fbc124d6e143c3f9abff
+MD5 b2129757e5488579f0a965cc92cf06fd descent1-demodata-1.4.ebuild 1288
+RMD160 8db60e92bdcf8276cbb5cfa1ed1b1cb5d01d7a4c descent1-demodata-1.4.ebuild 1288
+SHA256 a020b0efcaa746c694591b71bb3371b3b6c18d3ca539fbc124d6e143c3f9abff descent1-demodata-1.4.ebuild 1288
+MISC ChangeLog 355 RMD160 5e3b80a9d25856a5055e63bba379cd3ec3351327 SHA1 88ce0d282e4503d1c69cd4745eed3d1ac65fbff2 SHA256 0e14de0d4e5c07a745be7e444c67c1685b05e9165e6fc5f236ec8c399ebd5026
+MD5 8e67522c54115fc467640cabdbe08a41 ChangeLog 355
+RMD160 5e3b80a9d25856a5055e63bba379cd3ec3351327 ChangeLog 355
+SHA256 0e14de0d4e5c07a745be7e444c67c1685b05e9165e6fc5f236ec8c399ebd5026 ChangeLog 355
+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
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>