From c808241c40d4920eff785af62061dfdae410b431 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 14 Mar 2006 22:58:45 +0000 Subject: [PATCH] Added new ebuild using the megapack distfile. Ebuild by Paul Bredbury . Closing bug #116334. Package-Manager: portage-2.1_pre4-r1 --- games-fps/ut2004-bonuspack-ece/ChangeLog | 11 ++- games-fps/ut2004-bonuspack-ece/Manifest | 20 ++++- .../files/digest-ut2004-bonuspack-ece-1-r1 | 3 + .../ut2004-bonuspack-ece-1-r1.ebuild | 88 +++++++++++++++++++ .../ut2004-bonuspack-ece-1.ebuild | 6 +- 5 files changed, 120 insertions(+), 8 deletions(-) create mode 100644 games-fps/ut2004-bonuspack-ece/files/digest-ut2004-bonuspack-ece-1-r1 create mode 100644 games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r1.ebuild diff --git a/games-fps/ut2004-bonuspack-ece/ChangeLog b/games-fps/ut2004-bonuspack-ece/ChangeLog index 5c511cb6ab78..4cb2ff77401a 100644 --- a/games-fps/ut2004-bonuspack-ece/ChangeLog +++ b/games-fps/ut2004-bonuspack-ece/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-fps/ut2004-bonuspack-ece -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-bonuspack-ece/ChangeLog,v 1.3 2005/08/30 19:12:48 wolf31o2 Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-bonuspack-ece/ChangeLog,v 1.4 2006/03/14 22:58:45 wolf31o2 Exp $ + +*ut2004-bonuspack-ece-1-r1 (14 Mar 2006) + + 14 Mar 2006; Chris Gianelloni + ut2004-bonuspack-ece-1.ebuild, +ut2004-bonuspack-ece-1-r1.ebuild: + Added new ebuild using the megapack distfile. Ebuild by Paul Bredbury + . Closing bug #116334. 30 Aug 2005; Chris Gianelloni ut2004-bonuspack-ece-1.ebuild: diff --git a/games-fps/ut2004-bonuspack-ece/Manifest b/games-fps/ut2004-bonuspack-ece/Manifest index 62171ec4daad..71c32ecee652 100644 --- a/games-fps/ut2004-bonuspack-ece/Manifest +++ b/games-fps/ut2004-bonuspack-ece/Manifest @@ -1,4 +1,18 @@ -MD5 a542ed6be681f2ab398ba3903a706625 ut2004-bonuspack-ece-1.ebuild 1237 -MD5 9738f7895c930d385c84348f1919ef81 ChangeLog 707 -MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254 +MD5 37f27bb78d1dee9bf24577e29fef5533 ChangeLog 985 +RMD160 86a5159aee86e2b9cd44286b6a14f61e6b408693 ChangeLog 985 +SHA256 f2d7aa808a1765fe14a1f5bce0dbc6aece670ee87373393e4b51e5fc78e90b30 ChangeLog 985 MD5 491929956cf7b9bec7f7fc6d0631a433 files/digest-ut2004-bonuspack-ece-1 74 +RMD160 2de1b3f19e12e21634efa12b3a16e2d917408a5c files/digest-ut2004-bonuspack-ece-1 74 +SHA256 86a2a5420951662a843a9dd62de0f34b26f90786d3cda0359ca12c9c79266dc0 files/digest-ut2004-bonuspack-ece-1 74 +MD5 e3c41949e25972ae303320a2f8a69efd files/digest-ut2004-bonuspack-ece-1-r1 274 +RMD160 c43a3d4780ab59f6e4c38f9d0b79b2f492d59ea6 files/digest-ut2004-bonuspack-ece-1-r1 274 +SHA256 276d4778f06e98344e320ae2fa8102c5ed5dac8a934e685f059dde8001105ca2 files/digest-ut2004-bonuspack-ece-1-r1 274 +MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254 +RMD160 877a1dc36df2be58926bc51041093feafdefe429 metadata.xml 254 +SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 metadata.xml 254 +MD5 32a44549f48f2d8352f2f5bbde47c7ee ut2004-bonuspack-ece-1-r1.ebuild 2370 +RMD160 c529ccfa488168eb708b48a99f73cc5793d2c70a ut2004-bonuspack-ece-1-r1.ebuild 2370 +SHA256 93ee443d7452452c973c1264328f33b0bc2ccf4166f13bf4becd301d014a49d9 ut2004-bonuspack-ece-1-r1.ebuild 2370 +MD5 10a9c2feabcce6eb151c040bde916972 ut2004-bonuspack-ece-1.ebuild 1237 +RMD160 46e5aa0ad7c5e79557a02717be4202af7a4dffdf ut2004-bonuspack-ece-1.ebuild 1237 +SHA256 ba45160eab35ce8c8deaefd4266b4cbae2342f039ba503dc77c9eed0dba38a2b ut2004-bonuspack-ece-1.ebuild 1237 diff --git a/games-fps/ut2004-bonuspack-ece/files/digest-ut2004-bonuspack-ece-1-r1 b/games-fps/ut2004-bonuspack-ece/files/digest-ut2004-bonuspack-ece-1-r1 new file mode 100644 index 000000000000..38b19955bc69 --- /dev/null +++ b/games-fps/ut2004-bonuspack-ece/files/digest-ut2004-bonuspack-ece-1-r1 @@ -0,0 +1,3 @@ +MD5 098be93d06823c5fd416fa701e83418f ut2004megapack-linux.tar.bz2 203124107 +RMD160 8a5fa450c0a5cb9c3a66c5996a2a92bff2a1302f ut2004megapack-linux.tar.bz2 203124107 +SHA256 b9122c8c405945d29c3cdf61f57fe4d21e886b79ea9caa0d8e0ca2e520aa472c ut2004megapack-linux.tar.bz2 203124107 diff --git a/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r1.ebuild b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r1.ebuild new file mode 100644 index 000000000000..680ad0f2c03a --- /dev/null +++ b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r1.ebuild,v 1.1 2006/03/14 22:58:45 wolf31o2 Exp $ + +inherit games games-ut2k4mod + +MY_P="ut2004megapack-linux.tar.bz2" + +DESCRIPTION="Unreal Tournament 2004 - Editor's Choice Edition bonus pack" +HOMEPAGE="http://www.unrealtournament2004.com/" +SRC_URI="mirror://3dgamers/unrealtourn2k4/Missions/${MY_P} + http://0day.icculus.org/ut2004/${MY_P} + ftp://ftp.games.skynet.be/pub/misc/${MY_P} + http://sonic-lux.net/data/mirror/ut2004/${MY_P}" + +LICENSE="ut2003" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="nostrip nomirror" +IUSE="" + +# Override games-ut2k4mod eclass +RDEPEND=">=games-fps/ut2004-3369-r1 + games-fps/ut2004-data" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/UT2004MegaPack +dir=${GAMES_PREFIX_OPT}/ut2004 +Ddir=${D}/${dir} + +pkg_setup() { + check_dvd + + if [[ ! ${USE_ECE_DVD} -eq 1 ]] + then + games_pkg_setup + fi +} + +src_unpack() { + if [[ ! ${USE_ECE_DVD} -eq 1 ]] + then + unpack ${A} + fi +} + +src_install() { + if [[ ! ${USE_ECE_DVD} -eq 1 ]] + then + # Remove megapack files which are not in ece + rm Animations/ONSNewTank-A.ukx + rm Help/ReadMePatch.int.txt + # Help/{DebuggerLogo.bmp,InstallerLogo.bmp,Unreal.ico,UnrealEd.ico} + # are not in megapack. + # Keep new Help/UT2004Logo.bmp + # Manual dir does not exist in megapack + rm Maps/{AS*,CTF*,DM*} + rm Sounds/A_Announcer_BP2.uax + rm StaticMeshes/{JumpShipObjects.usx,Ty_RocketSMeshes.usx} + rm System/{A*,b*,B*,CacheRecords.ucl,*.det,*.est,*.frt,*.itt,*.kot} + rm System/{CTF*,D*,Editor*,G*,I*,L*,ONS-Arc*,Onslaught.*,*.md5} + rm System/{u*,U*,V*,X*,Core.u,Engine.u,F*,*.ucl,Sk*} + rm Textures/{J*,j*,T*} + rm -r Web + + # The file lists of ut2004-3369-r1 and -r2 are identical + # Remove files owned by ut2004-3369-r2 + rm Help/UT2004Logo.bmp + # The 2 Manifest files have not changed + rm System/{Manifest.in{i,t},OnslaughtFull.int} + rm System/{Core.int,Engine.int,Setup.int,Window.int} + rm System/{OnslaughtFull.u,OnslaughtBP.u} + + # Install Editor's Choice Edition + for n in {Animations,Help,Maps,Sounds,StaticMeshes,System,Textures} + do + dodir "${dir}"/${n} + cp -r "${S}"/${n}/* "${Ddir}"/${n} \ + || die "copying ${n} from Editor's Choice Edition" + done + + prepgamesdirs + fi +} + +pkg_postinst() { + games_pkg_postinst +} diff --git a/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1.ebuild b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1.ebuild index 52107eb60a12..aa5f37869bcf 100644 --- a/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1.ebuild +++ b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1.ebuild,v 1.3 2005/08/30 19:12:48 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1.ebuild,v 1.4 2006/03/14 22:58:45 wolf31o2 Exp $ inherit games games-ut2k4mod @@ -11,7 +11,7 @@ SRC_URI="mirror://3dgamers/unrealtourn2k4/Missions/${MY_P}" LICENSE="ut2003" SLOT="0" -KEYWORDS="x86 amd64" +KEYWORDS="amd64 x86" RESTRICT="nostrip nomirror" IUSE="" -- 2.26.2