* [gentoo-commits] repo/gentoo:master commit in: games-fps/rtcwmp-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: e22d057f8d7cd29d837970beb857bc3af29f9d5c
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 6 22:54:00 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=e22d057f
games-fps/rtcwmp-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/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild | 69 +++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild b/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild
new file mode 100644
index 00000000000..a62dd413ecd
--- /dev/null
+++ b/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils unpacker
+
+MY_P="wolfmpdemo-linux-${PV}-MP.x86.run"
+
+DESCRIPTION="Return to Castle Wolfenstein - Multi-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 GPL-2" # gpl for init script bug #425946
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="dedicated"
+RESTRICT="strip mirror"
+
+RDEPEND="sys-libs/glibc
+ amd64? ( sys-libs/glibc[multilib] )
+ dedicated? ( app-misc/screen )
+ !dedicated? (
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXext
+ )"
+
+QA_PREBUILT="/opt/${PN}/*
+ /opt/${PN}/demomain/*"
+
+S=${WORKDIR}
+
+dir="/opt/${PN}"
+
+src_install() {
+ insinto "${dir}"
+ doins -r demomain Docs
+ doins WolfMP.xpm
+ dodoc CHANGES QUICKSTART
+
+ exeinto "${dir}"
+ doexe bin/x86/wolfded.x86 openurl.sh
+ make_wrapper rtcwmp-demo-ded ./wolfded.x86 "${dir}" "${dir}"
+ newinitd "${FILESDIR}"/rtcwmp-demo-ded.rc rtcwmp-demo-ded
+ sed "s:GENTOO_DIR:${dir}:" "${ED}"/etc/init.d/rtcwmp-demo-ded || die
+
+ if ! use dedicated; then
+ doexe bin/x86/wolf.x86
+ make_wrapper rtcwmp-demo ./wolf.x86 "${dir}" "${dir}"
+ newicon WolfMP.xpm rtcwmp-demo.xpm
+ make_desktop_entry rtcwmp-demo "Return to Castle Wolfenstein (MP demo)" \
+ rtcwmp-demo.xpm
+ fi
+}
+
+pkg_postinst() {
+ elog "Install 'rtcwsp-demo' for single-player"
+ elog
+ if ! use dedicated; then
+ elog "Run 'rtcwmp-demo' for multi-player"
+ elog
+ fi
+ elog "Start a dedicated server with"
+ elog "'/etc/init.d/rtcwmp-demo-ded start'"
+ elog
+ elog "Start the server at boot with"
+ elog "'rc-update add rtcwmp-demo-ded default'"
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/rtcwmp-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: c5ebbd91d910bd8aba007ed4ea134945aa9f8ea1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 15:39:31 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 15:51:13 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ebbd91
games-fps/rtcwmp-demo: Remove mirror://3dgamers
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild b/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild
index a62dd413ecd..9017bf26c17 100644
--- a/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild
+++ b/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-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="wolfmpdemo-linux-${PV}-MP.x86.run"
DESCRIPTION="Return to Castle Wolfenstein - Multi-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 GPL-2" # gpl for init script bug #425946
SLOT="0"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/rtcwmp-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: 18c13817295c9f1608d127f45d01c3cba76563d1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 17:06:20 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 17:15:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c13817
games-fps/rtcwmp-demo: Add RESTRICT=bindist
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild b/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild
index 9017bf26c17..0589352ee9e 100644
--- a/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild
+++ b/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild
@@ -14,7 +14,7 @@ LICENSE="RTCW GPL-2" # gpl for init script bug #425946
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="dedicated"
-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/rtcwmp-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