public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/
@ 2016-01-13  4:57 Michael Sterrett
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Sterrett @ 2016-01-13  4:57 UTC (permalink / raw
  To: gentoo-commits

commit:     9abb74de765cfa8a57ee07009c2fcf3b264c1939
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 04:51:09 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 04:51:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9abb74de

games-fps/ut2003-demo: add QA_PREBUILT; tidy

Package-Manager: portage-2.2.26

 games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
index 01d9279..e933177 100644
--- a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
+++ b/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
@@ -32,11 +32,11 @@ S=${WORKDIR}
 dir=${GAMES_PREFIX_OPT}/${PN}
 Ddir=${D}/${dir}
 
+QA_PREBUILT="${dir:1}/*.so ${dir:1}/*-bin ${dir:1}/System/libSDL-1.2.so.0"
+
 src_unpack() {
-	unpack_makeself "${DISTDIR}"/ut2003demo-lnx-${PV}.sh.bin \
-		|| die "unpacking demo"
-	unzip "${DISTDIR}"/UT2003CrashFix.zip \
-		|| die "unpacking crash-fix"
+	unpack_makeself "${DISTDIR}"/ut2003demo-lnx-${PV}.sh.bin || die
+	unzip "${DISTDIR}"/UT2003CrashFix.zip || die
 	cd "${S}"
 	unpack ./setupstuff.tar.gz || die
 	unpack ./ut2003lnx_demo.tar.bz2 || die
@@ -64,29 +64,25 @@ src_install() {
 			-e 's/ViewportManager=WinDrv.WindowsClient/\;ViewportManager=WinDrv.WindowsClient/' \
 			-e 's/\;RenderDevice=OpenGLDrv.OpenGLRenderDevice/RenderDevice=OpenGLDrv.OpenGLRenderDevice/' \
 			-e 's/\;ViewportManager=SDLDrv.SDLClient/ViewportManager=SDLDrv.SDLClient/' \
-			"${Ddir}"/Benchmark/Stuff/${f} \
-			|| die "sed ${dir}/Benchmark/Stuff/${f} failed"
+			"${Ddir}"/Benchmark/Stuff/${f} || die
 	done
 
 	# Have the benchmarks run the nifty wrapper script rather than
 	# ../System/ut2003-bin directly
 	for f in "${Ddir}"/Benchmark/*-*.sh ; do
 		sed -i \
-			-e 's:\.\./System/ut2003-bin:../ut2003_demo:' "${f}" \
-			|| die "sed ${f} failed"
+			-e 's:\.\./System/ut2003-bin:../ut2003_demo:' "${f}" || die
 	done
 
 	# Wrapper and benchmark-scripts
-	dogamesbin "${FILESDIR}"/ut2003-demo || die "dogamesbin failed"
+	dogamesbin "${FILESDIR}"/ut2003-demo
 	exeinto "${dir}"/Benchmark
 	doexe "${FILESDIR}/"{benchmark,results.sh}
 	sed -i -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \
-		"${ED}/${GAMES_BINDIR}/${PN}" "${ED}/${dir}"/Benchmark/benchmark \
-		|| die "sed GAMES_PREFIX_OPT"
+		"${ED}/${GAMES_BINDIR}/${PN}" "${ED}/${dir}"/Benchmark/benchmark || die
 
 	# Here we apply DrSiN's crash patch
-	cp "${S}"/CrashFix/System/crashfix.u "${Ddir}"/System \
-		|| die "CrashFix failed"
+	cp "${S}"/CrashFix/System/crashfix.u "${Ddir}"/System || die
 
 ed "${Ddir}"/System/Default.ini >/dev/null 2>&1 <<EOT
 $


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/
@ 2017-12-01 19:31 David Seifert
  0 siblings, 0 replies; 6+ messages in thread
From: David Seifert @ 2017-12-01 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     582b5179338bc4939d762a4f0b178ded919bc929
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  1 18:56:52 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec  1 19:28:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=582b5179

games-fps/ut2003-demo: [QA] Fix DESCRIPTION.toolong

 games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
index 317f0d5235e..2300c78fa96 100644
--- a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
+++ b/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 
 inherit eutils unpacker games
 
-DESCRIPTION="Demo for the sequel to the 1999 Game of the Year multi-player first-person shooter"
+DESCRIPTION="Demo for the sequel to the 1999 multi-player first-person shooter"
 HOMEPAGE="http://www.ut2003.com/"
 SRC_URI="http://unreal.epicgames.com/linux/ut2003/ut2003demo-lnx-${PV}.sh.bin
 	http://download.factoryunreal.com/mirror/UT2003CrashFix.zip


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/
@ 2020-06-21 10:25 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2020-06-21 10:25 UTC (permalink / raw
  To: gentoo-commits

commit:     8f61b47f03e79c2da2d94e634690d5c855525871
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 10:09:11 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 10:25:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f61b47f

games-fps/ut2003-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../{ut2003-demo-2206-r3.ebuild => ut2003-demo-2206-r4.ebuild}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r4.ebuild
similarity index 98%
rename from games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
rename to games-fps/ut2003-demo/ut2003-demo-2206-r4.ebuild
index 2300c78fa96..2f1817e72c8 100644
--- a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
+++ b/games-fps/ut2003-demo/ut2003-demo-2206-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -20,7 +20,7 @@ RESTRICT="strip"
 DEPEND="app-arch/unzip"
 RDEPEND="
 	sys-devel/bc
-	virtual/libstdc++:3.3
+	sys-libs/libstdc++-v3:5
 	virtual/opengl[abi_x86_32(-)]
 	x11-libs/libX11[abi_x86_32(-)]
 	x11-libs/libXext[abi_x86_32(-)]


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/
@ 2021-04-09 19:33 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-04-09 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     83ae860555aa38b6219428e7d7351aa297b6e673
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  9 19:30:22 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  9 19:31:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ae8605

games-fps/ut2003-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...o-2206-r4.ebuild => ut2003-demo-2206-r5.ebuild} | 41 +++++++++++-----------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r4.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
similarity index 84%
rename from games-fps/ut2003-demo/ut2003-demo-2206-r4.ebuild
rename to games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
index 2f1817e72c8..707039fffb5 100644
--- a/games-fps/ut2003-demo/ut2003-demo-2206-r4.ebuild
+++ b/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
@@ -1,15 +1,16 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils unpacker games
+inherit desktop unpacker
 
 DESCRIPTION="Demo for the sequel to the 1999 multi-player first-person shooter"
 HOMEPAGE="http://www.ut2003.com/"
 SRC_URI="http://unreal.epicgames.com/linux/ut2003/ut2003demo-lnx-${PV}.sh.bin
 	http://download.factoryunreal.com/mirror/UT2003CrashFix.zip
 	https://dev.gentoo.org/~wolf31o2/sources/${PN}/${PN}-misc.tar.bz2"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
@@ -26,17 +27,16 @@ RDEPEND="
 	x11-libs/libXext[abi_x86_32(-)]
 "
 
-S=${WORKDIR}
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
 
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-
-QA_PREBUILT="${dir:1}/*.so ${dir:1}/*-bin ${dir:1}/System/libSDL-1.2.so.0"
+QA_PREBUILT="${dir}/*.so ${dir}/*-bin ${dir}/System/libSDL-1.2.so.0"
 
 src_unpack() {
 	unpack_makeself "${DISTDIR}"/ut2003demo-lnx-${PV}.sh.bin || die
 	unzip "${DISTDIR}"/UT2003CrashFix.zip || die
-	cd "${S}"
+
+	cd "${S}" || die
 	unpack ./setupstuff.tar.gz || die
 	unpack ./ut2003lnx_demo.tar.bz2 || die
 	unpack ${PN}-misc.tar.bz2 || die
@@ -48,16 +48,14 @@ src_install() {
 
 	local i
 	for i in Animations Benchmark Help KarmaData Maps Music Sounds \
-	StaticMeshes System Textures Web extras
-	do
+			StaticMeshes System Textures Web extras ; do
 		dodir "${dir}"/${i}
-		cp -pPR "${S}"/${i}/* "${Ddir}"/${i}
+		cp -pPR "${S}"/${i}/* "${Ddir}"/${i} || die
 	done
 
 	# Fix the benchmark configurations to use SDL rather than the Windows driver
 	local f
-	for f in MaxDetail.ini MinDetail.ini
-	do
+	for f in MaxDetail.ini MinDetail.ini ; do
 		sed -i \
 			-e 's/RenderDevice=D3DDrv.D3DRenderDevice/\;RenderDevice=D3DDrv.D3DRenderDevice/' \
 			-e 's/ViewportManager=WinDrv.WindowsClient/\;ViewportManager=WinDrv.WindowsClient/' \
@@ -74,11 +72,13 @@ src_install() {
 	done
 
 	# Wrapper and benchmark-scripts
-	dogamesbin "${FILESDIR}"/ut2003-demo
+	dobin "${FILESDIR}"/ut2003-demo
 	exeinto "${dir}"/Benchmark
 	doexe "${FILESDIR}/"{benchmark,results.sh}
-	sed -i -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \
-		"${ED}/${GAMES_BINDIR}/${PN}" "${ED}/${dir}"/Benchmark/benchmark || die
+	sed -i \
+		-e "s:GAMES_PREFIX_OPT:/opt:" \
+		"${ED}/usr/bin/${PN}" \
+		"${ED}/${dir}"/Benchmark/benchmark || die
 
 	# Here we apply DrSiN's crash patch
 	cp "${S}"/CrashFix/System/crashfix.u "${Ddir}"/System || die
@@ -99,25 +99,26 @@ EOT
 	doexe ucc ut2003_demo
 	newicon Unreal.xpm ut2003-demo.xpm
 	make_desktop_entry ut2003-demo "Unreal Tournament 2003 (Demo)" ${PN}
-
-	prepgamesdirs
 }
 
 pkg_postinst() {
-	games_pkg_postinst
 	elog "You can run benchmarks by typing 'ut2003-demo --bench' (MinDetail seems"
 	elog "to not be working for some unknown reason :/)"
+
 	echo
 	elog "Read ${dir}/README.linux for instructions on how to run a"
 	elog "dedicated server."
+
 	echo
 	ewarn "If you are not installing for the first time and you plan on running"
 	ewarn "a server, you will probably need to edit your"
 	ewarn "~/.ut2003demo/System/UT2003.ini file and add a line that says"
 	ewarn "AccessControlClass=crashfix.iaccesscontrolini to your"
 	ewarn "[Engine.GameInfo] section to close a security issue."
+
 	echo
 	elog "To play the demo run:"
 	elog " ut2003-demo"
+
 	echo
 }


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/
@ 2021-04-09 19:33 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-04-09 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     3076adaf375150640c679318d2ab6f1a87ba8b25
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  9 19:31:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  9 19:31:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3076adaf

games-fps/ut2003-demo: fix MissingLicenseRestricts (bindist, mirror)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
index 707039fffb5..0acc9f39b85 100644
--- a/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
+++ b/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
@@ -15,8 +15,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 DEPEND="app-arch/unzip"
 RDEPEND="


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/
@ 2022-10-08 17:59 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2022-10-08 17:59 UTC (permalink / raw
  To: gentoo-commits

commit:     737f36c27ecedabd691023fee62ea17f0a0e43af
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  8 16:49:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 17:59:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737f36c2

games-fps/ut2003-demo: depend on glibc (binpkg)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
index 2ff0e02a1bcc..37c4e15613e2 100644
--- a/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
+++ b/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,6 +19,7 @@ RESTRICT="bindist mirror strip"
 
 RDEPEND="
 	sys-devel/bc
+	sys-libs/glibc
 	sys-libs/libstdc++-v3:5
 	virtual/opengl[abi_x86_32(-)]
 	x11-libs/libX11[abi_x86_32(-)]


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

end of thread, other threads:[~2022-10-08 17:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-21 10:25 [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/ Sergei Trofimovich
  -- strict thread matches above, loose matches on Subject: below --
2022-10-08 17:59 Sam James
2021-04-09 19:33 Sam James
2021-04-09 19:33 Sam James
2017-12-01 19:31 David Seifert
2016-01-13  4:57 Michael Sterrett

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