[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/

2022-10-08 Thread Sam James
commit: 737f36c27ecedabd691023fee62ea17f0a0e43af
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 16:49:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 17:59:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737f36c2

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

Signed-off-by: Sam James  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(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003/

2022-06-07 Thread James Le Cuirot
commit: 989eec45fdd165e3b4e559756e578fb9ef7ab876
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Jun  7 22:37:17 2022 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Jun  7 22:37:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=989eec45

games-fps/ut2003: Drop unused dedicated USE flag

Signed-off-by: James Le Cuirot  gentoo.org>

 games-fps/ut2003/ut2003-2225-r6.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-fps/ut2003/ut2003-2225-r6.ebuild 
b/games-fps/ut2003/ut2003-2225-r6.ebuild
index b69e6770261a..a3f18e9121c3 100644
--- a/games-fps/ut2003/ut2003-2225-r6.ebuild
+++ b/games-fps/ut2003/ut2003-2225-r6.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
@@ -12,7 +12,6 @@ 
SRC_URI="https://ftp.snt.utwente.nl/pub/games/UT2003/Patches/Linux/${PN}lnx_patc
 LICENSE="ut2003"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-IUSE="dedicated"
 RESTRICT="bindist mirror strip"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003/

2021-04-24 Thread David Seifert
commit: 286597500797117651184a2250ceceaf270b231f
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Apr 24 22:02:43 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr 24 22:02:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28659750

games-fps/ut2003: update eclasses

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: David Seifert  gentoo.org>

 games-fps/ut2003/ut2003-2225-r6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003/ut2003-2225-r6.ebuild 
b/games-fps/ut2003/ut2003-2225-r6.ebuild
index 0f36cd042f7..b69e6770261 100644
--- a/games-fps/ut2003/ut2003-2225-r6.ebuild
+++ b/games-fps/ut2003/ut2003-2225-r6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit desktop eutils
+inherit desktop wrapper
 
 DESCRIPTION="Sequel to the 1999 Game of the Year multi-player first-person 
shooter"
 HOMEPAGE="https://en.wikipedia.org/wiki/Unreal_Tournament_2003";



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-data/

2021-04-09 Thread Sam James
commit: 61279c8447e65ed974d5191778916aa96a1adea3
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 10 05:08:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 10 06:17:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61279c84

games-fps/ut2003-data: add missing desktop inherit

Signed-off-by: Sam James  gentoo.org>

 .../{ut2003-data-2107-r1.ebuild => ut2003-data-2107-r2.ebuild}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003-data/ut2003-data-2107-r1.ebuild 
b/games-fps/ut2003-data/ut2003-data-2107-r2.ebuild
similarity index 98%
rename from games-fps/ut2003-data/ut2003-data-2107-r1.ebuild
rename to games-fps/ut2003-data/ut2003-data-2107-r2.ebuild
index 6172322c0c1..ac69da5ef17 100644
--- a/games-fps/ut2003-data/ut2003-data-2107-r1.ebuild
+++ b/games-fps/ut2003-data/ut2003-data-2107-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cdrom unpacker
+inherit desktop cdrom unpacker
 
 DESCRIPTION="Unreal Tournament 2003 - Sequel to the 1999 multi-player 
first-person shooter"
 HOMEPAGE="http://www.unrealtournament2003.com/";
@@ -37,7 +37,7 @@ src_unpack() {
 src_install() {
# Inlined from games.eclass
_games_ut_unpack() {
-   local ut_unpack="$1"
+   local ut_unpack="${1}"
local f=
 
if [[ -z ${ut_unpack} ]] ; then



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/

2021-04-09 Thread Sam James
commit: 83ae860555aa38b6219428e7d7351aa297b6e673
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  9 19:30:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 19:31:32 2021 +
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  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
 }



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-data/

2021-04-09 Thread Sam James
commit: 09f253b4b93ab76b77b554a91484f1aea22c75be
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  9 19:32:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 19:32:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f253b4

games-fps/ut2003-data: fix MissingLicenseRestricts (mirror)

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2003-data/ut2003-data-2107-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/ut2003-data/ut2003-data-2107-r1.ebuild 
b/games-fps/ut2003-data/ut2003-data-2107-r1.ebuild
index 4d14d47851c..6172322c0c1 100644
--- a/games-fps/ut2003-data/ut2003-data-2107-r1.ebuild
+++ b/games-fps/ut2003-data/ut2003-data-2107-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="ut2003 MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
-RESTRICT="bindist strip"
+RESTRICT="bindist mirror strip"
 
 BDEPEND="
app-arch/unzip



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-epic/

2021-04-09 Thread Sam James
commit: 27c7624d158e5b26e53564911c696165bc749b96
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  9 19:24:24 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 19:31:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c7624d

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

Signed-off-by: Sam James  gentoo.org>

 ...-1.ebuild => ut2003-bonuspack-epic-1-r1.ebuild} | 26 ++
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild 
b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
similarity index 88%
rename from games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
rename to games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
index 00d2d8927ee..70fff75aec7 100644
--- a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
+++ b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
@@ -1,29 +1,30 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit games
+EAPI=7
 
 DESCRIPTION="Epic Bonus Pack for UT2003"
 HOMEPAGE="https://www.moddb.com/games/unreal-tournament-2003";
 
SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/UT2003-epicbonuspackone.exe";
+S="${WORKDIR}"/UT2003-BonusPack
 
 LICENSE="ut2003"
 SLOT="1"
 KEYWORDS="~x86"
-IUSE=""
 RESTRICT="strip"
 
-DEPEND="app-arch/unzip"
-RDEPEND="games-fps/ut2003"
+RDEPEND="
+   acct-group/gamestat
+   games-fps/ut2003
+"
+BDEPEND="app-arch/unzip"
 
-S=${WORKDIR}/UT2003-BonusPack
-
-dir=${GAMES_PREFIX_OPT}/ut2003
-Ddir=${D}/${dir}
+dir=opt/ut2003
+Ddir="${ED}"/${dir}
 
 src_unpack() {
unzip -qq "${DISTDIR}"/${A} || die
+
# This is done since the files are the same
rm -f "${S}"/Textures/LastManStanding.utx || die
 }
@@ -39,12 +40,9 @@ src_install() {
cp -r "${S}"/{Maps,Sounds,StaticMeshes,Textures} "${Ddir}" || die
cp "${S}"/System/{*.{det,est,frt,int,itt,kot,tmt,u},User.ini} 
"${Ddir}"/System || die
cp -v "${S}"/System/Manifest.ini "${Ddir}"/System/Manifest.ini.epic || 
die
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
elog "You will need to run:"
elog "emerge --config =${CATEGORY}/${PF}"
elog "to make the necessary changes to the system .ini files."
@@ -106,5 +104,5 @@ EOT
 
cp DefUser.ini DefUser.ini.pre-epic || die
sed -i 's/^F11=.*$/F11=MusicMenu/g' DefUser.ini || die
-   chown games:games ${dir}/System/*.ini || die
+   chown :gamestat "${dir}"/System/*.ini || die
 }



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-data/

2021-04-09 Thread Sam James
commit: 684814c10971208de75633fdd4bd0d89208f3176
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  9 19:20:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 19:31:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684814c1

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

Signed-off-by: Sam James  gentoo.org>

 ...data-2107.ebuild => ut2003-data-2107-r1.ebuild} | 53 +++---
 1 file changed, 36 insertions(+), 17 deletions(-)

diff --git a/games-fps/ut2003-data/ut2003-data-2107.ebuild 
b/games-fps/ut2003-data/ut2003-data-2107-r1.ebuild
similarity index 78%
rename from games-fps/ut2003-data/ut2003-data-2107.ebuild
rename to games-fps/ut2003-data/ut2003-data-2107-r1.ebuild
index 44433cc98f3..4d14d47851c 100644
--- a/games-fps/ut2003-data/ut2003-data-2107.ebuild
+++ b/games-fps/ut2003-data/ut2003-data-2107-r1.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker cdrom games
+EAPI=7
+
+inherit cdrom unpacker
 
 DESCRIPTION="Unreal Tournament 2003 - Sequel to the 1999 multi-player 
first-person shooter"
 HOMEPAGE="http://www.unrealtournament2003.com/";
 SRC_URI="https://dev.gentoo.org/~chewi/distfiles/UT2003CrashFix.zip"; # MIT 
licensed (bug #754360)
+S="${WORKDIR}"
 
 LICENSE="ut2003 MIT"
 SLOT="0"
@@ -14,17 +16,15 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 RESTRICT="bindist strip"
 
-RDEPEND=""
-DEPEND="app-arch/unzip
-   games-util/uz2unpack"
-
-S=${WORKDIR}
+BDEPEND="
+   app-arch/unzip
+   games-util/uz2unpack
+"
 
-dir=${GAMES_PREFIX_OPT}/ut2003
-Ddir=${D}/${dir}
+dir=opt/ut2003
+Ddir="${ED}"/${dir}
 
 pkg_setup() {
-   games_pkg_setup
ewarn "The installed game takes about 2.7GB of space!"
 }
 
@@ -35,6 +35,27 @@ src_unpack() {
 }
 
 src_install() {
+   # Inlined from games.eclass
+   _games_ut_unpack() {
+   local ut_unpack="$1"
+   local f=
+
+   if [[ -z ${ut_unpack} ]] ; then
+   die "You must provide an argument to games_ut_unpack"
+   fi
+
+   if [[ -f ${ut_unpack} ]] ; then
+   uz2unpack "${ut_unpack}" "${ut_unpack%.uz2}" || die 
"failed uncompressing file ${ut_unpack}"
+   fi
+
+   if [[ -d ${ut_unpack} ]] ; then
+   while read f ; do
+   uz2unpack "${ut_unpack}/${f}" 
"${ut_unpack}/${f%.uz2}" || die "failed uncompressing file ${f}"
+   rm -f "${ut_unpack}/${f}" || die "failed 
deleting compressed file ${f}"
+   done < <(find "${ut_unpack}" -maxdepth 1 -name '*.uz2' 
-printf '%f\n' 2>/dev/null)
+   fi
+   }
+
insinto "${dir}"
# Disk 1
einfo "Copying files from Disk 1..."
@@ -83,7 +104,7 @@ src_install() {
insinto "${dir}"/System
doins "${S}"/System/Def{ault,User}.ini
 
-   # install eula
+   # install EULA
insinto "${dir}"
doins "${S}"/eula/License.int
 
@@ -98,19 +119,19 @@ src_install() {
# uncompressing files
einfo "Uncompressing files... this may take a while..."
for j in {Animations,Maps,Sounds,StaticMeshes,Textures} ; do
-   games_ut_unpack "${Ddir}"/${j} || die "uncompressing files"
+   _games_ut_unpack "${Ddir}"/${j} || die "uncompressing files"
done
 
# installing documentation/icon
dodoc "${S}"/README.linux
-   newicon "${S}"/Unreal.xpm ut2003.xpm || die "copying icon"
+   newicon "${S}"/Unreal.xpm ut2003.xpm
doins "${S}"/README.linux "${S}"/Unreal.xpm
# copy ut2003/ucc
exeinto "${dir}"
doexe "${S}"/bin/ut2003 "${S}"/ucc
 
# Here we apply DrSiN's crash patch
-   cp "${S}"/CrashFix/System/crashfix.u "${Ddir}"/System
+   cp "${S}"/CrashFix/System/crashfix.u "${Ddir}"/System || die
 
ed "${Ddir}"/System/Default.ini >/dev/null 2>&1 <

[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/

2021-04-09 Thread Sam James
commit: 3076adaf375150640c679318d2ab6f1a87ba8b25
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  9 19:31:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 19:31:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3076adaf

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

Signed-off-by: Sam James  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="



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-epic/

2021-04-09 Thread Sam James
commit: 2bcadfd97452b5a05ecd91ea90ee978d259c5ab8
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  9 19:32:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 19:32:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bcadfd9

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

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild 
b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
index 70fff75aec7..6a7219759cf 100644
--- a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
+++ b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
@@ -11,7 +11,7 @@ S="${WORKDIR}"/UT2003-BonusPack
 LICENSE="ut2003"
 SLOT="1"
 KEYWORDS="~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
acct-group/gamestat



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-cm/

2021-04-07 Thread Sam James
commit: d7390da54ba4c496f28f366e8cc18aecdcae4a47
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 10:21:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 10:24:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7390da5

games-fps/ut2003-bonuspack-cm: revbump for games.eclass

Fixes: 6c6c98e88139fd84916f1b514182395f29e33fc2
Signed-off-by: Sam James  gentoo.org>

 .../{ut2003-bonuspack-cm-1.ebuild => ut2003-bonuspack-cm-1-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild 
b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1-r1.ebuild
similarity index 100%
rename from games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
rename to games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-de/

2021-04-07 Thread Sam James
commit: 300c8bf46050e76bed412facc289fe0f3c3c9f8d
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 10:12:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 10:18:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300c8bf4

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

Signed-off-by: Sam James  gentoo.org>

 .../ut2003-bonuspack-de-1-r1.ebuild| 46 ++
 .../ut2003-bonuspack-de-1.ebuild   | 35 
 2 files changed, 46 insertions(+), 35 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1-r1.ebuild 
b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1-r1.ebuild
new file mode 100644
index 000..6e54cd2f15e
--- /dev/null
+++ b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="debonus.ut2mod.zip"
+DESCRIPTION="Digital Extremes Bonus Pack for UT2003"
+HOMEPAGE="https://www.moddb.com/games/unreal-tournament-2003";
+SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/${MY_P}";
+S="${WORKDIR}"
+
+LICENSE="ut2003"
+SLOT="1"
+KEYWORDS="~x86"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="games-fps/ut2003"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
+
+src_unpack() {
+   unzip -qq "${DISTDIR}"/${A} || die
+}
+
+src_install() {
+   local dir="${EPREFIX}"/opt/ut2003
+   local Ddir="${D}${dir}"
+
+   # Inlined from games.eclass
+   _games_umod_unpack() {
+   local umod=${1}
+
+   mkdir -p "${Ddir}"/System || die
+   cp 
"${dir}"/System/{ucc-bin,Manifest.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int}
 "${Ddir}"/System || die
+   # Don't die here (for now) in case Default.ini, DefUser.ini are 
missing
+   cp "${dir}"/System/Def{ault,User}.ini "${Ddir}"/System &> 
/dev/null
+
+   cd "${Ddir}"/System || die
+   UT_DATA_PATH="${Ddir}"/System ./ucc-bin umodunpack -x 
"${S}/${umod}" -nohomedir &> /dev/null || die "uncompressing file ${umod}"
+   rm -f 
"${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT200{3,4}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log
 &>/dev/null || die "Removing temporary files"
+   }
+
+   mkdir -p "${Ddir}"/{System,Maps,StaticMeshes,Textures,Music,Help} || die
+
+   _games_umod_unpack DEBonus.ut2mod
+}

diff --git a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild 
b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
deleted file mode 100644
index 7fc87147a47..000
--- a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit games
-
-MY_P="debonus.ut2mod.zip"
-DESCRIPTION="Digital Extremes Bonus Pack for UT2003"
-HOMEPAGE="https://www.moddb.com/games/unreal-tournament-2003";
-SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/${MY_P}";
-
-LICENSE="ut2003"
-SLOT="1"
-KEYWORDS="~x86"
-IUSE=""
-RESTRICT="bindist mirror strip"
-
-RDEPEND="games-fps/ut2003"
-DEPEND="${RDEPEND}
-   app-arch/unzip"
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/ut2003
-Ddir=${D}/${dir}
-
-src_unpack() {
-   unzip -qq "${DISTDIR}"/${A} || die
-}
-
-src_install() {
-   mkdir -p "${Ddir}"/{System,Maps,StaticMeshes,Textures,Music,Help} || die
-   games_umod_unpack DEBonus.ut2mod
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-cm/

2021-04-07 Thread Sam James
commit: 6c6c98e88139fd84916f1b514182395f29e33fc2
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 09:57:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 10:18:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6c98e8

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

Signed-off-by: Sam James  gentoo.org>

 .../ut2003-bonuspack-cm-1.ebuild   | 47 ++
 1 file changed, 31 insertions(+), 16 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild 
b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
index d42bd801c5e..a40e978c7e7 100644
--- a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
+++ b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
@@ -1,38 +1,53 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit games unpacker
+inherit unpacker
 
 DESCRIPTION="Community Bonus Pack for UT2003"
 HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2003";
 SRC_URI="https://downloads.unrealadmin.org/UT2003/BonusPack/cbp2003.zip";
+S="${WORKDIR}"
 
 LICENSE="ut2003"
 SLOT="1"
 KEYWORDS="~x86"
-RESTRICT="bindist mirror strip"
+# Needs signup to download
+RESTRICT="bindist fetch mirror strip"
 
 RDEPEND="games-fps/ut2003"
-DEPEND="${RDEPEND}
-   app-arch/unzip"
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/ut2003
-Ddir=${D}/${dir}
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
 
 src_unpack() {
unpack_zip "${DISTDIR}"/${A}
 }
 
 src_install() {
-   for i in Animations Help Music Maps StaticMeshes Textures System
-   do
+   # Inlined from games.eclass
+   local dir="${EPREFIX}"/opt/ut2003
+   local Ddir="${D}${dir}"
+
+   # Inlined from games.eclass
+   _games_umod_unpack() {
+   local umod=${1}
+
+   mkdir -p "${Ddir}"/System || die
+   cp 
"${dir}"/System/{ucc-bin,Manifest.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int}
 "${Ddir}"/System || die
+   # Don't die here (for now) in case Default.ini, DefUser.ini are 
missing
+   cp "${dir}"/System/Def{ault,User}.ini "${Ddir}"/System &> 
/dev/null
+
+   cd "${Ddir}"/System || die
+   UT_DATA_PATH="${Ddir}"/System ./ucc-bin umodunpack -x 
"${S}/${umod}" -nohomedir &> /dev/null || die "uncompressing file ${umod}"
+   rm -f 
"${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT200{3,4}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log
 &>/dev/null || die "Removing temporary files"
+   }
+
+   for i in Animations Help Music Maps StaticMeshes Textures System; do
mkdir -p "${Ddir}"/${i} || die
done
-   games_umod_unpack CBP2003.ut2mod
-   rm "${Ddir}/Readme.txt" "${Ddir}/cbp installer logo1.bmp"
-   prepgamesdirs
+
+   _games_umod_unpack CBP2003.ut2mod
+
+   rm "${Ddir}"/Readme.txt "${Ddir}/cbp installer logo1.bmp" || die
 }



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-data/

2020-11-23 Thread James Le Cuirot
commit: 9db48380d3d2dc5372a6cf78957959d95864d6ce
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Nov 23 22:16:09 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Nov 23 22:16:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9db48380

games-fps/ut2003-data: RESTRICT bindist, fix SRC_URI, crash fix is MIT

Closes: https://bugs.gentoo.org/754360
Package-Manager: Portage-3.0.10, Repoman-3.0.1
Signed-off-by: James Le Cuirot  gentoo.org>

 games-fps/ut2003-data/ut2003-data-2107.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/games-fps/ut2003-data/ut2003-data-2107.ebuild 
b/games-fps/ut2003-data/ut2003-data-2107.ebuild
index 4a77c1f15e5..44433cc98f3 100644
--- a/games-fps/ut2003-data/ut2003-data-2107.ebuild
+++ b/games-fps/ut2003-data/ut2003-data-2107.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,13 +6,13 @@ inherit eutils unpacker cdrom games
 
 DESCRIPTION="Unreal Tournament 2003 - Sequel to the 1999 multi-player 
first-person shooter"
 HOMEPAGE="http://www.unrealtournament2003.com/";
-SRC_URI="http://download.factoryunreal.com/mirror/UT2003CrashFix.zip";
+SRC_URI="https://dev.gentoo.org/~chewi/distfiles/UT2003CrashFix.zip"; # MIT 
licensed (bug #754360)
 
-LICENSE="ut2003"
+LICENSE="ut2003 MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
-RESTRICT="strip"
+RESTRICT="bindist strip"
 
 RDEPEND=""
 DEPEND="app-arch/unzip



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 8f61b47f03e79c2da2d94e634690d5c855525871
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:09:11 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:24 2020 +
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  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(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003/

2020-04-01 Thread James Le Cuirot
commit: 594b8ca7a02ace57629349eed736eaa1ca681904
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Apr  1 22:15:36 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Apr  1 22:20:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=594b8ca7

games-fps/ut2003: Add RESTRICT=mirror and revert a couple of changes

I should have taken a closer look at ut2003-data. I would change how
we package this but I am unable to test it.

Package-Manager: Portage-2.3.96, Repoman-2.3.20
Signed-off-by: James Le Cuirot  gentoo.org>

 games-fps/ut2003/{ut2003-2225-r5.ebuild => ut2003-2225-r6.ebuild} | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/games-fps/ut2003/ut2003-2225-r5.ebuild 
b/games-fps/ut2003/ut2003-2225-r6.ebuild
similarity index 92%
rename from games-fps/ut2003/ut2003-2225-r5.ebuild
rename to games-fps/ut2003/ut2003-2225-r6.ebuild
index 9880ab073d0..0f36cd042f7 100644
--- a/games-fps/ut2003/ut2003-2225-r5.ebuild
+++ b/games-fps/ut2003/ut2003-2225-r6.ebuild
@@ -13,12 +13,11 @@ LICENSE="ut2003"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 IUSE="dedicated"
-RESTRICT="bindist strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
!games-server/ut2003-ded
games-fps/ut2003-data
-   media-libs/libsdl[abi_x86_32]
sys-libs/glibc
virtual/opengl[abi_x86_32]
 "
@@ -40,8 +39,8 @@ src_install() {
doins -r .
fperms +x "${DIR}"/System/{ucc,${PN}}-bin
 
-   make_wrapper ${PN} ./${PN}-bin "${DIR}"/System "${DIR}"/System
-   make_wrapper ${PN}-ded "./ucc-bin server" "${DIR}"/System 
"${DIR}"/System
+   make_wrapper ${PN} ./${PN}-bin "${DIR}"
+   make_wrapper ${PN}-ded ./ucc "${DIR}"
 
make_desktop_entry ${PN} "Unreal Tournament 2003" applications-games
 



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003/, games-fps/ut2003/files/

2020-03-31 Thread James Le Cuirot
commit: 32303459a081de5445c064e4cbffac30fe288d24
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Mar 31 21:52:22 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Mar 31 21:54:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32303459

games-fps/ut2003: Fix SRC_URI, EAPI 7, fix server, align with UT2004

Closes: https://bugs.gentoo.org/715540
Package-Manager: Portage-2.3.96, Repoman-2.3.20
Signed-off-by: James Le Cuirot  gentoo.org>

 games-fps/ut2003/Manifest   |  2 +-
 games-fps/ut2003/files/ut2003-ded.confd |  6 ++
 games-fps/ut2003/files/ut2003-ded.initd | 13 +
 games-fps/ut2003/ut2003-2225-r4.ebuild  | 99 -
 games-fps/ut2003/ut2003-2225-r5.ebuild  | 98 
 5 files changed, 118 insertions(+), 100 deletions(-)

diff --git a/games-fps/ut2003/Manifest b/games-fps/ut2003/Manifest
index f580ec1670f..dab21529521 100644
--- a/games-fps/ut2003/Manifest
+++ b/games-fps/ut2003/Manifest
@@ -1 +1 @@
-DIST ut2003lnx_patch2225.tar.tar 10039316 BLAKE2B 
a15398eb2b66606f3e7b1382b01fda6b5d38982bc3fe7065184232eb18a8c85792147187951e810ecb6af738b5f5a15a2e56832d7e91fb21ab8956d699817f76
 SHA512 
3c44b6254b2b778bf2aca826c710f51db4ec0687c21f1c98e1070f3a9ad7e1a809e741a5b94e20a44c56c60a8b1e4a049788ff5f2a4d581c4eedf3dbbc0da86d
+DIST ut2003lnx_patch2225.tar.bz2 10039316 BLAKE2B 
a15398eb2b66606f3e7b1382b01fda6b5d38982bc3fe7065184232eb18a8c85792147187951e810ecb6af738b5f5a15a2e56832d7e91fb21ab8956d699817f76
 SHA512 
3c44b6254b2b778bf2aca826c710f51db4ec0687c21f1c98e1070f3a9ad7e1a809e741a5b94e20a44c56c60a8b1e4a049788ff5f2a4d581c4eedf3dbbc0da86d

diff --git a/games-fps/ut2003/files/ut2003-ded.confd 
b/games-fps/ut2003/files/ut2003-ded.confd
new file mode 100644
index 000..e6f81661a92
--- /dev/null
+++ b/games-fps/ut2003/files/ut2003-ded.confd
@@ -0,0 +1,6 @@
+# User and group the server should run as.
+ut2003_ded_user="nobody"
+ut2003_ded_group="nobody"
+
+# Any extra options you want to pass to the server.
+ut2003_ded_opts="DM-Antalus"

diff --git a/games-fps/ut2003/files/ut2003-ded.initd 
b/games-fps/ut2003/files/ut2003-ded.initd
new file mode 100644
index 000..19c8f1ada61
--- /dev/null
+++ b/games-fps/ut2003/files/ut2003-ded.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/var/run/${RC_SVCNAME}.pid"
+command_background="true"
+command_user="${ut2003_ded_user}:${ut2003_ded_group}"
+command="ut2003-ded"
+command_args="${ut2003_ded_opts}"
+
+depend() {
+   need net
+}

diff --git a/games-fps/ut2003/ut2003-2225-r4.ebuild 
b/games-fps/ut2003/ut2003-2225-r4.ebuild
deleted file mode 100644
index 5e82f5af64d..000
--- a/games-fps/ut2003/ut2003-2225-r4.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils games
-
-DESCRIPTION="Sequel to the 1999 Game of the Year multi-player first-person 
shooter"
-HOMEPAGE="http://www.unrealtournament2003.com/";
-SRC_URI="ftp://ftp.infogrames.net/misc/ut2003/ut2003lnx_patch2225.tar.tar";
-
-LICENSE="ut2003"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dedicated"
-RESTRICT="bindist strip"
-
-RDEPEND="
-   games-fps/ut2003-data
-   dedicated? ( games-server/ut2003-ded )
-   !dedicated? ( virtual/opengl[abi_x86_32(-)] )
-"
-DEPEND=""
-
-S=${WORKDIR}
-
-dir="${GAMES_PREFIX_OPT}/${PN}"
-Ddir="${D}/${dir}"
-
-src_unpack() {
-   unpack ut2003lnx_patch${PV}.tar.tar
-}
-
-src_install() {
-   insinto "${dir}"
-
-   games_make_wrapper ut2003 ./ut2003 "${dir}" "${dir}"
-   make_desktop_entry ut2003 "Unreal Tournament 2003" ut2003
-
-   # TODO: change this to use doexe/doins
-   # this brings our install up to the newest version
-   cp -r "${S}"/ut2003-lnx-2225/* "${Ddir}" || die
-
-   prepgamesdirs
-}
-
-pkg_postinst() {
-   games_pkg_postinst
-
-   # here is where we check for the existence of a cdkey...
-   # if we don't find one, we ask the user for it
-   if [[ -f "${dir}"/System/cdkey ]] ; then
-   elog "A cdkey file is already present in ${dir}/System"
-   else
-   ewarn "You MUST run this before playing the game:"
-   ewarn "emerge --config =${CATEGORY}/${PF}"
-   ewarn "That way you can (re)enter your cdkey."
-   fi
-   elog
-   elog "To play the game run:"
-   elog " ut2003"
-   ewarn
-   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 "~/.ut2003/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."
-}
-
-pkg_postrm() {
-   ewarn "This package leaves

[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-cm/

2019-10-26 Thread James Le Cuirot
commit: e7bef52e276faff9eee96091c2ddfaa167aa4c55
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Oct 26 16:21:01 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Oct 26 16:25:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7bef52e

games-fps/ut2003-bonuspack-cm: Fix broken SRC_URI

The new download is a slightly different size and requires unpack_zip
to work.

Closes: https://bugs.gentoo.org/640552
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-fps/ut2003-bonuspack-cm/Manifest | 2 +-
 games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild | 8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-cm/Manifest 
b/games-fps/ut2003-bonuspack-cm/Manifest
index c79a67927b0..b62d6451a53 100644
--- a/games-fps/ut2003-bonuspack-cm/Manifest
+++ b/games-fps/ut2003-bonuspack-cm/Manifest
@@ -1 +1 @@
-DIST cbp2003.zip 149198671 BLAKE2B 
c5f7352b7fb1e0e6a18c99a6212cd5cb4e5e6144988534f91aed93bf33b031d437e86eebf239f0a49fa20b90ca0ded09e912a96b798bc855d527423f2a299ba7
 SHA512 
92e136c03f1385a28163718cc6ef1c36e46fbad14c74d0f266dfe3d9f4a5093e1bd02dde54e68f70539ba2c4ee163b1e886529f7e734059a85223ab6f853a474
+DIST cbp2003.zip 149198696 BLAKE2B 
d6319e3605752e309411b16358696cdf0559b3cc6acedfae2f063eedb4ee98fefb470e9ff601cdce46821eaaa3f7c0ef3c13ddc2ce3639842ec98e1e68fefb85
 SHA512 
382ea605b7ce89654b7a58dfd1b36f0624bb0ac63aff6a07f1942dd3c8715ac6d79812828f2f28e2bd1b162673147e0ab8653ac67b4ee5d936e8840dede8e408

diff --git a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild 
b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
index 5e55eb9e951..d42bd801c5e 100644
--- a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
+++ b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
@@ -2,12 +2,12 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit games
 
-IUSE=""
+inherit games unpacker
+
 DESCRIPTION="Community Bonus Pack for UT2003"
 HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2003";
-SRC_URI="https://ut.rushbase.net/beyondunreal/mods/cbp2003.zip";
+SRC_URI="https://downloads.unrealadmin.org/UT2003/BonusPack/cbp2003.zip";
 
 LICENSE="ut2003"
 SLOT="1"
@@ -24,7 +24,7 @@ dir=${GAMES_PREFIX_OPT}/ut2003
 Ddir=${D}/${dir}
 
 src_unpack() {
-   unzip -qq "${DISTDIR}"/${A} || die
+   unpack_zip "${DISTDIR}"/${A}
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003/

2019-09-24 Thread Michał Górny
commit: ee9ccfd3a73c3615873bd5c6f552035a5165e748
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 24 20:38:30 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 24 20:38:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9ccfd3

games-fps/ut2003: Add RESTRICT="bindist"

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

 games-fps/ut2003/ut2003-2225-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003/ut2003-2225-r4.ebuild 
b/games-fps/ut2003/ut2003-2225-r4.ebuild
index 9c9c1483ac4..5e82f5af64d 100644
--- a/games-fps/ut2003/ut2003-2225-r4.ebuild
+++ b/games-fps/ut2003/ut2003-2225-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ LICENSE="ut2003"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="dedicated"
-RESTRICT="strip"
+RESTRICT="bindist strip"
 
 RDEPEND="
games-fps/ut2003-data



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-cm/

2019-09-23 Thread Michał Górny
commit: 6b714a5685451cc27e71dce3f7dfbe82de903f6e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 17:06:46 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 23 17:15:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b714a56

games-fps/ut2003-bonuspack-cm: Add RESTRICT=bindist

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

 games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild 
b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
index 56ad6847461..5e55eb9e951 100644
--- a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
+++ b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,7 +12,7 @@ 
SRC_URI="https://ut.rushbase.net/beyondunreal/mods/cbp2003.zip";
 LICENSE="ut2003"
 SLOT="1"
 KEYWORDS="~x86"
-RESTRICT="mirror strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="games-fps/ut2003"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-de/

2019-09-23 Thread Michał Górny
commit: 8ae9f8ef6ac31c1bce33428ba15dc016584c749d
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 17:07:01 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 23 17:16:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae9f8ef

games-fps/ut2003-bonuspack-de: Add RESTRICT=bindist

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

 games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild 
b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
index e983511c327..7fc87147a47 100644
--- a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
+++ b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ LICENSE="ut2003"
 SLOT="1"
 KEYWORDS="~x86"
 IUSE=""
-RESTRICT="mirror strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="games-fps/ut2003"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-de/

2018-05-26 Thread David Seifert
commit: 017f3702b6d067591a5aea528c02665193c8892e
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat May 26 08:42:42 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 26 09:53:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=017f3702

games-fps/ut2003-bonuspack-de: use HTTPs

 games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild 
b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
index 8483dfeb483..e983511c327 100644
--- a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
+++ b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,7 +6,7 @@ inherit games
 
 MY_P="debonus.ut2mod.zip"
 DESCRIPTION="Digital Extremes Bonus Pack for UT2003"
-HOMEPAGE="http://www.moddb.com/games/unreal-tournament-2003";
+HOMEPAGE="https://www.moddb.com/games/unreal-tournament-2003";
 SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/${MY_P}";
 
 LICENSE="ut2003"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-epic/

2018-05-26 Thread David Seifert
commit: 8cdc707d4145c180d93133dfd69b148c16862fd0
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat May 26 08:44:12 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 26 09:53:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cdc707d

games-fps/ut2003-bonuspack-epic: use HTTPs

 games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild 
b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
index 2309f8e0752..00d2d8927ee 100644
--- a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
+++ b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit games
 
 DESCRIPTION="Epic Bonus Pack for UT2003"
-HOMEPAGE="http://www.moddb.com/games/unreal-tournament-2003";
+HOMEPAGE="https://www.moddb.com/games/unreal-tournament-2003";
 
SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/UT2003-epicbonuspackone.exe";
 
 LICENSE="ut2003"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-cm/

2018-05-11 Thread James Le Cuirot
commit: 3b181296d7546a86a87a982e0be465e7f89ead83
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri May 11 12:36:34 2018 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Fri May 11 20:38:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b181296

games-fps/ut2003-bonuspack-cm: use HTTPS

 games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild 
b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
index 14ac3f422cd..56ad6847461 100644
--- a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
+++ b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,7 +6,7 @@ inherit games
 
 IUSE=""
 DESCRIPTION="Community Bonus Pack for UT2003"
-HOMEPAGE="http://liandri.beyondunreal.com/Unreal_Tournament_2003";
+HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2003";
 SRC_URI="https://ut.rushbase.net/beyondunreal/mods/cbp2003.zip";
 
 LICENSE="ut2003"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-cm/

2018-01-01 Thread Ulrich Müller
commit: ec36d542b1b700aa20d2ce4dbd557be313d638ee
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue Jan  2 00:59:49 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Jan  2 01:19:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec36d542

games-fps/ut2003-bonuspack-cm: Update Manifest hashes.

Bug: https://bugs.gentoo.org/642876

 games-fps/ut2003-bonuspack-cm/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/ut2003-bonuspack-cm/Manifest 
b/games-fps/ut2003-bonuspack-cm/Manifest
index 5b2d72e2bcf..c79a67927b0 100644
--- a/games-fps/ut2003-bonuspack-cm/Manifest
+++ b/games-fps/ut2003-bonuspack-cm/Manifest
@@ -1 +1 @@
-DIST cbp2003.zip 149198671 SHA256 
fae9e78492cbf24102bba076225463b3bb8cd124a18e47162d429f77101836ba SHA512 
92e136c03f1385a28163718cc6ef1c36e46fbad14c74d0f266dfe3d9f4a5093e1bd02dde54e68f70539ba2c4ee163b1e886529f7e734059a85223ab6f853a474
 WHIRLPOOL 
f5ef466296413cc298d4a5b78826dba0b776f72476378dc449cc0a7f2b3d6e0224f2f7ae4f342a56189c1f7623f2e63633636162e56d0ca707face5d80796487
+DIST cbp2003.zip 149198671 BLAKE2B 
c5f7352b7fb1e0e6a18c99a6212cd5cb4e5e6144988534f91aed93bf33b031d437e86eebf239f0a49fa20b90ca0ded09e912a96b798bc855d527423f2a299ba7
 SHA512 
92e136c03f1385a28163718cc6ef1c36e46fbad14c74d0f266dfe3d9f4a5093e1bd02dde54e68f70539ba2c4ee163b1e886529f7e734059a85223ab6f853a474



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/files/

2017-12-03 Thread Andreas Sturmlechner
commit: f39b259edd95b3ee52560310cd278e963395fab6
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Nov 30 18:27:54 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Dec  4 00:00:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39b259e

games-fps/ut2003-demo: remove unused file

Closes: https://github.com/gentoo/gentoo/pull/6359

 games-fps/ut2003-demo/files/results.py | 61 --
 1 file changed, 61 deletions(-)

diff --git a/games-fps/ut2003-demo/files/results.py 
b/games-fps/ut2003-demo/files/results.py
deleted file mode 100644
index 3e626239129..000
--- a/games-fps/ut2003-demo/files/results.py
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/usr/bin/env python
-# Written by phoen][x , Sep/19/2002
-# Modifications, enhancements or bugs? Mail me.
-import sys
-
-def help():
-   print "Usage"
-   print "  results.py logfile"
-
-def stats(data,mode):
-   print(
-""">> Score for %s
-MinDetail: %f (%d tests)
-MaxDetail: %f (%d tests)
-Average  : %f (%d tests)
-""" % (mode,data[0][0]/data[0][1],data[0][1],data[1][0]/data[1][1],data[1][1],
-   (data[0][0]+data[1][0])/(data[0][1]+data[1][1]),data[0][1]+data[1][1]))
-
-args = sys.argv[1:]
-if "--help" in args:
-   help()
-else:
-   if len(args):
-   file = args[0]
-   else:
-   import user
-   file = "%s/.ut2003/Benchmark/bench.log" % user.home
-   try:
-   myfile = open(file)
-   date = myfile.readline()
-   print(">> Results of the UT2003-demo benchmark")
-   print(">> created on %s" % date)
-
-   botmatch = ([0,0],[0,0])
-   flyby = ([0,0],[0,0])
-   
-   for line in myfile.readlines():
-   results = line.split()
-   category = results[0].split("-")[0]
-
-   if results[2] == "MinDetail":
-   detail = 0
-   elif results[2] == "MaxDetail":
-   detail = 1
-   else:
-   assert "Neither MinDetail nor MaxDetail?"
-   
-   if category == "botmatch":
-   botmatch[detail][0] += float(results[13])
-   botmatch[detail][1] += 1
-   elif category == "flyby":
-   flyby[detail][0] += float(results[13])
-   flyby[detail][1] += 1
-   else:
-   assert "Neither botmach nor flyby?"
-
-   stats(botmatch,"Botmatch")
-   stats(flyby,"FlyBy")
-   
-   except IOError:
-   print("Unable to open file %s" % file)



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/

2017-12-01 Thread David Seifert
commit: 582b5179338bc4939d762a4f0b178ded919bc929
Author: David Seifert  gentoo  org>
AuthorDate: Fri Dec  1 18:56:52 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Dec  1 19:28:55 2017 +
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



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-data/

2017-12-01 Thread David Seifert
commit: acc96a29954482e2f385fa41dc4d6b0eb0ea2976
Author: David Seifert  gentoo  org>
AuthorDate: Fri Dec  1 18:56:49 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Dec  1 19:28:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc96a29

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

 games-fps/ut2003-data/ut2003-data-2107.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/ut2003-data/ut2003-data-2107.ebuild 
b/games-fps/ut2003-data/ut2003-data-2107.ebuild
index ccd587855ce..933dc8498d8 100644
--- a/games-fps/ut2003-data/ut2003-data-2107.ebuild
+++ b/games-fps/ut2003-data/ut2003-data-2107.ebuild
@@ -4,7 +4,7 @@
 EAPI=5
 inherit eutils unpacker cdrom games
 
-DESCRIPTION="Unreal Tournament 2003 - Sequel to the 1999 Game of the Year 
multi-player first-person shooter"
+DESCRIPTION="Unreal Tournament 2003 - Sequel to the 1999 multi-player 
first-person shooter"
 HOMEPAGE="http://www.unrealtournament2003.com/";
 SRC_URI="http://download.factoryunreal.com/mirror/UT2003CrashFix.zip";
 



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-demo/

2016-01-12 Thread Michael Sterrett
commit: 9abb74de765cfa8a57ee07009c2fcf3b264c1939
Author: Michael Sterrett  gentoo  org>
AuthorDate: Wed Jan 13 04:51:09 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Wed Jan 13 04:51:09 2016 +
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 <

[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-cm/

2016-01-12 Thread Michael Sterrett
commit: 90ed0914728ce1ed121addd802e92a7d5d17b87b
Author: Michael Sterrett  gentoo  org>
AuthorDate: Tue Jan 12 18:25:11 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Tue Jan 12 20:51:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ed0914

games-fps/ut2003-bonuspack-cm: EAPI=5

Package-Manager: portage-2.2.26

 games-fps/ut2003-bonuspack-cm/Manifest |  2 +-
 games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild | 14 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-cm/Manifest 
b/games-fps/ut2003-bonuspack-cm/Manifest
index 75faa6a..5b2d72e 100644
--- a/games-fps/ut2003-bonuspack-cm/Manifest
+++ b/games-fps/ut2003-bonuspack-cm/Manifest
@@ -1 +1 @@
-DIST cbp2003.zip 149198671 RMD160 5c28fb48e021da5db3abeffd079057e166b21101 
SHA1 e661ef7b3cf868aa49ff824b9f08fea474c9e990 SHA256 
fae9e78492cbf24102bba076225463b3bb8cd124a18e47162d429f77101836ba
+DIST cbp2003.zip 149198671 SHA256 
fae9e78492cbf24102bba076225463b3bb8cd124a18e47162d429f77101836ba SHA512 
92e136c03f1385a28163718cc6ef1c36e46fbad14c74d0f266dfe3d9f4a5093e1bd02dde54e68f70539ba2c4ee163b1e886529f7e734059a85223ab6f853a474
 WHIRLPOOL 
f5ef466296413cc298d4a5b78826dba0b776f72476378dc449cc0a7f2b3d6e0224f2f7ae4f342a56189c1f7623f2e63633636162e56d0ca707face5d80796487

diff --git a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild 
b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
index cf44a51..d5067b3 100644
--- a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
+++ b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
@@ -2,22 +2,22 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI=5
 inherit games
 
 IUSE=""
 DESCRIPTION="Community Bonus Pack for UT2003"
-HOMEPAGE="http://www.unrealtournament2003.com/";
-SRC_URI="ftp://dl3.edgefiles.com/games-fusion.net/www/patches/ut2003/cbp2003.zip
-   
ftp://ftp.multiplay.co.uk/pub/games/fps/unrealtournament2003/mappacks/cbp2003.zip
-   http://ftp1.gamesweb.com/cq2ert6g/cbp2003.zip";
+HOMEPAGE="http://liandri.beyondunreal.com/Unreal_Tournament_2003";
+SRC_URI="https://ut.rushbase.net/beyondunreal/mods/cbp2003.zip";
 
 LICENSE="ut2003"
 SLOT="1"
 KEYWORDS="x86"
 RESTRICT="mirror strip"
 
-DEPEND="app-arch/unzip"
 RDEPEND="games-fps/ut2003"
+DEPEND="${RDEPEND}
+   app-arch/unzip"
 
 S=${WORKDIR}
 
@@ -25,13 +25,13 @@ dir=${GAMES_PREFIX_OPT}/ut2003
 Ddir=${D}/${dir}
 
 src_unpack() {
-   unzip -qq "${DISTDIR}"/${A} || die "unpacking"
+   unzip -qq "${DISTDIR}"/${A} || die
 }
 
 src_install() {
for i in Animations Help Music Maps StaticMeshes Textures System
do
-   mkdir -p "${Ddir}"/${i}
+   mkdir -p "${Ddir}"/${i} || die
done
games_umod_unpack CBP2003.ut2mod
rm "${Ddir}/Readme.txt" "${Ddir}/cbp installer logo1.bmp"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-epic/

2016-01-12 Thread Michael Sterrett
commit: 517ec9707fcac94595e8efba10a04e15f9f8954a
Author: Michael Sterrett  gentoo  org>
AuthorDate: Tue Jan 12 19:57:02 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Tue Jan 12 20:51:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517ec970

games-fps/ut2003-bonuspack-epic: EAPI=5

Package-Manager: portage-2.2.26

 games-fps/ut2003-bonuspack-epic/Manifest   |  2 +-
 .../ut2003-bonuspack-epic-1.ebuild | 43 +-
 2 files changed, 19 insertions(+), 26 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-epic/Manifest 
b/games-fps/ut2003-bonuspack-epic/Manifest
index 4ab497a..bd48086 100644
--- a/games-fps/ut2003-bonuspack-epic/Manifest
+++ b/games-fps/ut2003-bonuspack-epic/Manifest
@@ -1 +1 @@
-DIST UT2003-epicbonuspackone.exe 156913152 RMD160 
5faf4028ef7178c964cb913f80bf56f77a5b3c00 SHA1 
f4a475dc3ebbf125a6dac74bc01bd74515ef SHA256 
034a1641c447e2d933ae89e02fecdd2c0358d041dcf3f7996663aaf6901cee21
+DIST UT2003-epicbonuspackone.exe 156913152 SHA256 
034a1641c447e2d933ae89e02fecdd2c0358d041dcf3f7996663aaf6901cee21 SHA512 
26fa06637c6a99704d11b58f5fe54454f8018c6f07b06b6a9a2075d17b9a9fb7d7155298de5502cefa0f07995f4513ce9531863cef8c344996b5e6dd5fbd339d
 WHIRLPOOL 
681311f3515b0d3e266159d5ceeb76120567e1f90bef2e1da124aa8b54865caee5d86ae3ff5a2272f29922bf66378bb9f22c65eaf80fa1d414d34b9e899d0acb

diff --git a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild 
b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
index 0544e3a..7b5d4ec 100644
--- a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
+++ b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
@@ -2,17 +2,18 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI=5
 inherit games
 
-IUSE=""
 DESCRIPTION="Epic Bonus Pack for UT2003"
-HOMEPAGE="http://www.unrealtournament2003.com/";
-SRC_URI="UT2003-epicbonuspackone.exe"
+HOMEPAGE="http://www.moddb.com/games/unreal-tournament-2003";
+SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/UT2003-epicbonuspackone.exe";
 
 LICENSE="ut2003"
 SLOT="1"
 KEYWORDS="x86"
-RESTRICT="fetch strip"
+IUSE=""
+RESTRICT="strip"
 
 DEPEND="app-arch/unzip"
 RDEPEND="games-fps/ut2003"
@@ -22,31 +23,23 @@ S=${WORKDIR}/UT2003-BonusPack
 dir=${GAMES_PREFIX_OPT}/ut2003
 Ddir=${D}/${dir}
 
-pkg_nofetch() {
-   einfo "Please download ${A} and put it into ${DISTDIR}"
-   einfo 
"http://files.filefront.com/ut2003+epicbonuspackoneexe/;826445;/fileinfo.html";
-}
-
 src_unpack() {
-   unzip -qq "${DISTDIR}"/${A} || die "unpacking"
+   unzip -qq "${DISTDIR}"/${A} || die
# This is done since the files are the same
-   rm -f "${S}"/Textures/LastManStanding.utx
+   rm -f "${S}"/Textures/LastManStanding.utx || die
 }
 
 src_install() {
insinto "${dir}"/Help
-   newins "${S}"/Help/BonusPackReadme.txt EpicBonusPack.README || die 
"README"
+   newins "${S}"/Help/BonusPackReadme.txt EpicBonusPack.README
 
exeinto "${dir}"
doexe "${FILESDIR}"/epic-installer
dodir "${dir}"/System
 
-   cp -r "${S}"/{Maps,Sounds,StaticMeshes,Textures} "${Ddir}" \
-   || die "Copying Maps/Sounds/Textures"
-   cp "${S}"/System/{*.{det,est,frt,int,itt,kot,tmt,u},User.ini} \
-   "${Ddir}"/System || die "Copying System files"
-   cp -v "${S}"/System/Manifest.ini "${Ddir}"/System/Manifest.ini.epic \
-   || die "Copying Manifest"
+   cp -r "${S}"/{Maps,Sounds,StaticMeshes,Textures} "${Ddir}" || die
+   cp "${S}"/System/{*.{det,est,frt,int,itt,kot,tmt,u},User.ini} 
"${Ddir}"/System || die
+   cp -v "${S}"/System/Manifest.ini "${Ddir}"/System/Manifest.ini.epic || 
die
 
prepgamesdirs
 }
@@ -65,11 +58,11 @@ pkg_postinst() {
 }
 
 pkg_config() {
-   cd ${dir}/System
-   cp Manifest.ini Manifest.ini.pre-epic
-   cp ${dir}/System/Manifest.ini.epic Manifest.ini
+   cd ${dir}/System || die
+   cp Manifest.ini Manifest.ini.pre-epic || die
+   cp ${dir}/System/Manifest.ini.epic Manifest.ini || die
 
-   cp Default.ini Default.ini.pre-epic
+   cp Default.ini Default.ini.pre-epic || die
cat >> Default.ini <

[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-de/

2016-01-12 Thread Michael Sterrett
commit: 5a17be4a6331fa5aa59a138bfb70666196b4518f
Author: Michael Sterrett  gentoo  org>
AuthorDate: Tue Jan 12 19:15:28 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Tue Jan 12 20:51:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a17be4a

games-fps/ut2003-bonuspack-de: EAPI=5

Package-Manager: portage-2.2.26

 games-fps/ut2003-bonuspack-de/Manifest |  2 +-
 games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild | 13 +++--
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-de/Manifest 
b/games-fps/ut2003-bonuspack-de/Manifest
index 21a3f74..2773f64 100644
--- a/games-fps/ut2003-bonuspack-de/Manifest
+++ b/games-fps/ut2003-bonuspack-de/Manifest
@@ -1 +1 @@
-DIST debonus.ut2mod.zip 74977458 RMD160 
c04941472353eb07744109aff38ea2ebb9b4465e SHA1 
76ef580eac50f3db12d5187b3a33fe5c69293f0c SHA256 
0c1d7c4816245c75d5236d5ca20c4fdc106a150688498bfe98feb5f5d1593348
+DIST debonus.ut2mod.zip 74977458 SHA256 
0c1d7c4816245c75d5236d5ca20c4fdc106a150688498bfe98feb5f5d1593348 SHA512 
2c70d39eea1ea647d2fbee21dda5b00057b7feb1607a89d86982ac43e6063820aa70c633fbc21c768d1491fec909a06634e0e883aa771be2607b51ab193f0935
 WHIRLPOOL 
4c0a1d48856d04f5a9f0ae2868af58ba95d481054ceebebc1e3f596fe1634ab2b8cff3e1504bb2a9fe5c0086a160b5432d254cd7d79dac5288c18b90fe8e1a10

diff --git a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild 
b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
index ff049dd..9fd04ca 100644
--- a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
+++ b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1.ebuild
@@ -2,13 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI=5
 inherit games
 
 MY_P="debonus.ut2mod.zip"
 DESCRIPTION="Digital Extremes Bonus Pack for UT2003"
-HOMEPAGE="http://www.unrealtournament2003.com/";
-SRC_URI="mirror://3dgamers/unrealtourn2/Missions/${MY_P}
-   http://www.unixforces.net/downloads/${MY_P}";
+HOMEPAGE="http://www.moddb.com/games/unreal-tournament-2003";
+SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/${MY_P}";
 
 LICENSE="ut2003"
 SLOT="1"
@@ -16,8 +16,9 @@ KEYWORDS="x86"
 IUSE=""
 RESTRICT="mirror strip"
 
-DEPEND="app-arch/unzip"
 RDEPEND="games-fps/ut2003"
+DEPEND="${RDEPEND}
+   app-arch/unzip"
 
 S=${WORKDIR}
 
@@ -25,11 +26,11 @@ dir=${GAMES_PREFIX_OPT}/ut2003
 Ddir=${D}/${dir}
 
 src_unpack() {
-   unzip -qq "${DISTDIR}"/${A} || die "unpacking"
+   unzip -qq "${DISTDIR}"/${A} || die
 }
 
 src_install() {
-   mkdir -p "${Ddir}"/{System,Maps,StaticMeshes,Textures,Music,Help}
+   mkdir -p "${Ddir}"/{System,Maps,StaticMeshes,Textures,Music,Help} || die
games_umod_unpack DEBonus.ut2mod
prepgamesdirs
 }