summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-03-14 23:16:09 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-03-14 23:16:09 +0000
commitd2d7333ae0e40de8ab4ea9e0a481e0792625f4cf (patch)
tree131a69fd95918a103bcc23ce76b82658fc720088 /games-fps/ut2004-data
parentQA bug #126061, reported by Sandro <sanchan@gentoo.org>. (diff)
downloadhistorical-d2d7333ae0e40de8ab4ea9e0a481e0792625f4cf.tar.gz
historical-d2d7333ae0e40de8ab4ea9e0a481e0792625f4cf.tar.bz2
historical-d2d7333ae0e40de8ab4ea9e0a481e0792625f4cf.zip
Added an updated revision which removes a few more files that are provided in later ebuilds, such as ut2004-bonuspack-ece and ut2004-bonuspack-mega.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'games-fps/ut2004-data')
-rw-r--r--games-fps/ut2004-data/ChangeLog11
-rw-r--r--games-fps/ut2004-data/Manifest16
-rw-r--r--games-fps/ut2004-data/files/digest-ut2004-data-3186-r10
-rw-r--r--games-fps/ut2004-data/ut2004-data-3186-r1.ebuild189
4 files changed, 213 insertions, 3 deletions
diff --git a/games-fps/ut2004-data/ChangeLog b/games-fps/ut2004-data/ChangeLog
index 8da2ec4b6c7c..1e22beecfa9f 100644
--- a/games-fps/ut2004-data/ChangeLog
+++ b/games-fps/ut2004-data/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-fps/ut2004-data
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ChangeLog,v 1.5 2005/10/22 22:31:05 wolf31o2 Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ChangeLog,v 1.6 2006/03/14 23:16:09 wolf31o2 Exp $
+
+*ut2004-data-3186-r1 (14 Mar 2006)
+
+ 14 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +ut2004-data-3186-r1.ebuild:
+ Added an updated revision which removes a few more files that are provided
+ in later ebuilds, such as ut2004-bonuspack-ece and ut2004-bonuspack-mega.
22 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org>
ut2004-data-3186.ebuild:
diff --git a/games-fps/ut2004-data/Manifest b/games-fps/ut2004-data/Manifest
index e35283d5e87a..9e857eeb3a6d 100644
--- a/games-fps/ut2004-data/Manifest
+++ b/games-fps/ut2004-data/Manifest
@@ -1,4 +1,18 @@
-MD5 a5e44ed8881cdc524e1d1508d56f7556 ChangeLog 966
+MD5 91e764e8f21dfbfa29ded14e527d0d5b ChangeLog 1241
+RMD160 d42c3817e138308ee381e768d5b57d199f6b4e51 ChangeLog 1241
+SHA256 66db16b322bacd680c862b86362428f9c1f1c4e41004699efcaa80c244ce8190 ChangeLog 1241
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ut2004-data-3186 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-ut2004-data-3186 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-ut2004-data-3186 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ut2004-data-3186-r1 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-ut2004-data-3186-r1 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-ut2004-data-3186-r1 0
MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254
+RMD160 877a1dc36df2be58926bc51041093feafdefe429 metadata.xml 254
+SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 metadata.xml 254
+MD5 88ffebc79b25eeb1e9757540228d594d ut2004-data-3186-r1.ebuild 5544
+RMD160 8399c69f646c80d2656be0925a5541d70856eb12 ut2004-data-3186-r1.ebuild 5544
+SHA256 281e39e954e6bd097284e7cc4bcb3ef6bd5927e39647eb019180bb0dcf5f7f4d ut2004-data-3186-r1.ebuild 5544
MD5 0422b7ce12cb129bb4c204e4e2adad90 ut2004-data-3186.ebuild 5478
+RMD160 15df80cc46d580e5d6079e116111685731f1d578 ut2004-data-3186.ebuild 5478
+SHA256 9af5edcc7e4e9be975686bfff6e96afe25a812863cdfd15d5a46323e573d5cb0 ut2004-data-3186.ebuild 5478
diff --git a/games-fps/ut2004-data/files/digest-ut2004-data-3186-r1 b/games-fps/ut2004-data/files/digest-ut2004-data-3186-r1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/games-fps/ut2004-data/files/digest-ut2004-data-3186-r1
diff --git a/games-fps/ut2004-data/ut2004-data-3186-r1.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r1.ebuild
new file mode 100644
index 000000000000..d5b1652c5375
--- /dev/null
+++ b/games-fps/ut2004-data/ut2004-data-3186-r1.ebuild
@@ -0,0 +1,189 @@
+# 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-r1.ebuild,v 1.1 2006/03/14 23:16:09 wolf31o2 Exp $
+
+inherit games games-ut2k4mod
+
+DESCRIPTION="Unreal Tournament 2004 - This is the data portion of UT2004"
+HOMEPAGE="http://www.unrealtournament2004.com/"
+SRC_URI=""
+
+LICENSE="ut2003"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="nostrip nomirror"
+IUSE=""
+
+DEPEND="games-util/uz2unpack"
+
+S=${WORKDIR}
+
+GAMES_LICENSE_CHECK="yes"
+dir=${GAMES_PREFIX_OPT}/ut2004
+Ddir=${D}/${dir}
+
+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"
+ ewarn "You should abort this installation now and free up some space."
+ games_pkg_setup
+ check_dvd
+
+ if [[ ${USE_DVD} -eq 1 ]]
+ then
+ DISK1="CD1/"
+ DISK2="CD2/"
+ DISK3="CD3/"
+ DISK4="CD4/"
+ DISK5="CD5/"
+ DISK6="CD6/"
+ if [[ ${USE_ECE_DVD} -eq 1 ]]
+ then
+ cdrom_get_cds ${DISK1}System/UT2004.ini \
+ ${DISK2}Textures/2K4Fonts.utx.uz2 \
+ ${DISK3}Textures/ONSDeadVehicles-TX.utx.uz2 \
+ ${DISK4}Textures/XGameShaders2004.utx.uz2 \
+ ${DISK5}Speech/ons.xml ${DISK6}/DirectX9/BDA.cab
+ 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
+ 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
+ fi
+}
+
+src_unpack() {
+ unpack_makeself ${CDROM_ROOT}/linux-installer.sh \
+ || die "unpacking linux installer"
+ use x86 && tar -xf ${S}/linux-x86.tar
+ use amd64 && tar -xf ${S}/linux-amd64.tar
+}
+
+src_install() {
+ dodir ${dir}/System/editorres
+
+ # Disk 1
+ einfo "Copying files from Disk 1..."
+ cp -r ${CDROM_ROOT}/${DISK1}{Animations,ForceFeedback,Help,KarmaData,Maps,Sounds,Web} ${Ddir} || die "copying files"
+ cp -r ${CDROM_ROOT}/${DISK1}System/{editorres,*.{bat,bmp,dat,det,est,frt,ini,int,itt,kot,md5,smt,tmt,u,ucl,upl,url}} ${Ddir}/System || die "copying files"
+ mkdir -p ${Ddir}/Manual || die "creating manual folder"
+ cp ${CDROM_ROOT}/${DISK1}Manual/Manual.pdf ${Ddir}/Manual \
+ || die "copying manual"
+ mkdir -p ${Ddir}/Benchmark/Stuff || die "creating benchmark folders"
+ cp -r ${CDROM_ROOT}/${DISK1}Benchmark/Stuff/* ${Ddir}/Benchmark/Stuff \
+ || die "copying benchmark files"
+ cdrom_load_next_cd
+
+ # Disk 2
+ einfo "Copying files from Disk 2..."
+ cp -r ${CDROM_ROOT}/${DISK2}{Sounds,Textures} ${Ddir} || die "copying files"
+ cdrom_load_next_cd
+
+ # Disk 3
+ einfo "Copying files from Disk 3..."
+ cp -r ${CDROM_ROOT}/${DISK3}Textures ${Ddir} || die "copying files"
+ 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
+ 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
+ cdrom_load_next_cd
+
+ #Disk 6
+ einfo "Copying files from Disk 6..."
+ cp -r ${CDROM_ROOT}/${DISK6}/Sounds ${Ddir} \
+ || die "copying files"
+
+ # create empty files in Benchmark
+ for j in {CSVs,Logs,Results}
+ do
+ mkdir -p ${Ddir}/Benchmark/${j} || die "creating folders"
+ touch ${Ddir}/Benchmark/${j}/DO_NOT_DELETE.ME || die "creating files"
+ done
+
+ # install extra help files
+ insinto ${dir}/Help
+ doins ${S}/Unreal.bmp
+
+ # install eula
+ insinto ${dir}
+ doins ${S}/UT2004_EULA.txt
+
+ # install System.inis
+ insinto ${dir}/System
+ doins ${S}/ini-{det,est,frt,int,itt,kot,smt,tmt}.tar
+
+ # copy ut2004
+ exeinto ${dir}
+ doexe ${S}/bin/ut2004 || die "copying ut2004"
+
+ exeinto ${dir}/System
+ doexe ${S}/System/{libSDL-1.2.so.0,openal.so,u{cc,t2004}-bin} \
+ || die "copying libs/ucc/ut2004"
+
+ # uncompressing files
+ einfo "Uncompressing files... this *will* take a while..."
+ for j in {Animations,Maps,Sounds,StaticMeshes,Textures}
+ do
+ chmod -R u+w ${Ddir}/${j} || die "chmod in uncompress"
+ games_ut_unpack ${Ddir}/${j} || die "uncompressing files"
+ done
+
+ # Removing unneccessary files in System and Help
+ rm -f ${Ddir}/Help/{InstallerLogo.bmp,SAPI-EULA.txt,{Unreal,UnrealEd}.ico}
+ 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}
+
+ # installing documentation/icon
+ dodoc ${S}/README.linux || die "dodoc README.linux"
+ insinto /usr/share/pixmaps;
+ doins ${S}/ut2004.xpm || die "copying pixmap"
+ insinto ${dir}
+ doins ${S}/README.linux ${S}/ut2004.xpm || die "copying readme/icon"
+
+ # now, since these files are coming off a cd, the times/sizes/md5sums wont
+ # be different ... that means portage will try to unmerge some files (!)
+ # we run touch on ${D} so as to make sure portage doesnt do any such thing
+ find ${Ddir} -exec touch '{}' \;
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ echo
+ einfo "This is only the data portion of the game. To play UT2004, you"
+ einfo "still need to:"
+ einfo " emerge ut2004."
+ echo
+}