diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-fps/rtcwsp-demo | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-fps/rtcwsp-demo')
-rw-r--r-- | games-fps/rtcwsp-demo/Manifest | 3 | ||||
-rw-r--r-- | games-fps/rtcwsp-demo/metadata.xml | 12 | ||||
-rw-r--r-- | games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild | 56 |
3 files changed, 71 insertions, 0 deletions
diff --git a/games-fps/rtcwsp-demo/Manifest b/games-fps/rtcwsp-demo/Manifest new file mode 100644 index 000000000000..2f9755aa28d1 --- /dev/null +++ b/games-fps/rtcwsp-demo/Manifest @@ -0,0 +1,3 @@ +DIST wolfspdemo-linux-1.1b.x86.run 117813349 BLAKE2B bb5ee4bddc7bc11a093a383bf750717ca435facc5cc314a3465bea4e04bfa186012088a7cd36156c49bbc43647e8603db10f3929aaad033084eb510b65534112 SHA512 3fc540c8721780747e14fe66d634c1347ab0cbc09eb795edfad0802663caa63393ac5a224792fd3e423e725b66cc2738877324c86a08698e0d7b6f2f804b7392 +EBUILD rtcwsp-demo-1.1b-r2.ebuild 1280 BLAKE2B 5793e4f3a8173cfd61a29044a7f987e3578480c272a884419cdb2b5dad05ca1db0d8b1c1bd31816d44ff44534dc12338ac9de795e9f88981d7040b46212a4da4 SHA512 8001a2b85c4eb0680a2b95b9cb466b61b4a8b686578858e961824eeb20f13f3292ab81643f39efced444297724e9bbd58de7bed6512a08a79e70ffbd878ca5d4 +MISC metadata.xml 392 BLAKE2B c1de2b6454879bfdf4efd4afc0f39bbbd7224e086534f414f453f2389fbc91afa33577cde57a6209163e259d4d8edbe7fa22d4b4d37452e8f5f8263a0fae215d SHA512 341a171b1ee0fd2bf16c24124366e027a008c274dea77866ab95c8103c675cd33684ecf295f2a4b2e2075e6770bdfcfbab944236865c43855e57337cb37a51b5 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-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" +} |