summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-13 17:50:23 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-13 17:50:23 +0000
commit273b3397528c2bfe940fc8cd885a46d3c79033bf (patch)
tree09123826781d0f6b1cf323f071ff55a4d1a8c0b3 /games-fps/ut2004-data
parentI have forced a revision bump here since this package will now *always* insta... (diff)
downloadgentoo-2-273b3397528c2bfe940fc8cd885a46d3c79033bf.tar.gz
gentoo-2-273b3397528c2bfe940fc8cd885a46d3c79033bf.tar.bz2
gentoo-2-273b3397528c2bfe940fc8cd885a46d3c79033bf.zip
I have forced a revision bump here since this package will now *never* install the ECE content. Instead, ut2004-bonuspack-ece will maintain all of the ECE content. I'm sure some users are going to hate me for this, but it had to be done. Closing bug #97726.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-fps/ut2004-data')
-rw-r--r--games-fps/ut2004-data/ChangeLog11
-rw-r--r--games-fps/ut2004-data/files/digest-ut2004-data-3186-r20
-rw-r--r--games-fps/ut2004-data/files/digest-ut2004-data-3186-r31
-rw-r--r--games-fps/ut2004-data/ut2004-data-3186-r3.ebuild (renamed from games-fps/ut2004-data/ut2004-data-3186-r2.ebuild)63
4 files changed, 46 insertions, 29 deletions
diff --git a/games-fps/ut2004-data/ChangeLog b/games-fps/ut2004-data/ChangeLog
index c26d6941dba2..a30f2dec151e 100644
--- a/games-fps/ut2004-data/ChangeLog
+++ b/games-fps/ut2004-data/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for games-fps/ut2004-data
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ChangeLog,v 1.10 2006/04/11 11:47:15 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ChangeLog,v 1.11 2006/04/13 17:50:23 wolf31o2 Exp $
+
+*ut2004-data-3186-r3 (13 Apr 2006)
+
+ 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ -ut2004-data-3186-r2.ebuild, +ut2004-data-3186-r3.ebuild:
+ I have forced a revision bump here since this package will now *never*
+ install the ECE content. Instead, ut2004-bonuspack-ece will maintain all of
+ the ECE content. I'm sure some users are going to hate me for this, but it
+ had to be done. Closing bug #97726.
11 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
ut2004-data-3186-r2.ebuild:
diff --git a/games-fps/ut2004-data/files/digest-ut2004-data-3186-r2 b/games-fps/ut2004-data/files/digest-ut2004-data-3186-r2
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/games-fps/ut2004-data/files/digest-ut2004-data-3186-r2
+++ /dev/null
diff --git a/games-fps/ut2004-data/files/digest-ut2004-data-3186-r3 b/games-fps/ut2004-data/files/digest-ut2004-data-3186-r3
new file mode 100644
index 000000000000..8b137891791f
--- /dev/null
+++ b/games-fps/ut2004-data/files/digest-ut2004-data-3186-r3
@@ -0,0 +1 @@
+
diff --git a/games-fps/ut2004-data/ut2004-data-3186-r2.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild
index 31783310599e..12e9095c4012 100644
--- a/games-fps/ut2004-data/ut2004-data-3186-r2.ebuild
+++ b/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r2.ebuild,v 1.3 2006/04/11 11:47:15 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild,v 1.1 2006/04/13 17:50:23 wolf31o2 Exp $
inherit games games-ut2k4mod
@@ -10,7 +10,7 @@ SRC_URI=""
LICENSE="ut2003"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
IUSE=""
@@ -22,6 +22,15 @@ GAMES_LICENSE_CHECK="yes"
dir=${GAMES_PREFIX_OPT}/ut2004
Ddir=${D}/${dir}
+grabdirs() {
+ for d in {Music,Sounds,Speech,StaticMeshes,Textures} ; do
+ if [[ -d "${CDROM_ROOT}/$1/${d}" ]] ; then
+ echo "Copying ${CDROM_ROOT}$1${d}"
+ cp -r "${CDROM_ROOT}/$1/${d}" "${Ddir}" || die "copying $1"
+ fi
+ done
+}
+
pkg_setup() {
ewarn "This is a huge package. If you do not have at least 7GB of free"
ewarn "disk space in ${PORTAGE_TMPDIR} and also in ${GAMES_PREFIX_OPT} then"
@@ -44,20 +53,22 @@ pkg_setup() {
"${DISK3}"Textures/ONSDeadVehicles-TX.utx.uz2 \
"${DISK4}"Textures/XGameShaders2004.utx.uz2 \
"${DISK5}"Speech/ons.xml \
- "${DISK6}"/DirectX9/BDA.cab
+ "${DISK6}"/Sounds/TauntPack.det_uax.uz2
else
cdrom_get_cds "${DISK1}"/System/UT2004.ini \
"${DISK2}"/Textures/2K4Fonts.utx.uz2 \
"${DISK3}"/Textures/ONSDeadVehicles-TX.utx.uz2 \
- "${DISK4}"/Music/KR-UT2004-Menu.ogg \
- "${DISK5}"/Speech/ons.xml "${DISK6}"/DirectX9/BDA.cab
+ "${DISK4}"/StaticMeshes/AlienTech.usx.uz2 \
+ "${DISK5}"/Speech/ons.xml \
+ "${DISK6}"/Sounds/TauntPack.det_uax.uz2
fi
else
cdrom_get_cds System/UT2004.ini \
Textures/2K4Fonts.utx.uz2 \
Textures/ONSDeadVehicles-TX.utx.uz2 \
- Music/KR-UT2004-Menu.ogg \
- Speech/ons.xml DirectX9/BDA.cab
+ StaticMeshes/AlienTech.usx.uz2 \
+ Speech/ons.xml \
+ Sounds/TauntPack.det_uax.uz2
fi
}
@@ -87,42 +98,27 @@ src_install() {
# Disk 2
einfo "Copying files from Disk 2..."
- cp -r "${CDROM_ROOT}/${DISK2}"{Sounds,Textures} "${Ddir}" || die "copying files"
+ grabdirs "${DISK2}"
cdrom_load_next_cd
# Disk 3
einfo "Copying files from Disk 3..."
- cp -r "${CDROM_ROOT}/${DISK3}"Textures "${Ddir}" || die "copying files"
+ grabdirs "${DISK3}"
cdrom_load_next_cd
# Disk 4
einfo "Copying files from Disk 4..."
- if [[ "${USE_ECE_DVD}" -eq 1 ]]
- then
- cp -r "${CDROM_ROOT}/${DISK4}"{StaticMeshes,Textures} "${Ddir}" \
- || die "copying files"
- else
- cp -r "${CDROM_ROOT}/${DISK4}"{Music,StaticMeshes,Textures} "${Ddir}" \
- || die "copying files"
- fi
+ grabdirs "${DISK4}"
cdrom_load_next_cd
# Disk 5
einfo "Copying files from Disk 5..."
- if [[ "${USE_ECE_DVD}" -eq 1 ]]
- then
- cp -r "${CDROM_ROOT}/${DISK5}"{Music,Sounds,Speech,StaticMeshes} "${Ddir}" \
- || die "copying files"
- else
- cp -r "${CDROM_ROOT}/${DISK5}"{Music,Sounds,Speech} "${Ddir}" \
- || die "copying files"
- fi
+ grabdirs "${DISK5}"
cdrom_load_next_cd
# Disk 6
einfo "Copying files from Disk 6..."
- cp -r "${CDROM_ROOT}/${DISK6}"/Sounds "${Ddir}" \
- || die "copying files"
+ grabdirs "${DISK6}"
# Create empty files in Benchmark
for j in {CSVs,Logs,Results}
@@ -167,13 +163,24 @@ src_install() {
games_ut_unpack "${Ddir}/${j}" || die "uncompressing files"
done
- # Removing unneccessary files in System and Help
+ # Removing unneccessary files
rm -f "${Ddir}"/Help/{InstallerLogo.bmp,SAPI-EULA.txt,{Unreal,UnrealEd}.ico}
+ rm -rf "${Ddir}"/Speech/Redist
rm -f "${Ddir}"/System/*.tar
rm -f "${Ddir}"/System/{{License,Manifest}.smt,{ucc,StdOut}.log}
rm -f "${Ddir}"/System/{User,UT2004,Manifest}.ini
rm -f "${Ddir}"/System/{Manifest.int,Packages.md5}
+ # Removing file collisions with ut2004-bonuspack-ece
+ rm -f "${Ddir}"/Animations/{MechaSkaarjAnims,MetalGuardAnim,NecrisAnim,ONSBPAnimations}.ukx
+ rm -f "${Ddir}"/Help/BonusPackReadme.txt
+ rm -f "${Ddir}"/Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2
+ rm -f "${Ddir}"/Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax
+ rm -f "${Ddir}"/StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx
+ rm -f "${Ddir}"/System/{ONS-Adara.int,ONS-IslandHop.int,ONS-Tricky.int,ONS-Urban.int,OnslaughtBP.int,xaplayersl3.upl}
+ rm -f "${Ddir}"/Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S}.utx
+ rm -f "${Ddir}"/Textures/{HourAdaraTexor,ONSBPTextures,ONSBP_DestroyedVehicles,PC_UrbanTex,UT2004ECEPlayerSkins}.utx
+
# Installing documentation/icon
dodoc "${S}"/README.linux || die "dodoc README.linux"
insinto /usr/share/pixmaps