summaryrefslogtreecommitdiff
path: root/games-fps/rtcwsp-demo
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-fps/rtcwsp-demo
reinit the tree, so we can have metadata
Diffstat (limited to 'games-fps/rtcwsp-demo')
-rw-r--r--games-fps/rtcwsp-demo/Manifest6
-rw-r--r--games-fps/rtcwsp-demo/metadata.xml12
-rw-r--r--games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild58
-rw-r--r--games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild56
4 files changed, 132 insertions, 0 deletions
diff --git a/games-fps/rtcwsp-demo/Manifest b/games-fps/rtcwsp-demo/Manifest
new file mode 100644
index 000000000000..b41a1ac53e7b
--- /dev/null
+++ b/games-fps/rtcwsp-demo/Manifest
@@ -0,0 +1,6 @@
+DIST wolfspdemo-linux-1.1b.x86.run 117813349 SHA256 dbff5ea928802b1bddfd4c171bf08ed4294b2da0273e1cf0802fdcedc40c23c3 SHA512 3fc540c8721780747e14fe66d634c1347ab0cbc09eb795edfad0802663caa63393ac5a224792fd3e423e725b66cc2738877324c86a08698e0d7b6f2f804b7392 WHIRLPOOL e0c47261056d9e78a42183b02b4910f3a12870095bdb83510b535c3dd82414a4c6e16126047ba967e4adfaf1887fbf2b81a5d9473adf547e2d800972f6af20b8
+EBUILD rtcwsp-demo-1.1b-r1.ebuild 1345 SHA256 001cce0b7898565cc78defebdff3baad448cc7abc28823e2aad77394c20376af SHA512 be841030075e145672a1e63df567aace5270e4b970bd4ef8904e5b6038e33fdee37202f938b096f2e530450e373b36deb01323d4a798f4b17085ef07d3b6a172 WHIRLPOOL 5f0efd8bc1ad48bc13a9ed61b48a0891aeac4883cdd85285729cbdd906bce0dfaa2157f5a9bfcad4f4c6d37c377001c3644f51016ededaa6e95b8644ddd16ee0
+EBUILD rtcwsp-demo-1.1b-r2.ebuild 1280 SHA256 5483aa20b8befcea560308a81c7c33d85d2b5c05fdba9025145878e33708b553 SHA512 8001a2b85c4eb0680a2b95b9cb466b61b4a8b686578858e961824eeb20f13f3292ab81643f39efced444297724e9bbd58de7bed6512a08a79e70ffbd878ca5d4 WHIRLPOOL bb763bb9ff1e2ec33e46b495691daeb0faf5bc50ee170cb49929678275d8a344fbc0c66198085b331f22c9e637fc446c17218fd604fb46e867911080ff3d62c9
+MISC ChangeLog 2444 SHA256 4f0b44cd422581da64e8785693d9d7276ad8a810cbd662669b758c22563d1530 SHA512 1ea4d27b1f43c2b65e38e466960167e31be5722cda012c92c84f7ec3f959937c629b05849be2aed447c8209ea42f2d2c2a60e1a9b74d719d37949ecc7ab48c38 WHIRLPOOL 1e0d216a4f28ac2e3ef79b89ef10aa262a1fadf845e88231eb9df5b7132253abc3045e27a844bfeccb201c017b57d1150f949b6b3716e0a17911ca799949daa7
+MISC ChangeLog-2015 2361 SHA256 da9150ac13a584aff4d4aa2d14932405da969f0c273d99f7b806596c3fd502e6 SHA512 5039efdfeb446bd52604fa49229d4f5de44d85aeb291f1cc84ee3c43d0130648460a315aba1cc09eba4775e671cac465c431245345278fa2a2f7a8f28542121f WHIRLPOOL 3ce7114a9ac7b6e504906ba66815d95edabeab7039f8b99f77be80ddd2aa3eceeaf02fd06aa2f7fda8ed952681234ca7352f57b97ba43c17ba71b113d15501e0
+MISC metadata.xml 392 SHA256 f62283617a5579a3782d774327ac20a9a2e4f7cc68f1fb9d96d8a1554589a2e3 SHA512 341a171b1ee0fd2bf16c24124366e027a008c274dea77866ab95c8103c675cd33684ecf295f2a4b2e2075e6770bdfcfbab944236865c43855e57337cb37a51b5 WHIRLPOOL 5b4d62265eb1a58a09a841ebbdb375236c0ffbd286740b3e61cf983adb8436eb4f92ff20ba7f242edec1200ac00c0d2b20f212a9f65a68351d341383b64a7144
diff --git a/games-fps/rtcwsp-demo/metadata.xml b/games-fps/rtcwsp-demo/metadata.xml
new file mode 100644
index 000000000000..5b9fbad7c313
--- /dev/null
+++ b/games-fps/rtcwsp-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>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+<longdescription>
+The sequel to id Software's classic Wolfenstein 3-D. This version of the demo
+is only for single-player.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild
new file mode 100644
index 000000000000..642b5c127a6f
--- /dev/null
+++ b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils unpacker games
+
+MY_P="wolfspdemo-linux-${PV}.x86.run"
+
+DESCRIPTION="Return to Castle Wolfenstein - Single-player demo"
+HOMEPAGE="http://games.activision.com/games/wolfenstein/"
+SRC_URI="mirror://idsoftware/wolf/linux/old/${MY_P}
+ mirror://3dgamers/returnwolfenstein/${MY_P}"
+
+LICENSE="RTCW"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+RESTRICT="strip mirror"
+
+RDEPEND="sys-libs/glibc
+ amd64? ( sys-libs/glibc[multilib] )
+ virtual/opengl[abi_x86_32(-)]
+ x11-libs/libX11[abi_x86_32(-)]
+ x11-libs/libXext[abi_x86_32(-)]"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+src_install() {
+ insinto "${dir}"
+ doins -r demomain Docs
+
+ exeinto "${dir}"
+ doexe bin/x86/wolfsp.x86 openurl.sh || die "copying exe"
+
+ games_make_wrapper ${PN} ./wolfsp.x86 "${dir}" "${dir}"
+
+ # fix buffer overflow
+ sed -i -e '/^exec/i \
+export MESA_EXTENSION_MAX_YEAR=2003 \
+export __GL_ExtensionStringVersion=17700' "${ED}/${GAMES_BINDIR}"/${PN}
+
+ doins WolfSP.xpm CHANGES
+ newicon WolfSP.xpm ${PN}.xpm
+
+ prepgamesdirs
+ make_desktop_entry ${PN} "Return to Castle Wolfenstein (SP demo)" \
+ ${PN}.xpm
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "Install 'rtcwmp-demo' for multi-player"
+ elog
+ elog "Run '${PN}' for single-player"
+}
diff --git a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild
new file mode 100644
index 000000000000..aac6233260ea
--- /dev/null
+++ b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils unpacker
+
+MY_P="wolfspdemo-linux-${PV}.x86.run"
+
+DESCRIPTION="Return to Castle Wolfenstein - Single-player demo"
+HOMEPAGE="http://games.activision.com/games/wolfenstein/"
+SRC_URI="mirror://idsoftware/wolf/linux/old/${MY_P}
+ mirror://3dgamers/returnwolfenstein/${MY_P}"
+
+LICENSE="RTCW"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip mirror"
+
+RDEPEND="sys-libs/glibc
+ amd64? ( sys-libs/glibc[multilib] )
+ virtual/opengl[abi_x86_32(-)]
+ x11-libs/libX11[abi_x86_32(-)]
+ x11-libs/libXext[abi_x86_32(-)]"
+
+S=${WORKDIR}
+
+dir="/opt/${PN}"
+#Ddir=${D}/${dir}
+
+src_install() {
+ insinto "${dir}"
+ doins -r demomain Docs
+
+ exeinto "${dir}"
+ doexe bin/x86/wolfsp.x86 openurl.sh || die "copying exe"
+
+ make_wrapper ${PN} ./wolfsp.x86 "${dir}" "${dir}"
+
+ # fix buffer overflow
+ sed -i -e '/^exec/i \
+export MESA_EXTENSION_MAX_YEAR=2003 \
+export __GL_ExtensionStringVersion=17700' "${ED}/usr/bin/${PN}"
+
+ doins WolfSP.xpm CHANGES
+ newicon WolfSP.xpm ${PN}.xpm
+
+ make_desktop_entry ${PN} "Return to Castle Wolfenstein (SP demo)" \
+ ${PN}.xpm
+}
+
+pkg_postinst() {
+ elog "Install 'rtcwmp-demo' for multi-player"
+ elog
+ elog "Run '${PN}' for single-player"
+}