summaryrefslogtreecommitdiff
path: root/games-action/descent1-demodata
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/descent1-demodata
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/descent1-demodata')
-rw-r--r--games-action/descent1-demodata/Manifest6
-rw-r--r--games-action/descent1-demodata/descent1-demodata-1.4-r1.ebuild46
-rw-r--r--games-action/descent1-demodata/descent1-demodata-1.4.ebuild60
-rw-r--r--games-action/descent1-demodata/metadata.xml14
4 files changed, 126 insertions, 0 deletions
diff --git a/games-action/descent1-demodata/Manifest b/games-action/descent1-demodata/Manifest
new file mode 100644
index 000000000000..3319ac59b8ce
--- /dev/null
+++ b/games-action/descent1-demodata/Manifest
@@ -0,0 +1,6 @@
+DIST desc14sw.exe 2892216 SHA256 3dadb7fbc01efce2904d0908c55d9a9cf1f402e83bf771970552efaca15efcb0 SHA512 121bd909285138eef3009af4a46174a4af241b139230eda5c232fe710b17419e385ffeb97e13678c253390e6393615006c739a8dd4b0e14b375678491629ab3e WHIRLPOOL 5fbc95c6cbb5d26c30c3a5b9cf79b0fe0932d1a1b3886dc4db1e396854592c63e22e7f539b5fef04cb0eefaf902202a1de397d85adab8a7e2466c98127108534
+EBUILD descent1-demodata-1.4-r1.ebuild 935 SHA256 78c4c0a33b8b698fba57285650c5a046774ec5d47a61c4cb87fe0baca22f7594 SHA512 4c05b12a4bb66acac9c9446f77e0f500f27e6081ab1436736143ba3f1a840762c88bb73c1f8041a62215802010f5009d201d01753f94887ce08b5f8d1f8b32a6 WHIRLPOOL fce794d4ea4ef04bcbaf128d1342cd25b8218a7f013ef7f2ca4b479bfa22f33df49dba3dad6b7c787445d755db119e3d437a2d667f8ea10cb5324d0453b6f024
+EBUILD descent1-demodata-1.4.ebuild 1123 SHA256 78b801d23a476fef66e990d885d4a3777308d9b0d12b640773d05af3d46ce04b SHA512 4bdd8dcacc2bfa6540e6129a58f1b359351a6169052f37c868dc4d85ada21707caf0c654b27092aea9fa68988e16b7866a925458c0b2cb3acd3959219d22c1cb WHIRLPOOL 18ffbec7e101ef467c95d0ea408ee24175224bf36526190b97876ac670ba21374d8cfb76e298f421a5ff0f721620db1b3771260395372fbcaeef2b4697249d6c
+MISC ChangeLog 2457 SHA256 d4cbd4759ebba1fd7f6b216b9b5967461b27cafb0c5429a0cf66f8c79f40b8a3 SHA512 dd84a4b8d730f90fcb5761335ebc11beaea751ffa06cdae8a79f5d2fbb33ac253f51f34a58f8c1809be8be13127ad909dbd1da1334752e85fd30d0d6ba435514 WHIRLPOOL 9ea79a01b723188c021f7e3730fc882f6f1579d23b89ea0125687e53cef6cb55f75172a14da5426fad0dab93707428fa3f7b1a3342dc3fb0d985f4977a0efcaa
+MISC ChangeLog-2015 1221 SHA256 2185d7cc4ebaa5fc1accd64b07fb00991f22d8d7881cbbd6856d4e669323352f SHA512 e5fe11291d64b3b7bb83c30cc96c9195c60c2f8eb16c588ff0530808499c212a96553a15a4c79c1bacd0546b6e4ecbc73ff73c522885ddf30ba78f5d974c6151 WHIRLPOOL 3a4d423c278f32b7e6bb29cab2f806c795ff3858f33e88bf577df628a5f49d161c02957b2ea238895dedb38bd0e76b753a41b62700d8229f07395bb35267def3
+MISC metadata.xml 560 SHA256 67752027bc65c065e53250d2ccee2a3bfec7143b93657b145a7884ef620b0e7b SHA512 0f5457290e5c7f6d5abdd6d9b42ef06c8c6cd3c85032cc4c3aa90c67beb33d467bea45b8371cbb182e2d89bd27bc409c36ed27b438fc41c09825cdff1060c543 WHIRLPOOL defe44bc6f05fd2f7d6efb0412afe113805f2dffd3a4c9548c9819c75356e3a0d4ce52929230c6b7f3a9650d1f76c704e2fdad631894c6cc1f3348ac7a09c0fb
diff --git a/games-action/descent1-demodata/descent1-demodata-1.4-r1.ebuild b/games-action/descent1-demodata/descent1-demodata-1.4-r1.ebuild
new file mode 100644
index 000000000000..8a61ba5c2977
--- /dev/null
+++ b/games-action/descent1-demodata/descent1-demodata-1.4-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker
+
+DEMO="desc${PV//.}sw.exe"
+
+DESCRIPTION="Demo data files for Descent 1"
+HOMEPAGE="http://www.interplay.com/games/descent.php"
+SRC_URI="http://icculus.org/d2x/data/${DEMO}
+ ftp://ftp.funet.fi/pub/msdos/games/interplay/${DEMO}"
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="!games-action/descent1-data"
+
+DEPEND="app-arch/unzip
+ app-arch/unarj"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack_zip ${A}
+
+ unarj e DESCENT1.SOW || die
+ mv descent.pig{,1} || die
+ unarj e DESCENT2.SOW || die
+ mv descent.pig{,2} || die
+
+ # From the sows, big porkie pies shall grow
+ cat descent.pig{1,2} > descent.pig || die
+}
+
+src_install() {
+ insinto /usr/share/games/d1x
+ doins descent.{hog,pig}
+ dodoc *.txt
+}
+
+pkg_postinst() {
+ elog "A client is needed to run the game, e.g. games-action/dxx-rebirth."
+ echo
+}
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..167e52526d8f
--- /dev/null
+++ b/games-action/descent1-demodata/descent1-demodata-1.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils unpacker 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}
+ mirror://3dgamers/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() {
+ unpack_zip ${A}
+
+ unarj e DESCENT1.SOW || die
+ mv descent.pig{,1}
+ unarj e DESCENT2.SOW || die
+ mv descent.pig{,2}
+
+ # From the sows, big porkie pies shall grow
+ cat descent.pig{1,2} > descent.pig || die
+
+ rm *{1,2} *.{bat,exe,EXE,SOW,ubn}
+}
+
+src_install() {
+ local dir=${GAMES_DATADIR}/d1x
+
+ insinto "${dir}"
+ doins descent.*
+
+ 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/metadata.xml b/games-action/descent1-demodata/metadata.xml
new file mode 100644
index 000000000000..d14136fc9672
--- /dev/null
+++ b/games-action/descent1-demodata/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+<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>