From 57acad8efeef315850fb1bd9bdf71095b35b8c4d Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 9 Jan 2007 21:38:20 +0000 Subject: [PATCH] Initial import. Ebuild by Paul Bredbury and based loosely on games-action/d2x. Closing bug #137306. Package-Manager: portage-2.1.2_rc4-r1 --- games-action/descent2-demodata/ChangeLog | 11 +++ games-action/descent2-demodata/Manifest | 26 +++++++ .../descent2-demodata-1.0.ebuild | 73 +++++++++++++++++++ .../files/digest-descent2-demodata-1.0 | 3 + games-action/descent2-demodata/metadata.xml | 5 ++ 5 files changed, 118 insertions(+) create mode 100644 games-action/descent2-demodata/ChangeLog create mode 100644 games-action/descent2-demodata/Manifest create mode 100644 games-action/descent2-demodata/descent2-demodata-1.0.ebuild create mode 100644 games-action/descent2-demodata/files/digest-descent2-demodata-1.0 create mode 100644 games-action/descent2-demodata/metadata.xml diff --git a/games-action/descent2-demodata/ChangeLog b/games-action/descent2-demodata/ChangeLog new file mode 100644 index 000000000000..350b47bda920 --- /dev/null +++ b/games-action/descent2-demodata/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-action/descent2-demodata +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/descent2-demodata/ChangeLog,v 1.1 2007/01/09 21:38:20 wolf31o2 Exp $ + +*descent2-demodata-1.0 (09 Jan 2007) + + 09 Jan 2007; Chris Gianelloni +metadata.xml, + +descent2-demodata-1.0.ebuild: + Initial import. Ebuild by Paul Bredbury and based loosely + on games-action/d2x. Closing bug #137306. + diff --git a/games-action/descent2-demodata/Manifest b/games-action/descent2-demodata/Manifest new file mode 100644 index 000000000000..ddfb90d4b0fd --- /dev/null +++ b/games-action/descent2-demodata/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST d2demo10.zip 4306833 RMD160 6f78a26823bd8470a68a810a7a1bb592a5a4807d SHA1 f44941194dd8f5521615499df826d4e148ba26e9 SHA256 f8d005670fe5cd17e07ca9bf4022f1045aed436639c37f1e83dd647e14fcec1f +EBUILD descent2-demodata-1.0.ebuild 1914 RMD160 85ba7fde6848292cd342d0a3529702b63ea27df9 SHA1 2922c546a0c9703ad1b9f7b1ee8083ccac202380 SHA256 225c23561d90ac47bbd7f8483f97e3618d3b1930bc4ca1cc25bb191ea8cb3f7e +MD5 c5b6abafabc666f56bfce94886a25b86 descent2-demodata-1.0.ebuild 1914 +RMD160 85ba7fde6848292cd342d0a3529702b63ea27df9 descent2-demodata-1.0.ebuild 1914 +SHA256 225c23561d90ac47bbd7f8483f97e3618d3b1930bc4ca1cc25bb191ea8cb3f7e descent2-demodata-1.0.ebuild 1914 +MISC ChangeLog 497 RMD160 6695d5aa57d8655e1cb796c659246f682e61c876 SHA1 39bad95e44befbd84cbbfd24a6452088aa07cc93 SHA256 4d81be5efb5a3cdae532c75375b8212325766728aefe7fa0edfbf14b15fb06de +MD5 19fde1a20cbbce25cafa1673dac00406 ChangeLog 497 +RMD160 6695d5aa57d8655e1cb796c659246f682e61c876 ChangeLog 497 +SHA256 4d81be5efb5a3cdae532c75375b8212325766728aefe7fa0edfbf14b15fb06de ChangeLog 497 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 2147b86a14cb5daf4359c9f229444a01 files/digest-descent2-demodata-1.0 220 +RMD160 a274022c4b2684b0327fc69550b81e7342b76060 files/digest-descent2-demodata-1.0 220 +SHA256 a90288e67de568af1dcb28d5907be120ef081b8eafc143680a3ff7d4082219ca files/digest-descent2-demodata-1.0 220 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFpAtSkT4lNIS36YERAhN5AJ42ZLZHupjo5X520q77JZjPAqy3hgCfSydY +9WfCZRPW6Ux69XuxJF9RrHI= +=VagY +-----END PGP SIGNATURE----- diff --git a/games-action/descent2-demodata/descent2-demodata-1.0.ebuild b/games-action/descent2-demodata/descent2-demodata-1.0.ebuild new file mode 100644 index 000000000000..8fe17820d431 --- /dev/null +++ b/games-action/descent2-demodata/descent2-demodata-1.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/descent2-demodata/descent2-demodata-1.0.ebuild,v 1.1 2007/01/09 21:38:20 wolf31o2 Exp $ + +inherit eutils games + +MY_PN="d2demo" +MY_PV=${PV/./} +DEMO="${MY_PN}${MY_PV}.zip" + +DESCRIPTION="Demo data files for Descent 2" +HOMEPAGE="http://www.interplay.com/games/product.asp?GameID=109" +SRC_URI="ftp://ftp.funet.fi/pub/msdos/games/interplay/${DEMO} + ftp://ftp.demon.co.uk/pub/ibmpc/dos/games/descent/${DEMO} + mirror://3dgamers/descent2/${DEMO}" + +# See README.TXT +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +# d2x-0.2.5-r2 may include the demo data itself +# d2x-0.2.5-r3 does not include the demo data +RDEPEND="|| ( + games-action/d2x-rebirth + games-action/d2x-xl + >=games-action/d2x-0.2.5-r3 )" +DEPEND="! ${MY_PN}.ham || die "cat ham failed" + cat ${MY_PN}.pig{2,3} > ${MY_PN}.pig || die "cat pig failed" + + rm *{1,2,3} *.{386,bat,ubn} eregcard.ini + mkdir controls + mv *.b50 descent2.* controls +} + +src_install() { + insinto "${dir}" + # The "controls" directory is not needed, nor the ini files + doins d2demo.* || die "doins failed" + + dodoc *.txt + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + elog "A client is needed to run the game, e.g. games-action/d2x-xl." + elog "Not all Descent 2 clients support the demo data." + echo +} diff --git a/games-action/descent2-demodata/files/digest-descent2-demodata-1.0 b/games-action/descent2-demodata/files/digest-descent2-demodata-1.0 new file mode 100644 index 000000000000..d0a205aff0c0 --- /dev/null +++ b/games-action/descent2-demodata/files/digest-descent2-demodata-1.0 @@ -0,0 +1,3 @@ +MD5 03c6d632febb27d5f64f38305a9fc467 d2demo10.zip 4306833 +RMD160 6f78a26823bd8470a68a810a7a1bb592a5a4807d d2demo10.zip 4306833 +SHA256 f8d005670fe5cd17e07ca9bf4022f1045aed436639c37f1e83dd647e14fcec1f d2demo10.zip 4306833 diff --git a/games-action/descent2-demodata/metadata.xml b/games-action/descent2-demodata/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-action/descent2-demodata/metadata.xml @@ -0,0 +1,5 @@ + + + +games + -- 2.26.2