public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Sterrett" <mr_bones_@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/
Date: Wed, 13 Jan 2016 04:57:09 +0000 (UTC)	[thread overview]
Message-ID: <1452660669.9abb74de765cfa8a57ee07009c2fcf3b264c1939.mr_bones_@gentoo> (raw)

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
 $


             reply	other threads:[~2016-01-13  4:57 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452660669.9abb74de765cfa8a57ee07009c2fcf3b264c1939.mr_bones_@gentoo \
    --to=mr_bones_@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox