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

commit:     5a17be4a6331fa5aa59a138bfb70666196b4518f
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 19:15:28 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 20:51:09 2016 +0000
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
 }


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-de/
@ 2018-05-26  9:55 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2018-05-26  9:55 UTC (permalink / raw
  To: gentoo-commits

commit:     017f3702b6d067591a5aea528c02665193c8892e
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat May 26 08:42:42 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 26 09:53:18 2018 +0000
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"


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

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

commit:     8ae9f8ef6ac31c1bce33428ba15dc016584c749d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 17:07:01 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 17:16:00 2019 +0000
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 <mgorny <AT> 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}


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-de/
@ 2021-04-07 10:18 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-04-07 10:18 UTC (permalink / raw
  To: gentoo-commits

commit:     300c8bf46050e76bed412facc289fe0f3c3c9f8d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 10:12:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr  7 10:18:18 2021 +0000
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 <sam <AT> 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 00000000000..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..00000000000
--- 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
-}


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

end of thread, other threads:[~2021-04-07 10:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-07 10:18 [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-de/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2019-09-23 17:16 Michał Górny
2018-05-26  9:55 David Seifert
2016-01-12 20:51 Michael Sterrett

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