public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-fps/rtcwsp-demo/
@ 2017-09-06 22:58 Austin English
  0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2017-09-06 22:58 UTC (permalink / raw
  To: gentoo-commits

commit:     245d06f5428749dad98e6f54f3715a56d756cb52
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  6 22:55:52 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Sep  6 22:58:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245d06f5

games-fps/rtcwsp-demo: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild | 56 ++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

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 00000000000..aac6233260e
--- /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"
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/rtcwsp-demo/
@ 2019-09-15 15:51 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2019-09-15 15:51 UTC (permalink / raw
  To: gentoo-commits

commit:     8cea383980acffb3cb80f9d4e357a4756d7fd02c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 15:39:33 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 15:51:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cea3839

games-fps/rtcwsp-demo: Remove mirror://3dgamers

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild
index aac6233260e..cdc44536850 100644
--- a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild
+++ b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,8 +8,7 @@ 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}"
+SRC_URI="mirror://idsoftware/wolf/linux/old/${MY_P}"
 
 LICENSE="RTCW"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/rtcwsp-demo/
@ 2019-09-23 17:16 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2019-09-23 17:16 UTC (permalink / raw
  To: gentoo-commits

commit:     6bb7a118e4a5ea04f212035ae4b2b5572a0e4d4d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 17:06:28 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 17:15:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb7a118

games-fps/rtcwsp-demo: Add RESTRICT=bindist

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild
index cdc44536850..e1522d043f6 100644
--- a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild
+++ b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild
@@ -14,7 +14,7 @@ LICENSE="RTCW"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
-RESTRICT="strip mirror"
+RESTRICT="bindist strip mirror"
 
 RDEPEND="sys-libs/glibc
 	amd64? ( sys-libs/glibc[multilib] )


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-23 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-23 17:16 [gentoo-commits] repo/gentoo:master commit in: games-fps/rtcwsp-demo/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2019-09-15 15:51 Michał Górny
2017-09-06 22:58 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox