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

commit:     0948e5acc864230d49afb6aafce82aa4f832cacc
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 01:51:05 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 04:45:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0948e5ac

games-fps/ut2004-data: EAPI=5

Package-Manager: portage-2.2.26

 games-fps/ut2004-data/ut2004-data-3186-r4.ebuild | 48 +++++++++++-------------
 1 file changed, 21 insertions(+), 27 deletions(-)

diff --git a/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild
index d9c19e3..8107811 100644
--- a/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild
+++ b/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI=5
 inherit eutils unpacker cdrom portability games
 
 DESCRIPTION="Unreal Tournament 2004 - This is the data portion of UT2004"
@@ -65,7 +66,7 @@ grabdirs() {
 		[[ -d ${srcdir} ]] || srcdir=${CDROM_ROOT}/${d}
 		if [[ -d ${srcdir} ]] ; then
 			insinto "${dir}"
-			doins -r "${srcdir}" || die "doins ${srcdir} failed"
+			doins -r "${srcdir}"
 		fi
 	done
 }
@@ -142,12 +143,10 @@ src_install() {
 
 		if [[ -f ${CDROM_ROOT}/Manual/Manual.pdf ]] ; then
 			insinto "${dir}"/Manual
-			doins "${CDROM_ROOT}"/Manual/Manual.pdf \
-				|| die "doins Manual.pdf failed"
+			doins "${CDROM_ROOT}"/Manual/Manual.pdf
 		elif [[ -f ${CDROM_ROOT}/Manual.pdf ]] ; then
 			insinto "${dir}"/Manual
-			doins "${CDROM_ROOT}"/Manual.pdf \
-				|| die "doins Manual.pdf failed"
+			doins "${CDROM_ROOT}"/Manual.pdf
 		fi
 
 		# Symlinks for unshield. data1&2.cab are both in Disk1.
@@ -160,7 +159,7 @@ src_install() {
 
 		# The big extraction
 		einfo "Extracting from CAB files - this will take several minutes..."
-		unshield x data1.cab || die "unshield data1.cab failed"
+		unshield x data1.cab || die
 
 		if [[ -d 4_UT2004_Animations ]] ; then
 			# Delete the other games on the Anthology DVD
@@ -168,7 +167,7 @@ src_install() {
 			# Rename directories to be same as Midway UT2004-only DVD,
 			# i.e. rename "4_UT2004_Animations" to "Animations".
 			for j in 4_UT2004_* ; do
-				mv -f ${j} ${j/4_UT2004_} || die "mv ${j} failed"
+				mv -f ${j} ${j/4_UT2004_} || die
 			done
 		fi
 
@@ -183,31 +182,31 @@ src_install() {
 			# UT2004-only DVD has "All_*" dirs, and Anthology DVD has "*_All"
 			if [[ -d All_${j} ]] ; then
 				if [[ -d ${j} ]] ; then
-					cp -rf All_${j}/* ${j}/ || die "cp All_${j} failed"
+					cp -rf All_${j}/* ${j}/ || die
 				else
-					mv -f All_${j} ${j} || die "mv All_${j} failed"
+					mv -f All_${j} ${j} || die
 				fi
 			fi
 			if [[ -d ${j}_All ]] ; then
 				if [[ -d ${j} ]] ; then
-					cp -rf ${j}_All/* ${j}/ || die "cp ${j}_All failed"
+					cp -rf ${j}_All/* ${j}/ || die
 				else
-					mv -f ${j}_All ${j} || die "mv ${j}_All failed"
+					mv -f ${j}_All ${j} || die
 				fi
 			fi
 
 			if [[ -d English_${j} ]] ; then
 				if [[ -d ${j} ]] ; then
-					cp -rf English_${j}/* ${j}/ || die "cp English_${j} failed"
+					cp -rf English_${j}/* ${j}/ || die
 				else
-					mv -f English_${j} ${j} || die "mv English_${j}"
+					mv -f English_${j} ${j} || die
 				fi
 			fi
 			if [[ -d ${j}_English ]] ; then
 				if [[ -d ${j} ]] ; then
-					cp -rf ${j}_English/* ${j}/ || die "cp ${j}_English failed"
+					cp -rf ${j}_English/* ${j}/ || die
 				else
-					mv -f ${j}_English ${j} || die "mv ${j}_English failed"
+					mv -f ${j}_English ${j} || die
 				fi
 			fi
 
@@ -219,8 +218,7 @@ src_install() {
 		if [[ -d English_Sounds_Speech_System_Help ]] ; then
 			# http://utforums.epicgames.com/showthread.php?t=558146
 			for j in Sounds Speech System Help ; do
-				cp -rf English_Sounds_Speech_System_Help/${j}/* ${j}/ \
-					|| die "cp English_Sounds_Speech_System_Help/${j} failed"
+				cp -rf English_Sounds_Speech_System_Help/${j}/* ${j}/ || die
 			done
 		fi
 
@@ -270,22 +268,18 @@ src_install() {
 		# The big install
 		einfo "Installing UT2004 directories..."
 		insinto "${dir}"
-		doins -r * || die "doins -r * failed"
+		doins -r *
 	else
 		# Disk 1
 		einfo "Copying files from Disk 1..."
 		insinto "${dir}"
-		doins -r "${CDROM_ROOT}"/${DISK1}/{Animations,ForceFeedback,Help,KarmaData,Maps,Sounds,Web} \
-			|| die "doins failed"
+		doins -r "${CDROM_ROOT}"/${DISK1}/{Animations,ForceFeedback,Help,KarmaData,Maps,Sounds,Web}
 		insinto "${dir}"/System
-		doins -r "${CDROM_ROOT}"/${DISK1}/System/{editorres,*.{bat,bmp,dat,det,est,frt,ini,int,itt,kot,md5,smt,tmt,u,ucl,upl,url}} \
-			|| die "doins System failed"
+		doins -r "${CDROM_ROOT}"/${DISK1}/System/{editorres,*.{bat,bmp,dat,det,est,frt,ini,int,itt,kot,md5,smt,tmt,u,ucl,upl,url}}
 		insinto "${dir}"/Manual
-		doins "${CDROM_ROOT}"/${DISK1}/Manual/Manual.pdf \
-			|| die "doins Manual.pdf failed"
+		doins "${CDROM_ROOT}"/${DISK1}/Manual/Manual.pdf
 		insinto "${dir}"/Benchmark/Stuff
-		doins -r "${CDROM_ROOT}"/${DISK1}/Benchmark/Stuff/* \
-			|| die "doins Benchmark failed"
+		doins -r "${CDROM_ROOT}"/${DISK1}/Benchmark/Stuff/*
 		cdrom_load_next_cd
 
 		local diskno
@@ -309,7 +303,7 @@ src_install() {
 		# Uncompress files
 		einfo "Uncompressing files... this *will* take a while..."
 		for j in Animations Maps Sounds StaticMeshes Textures ; do
-			fperms -R u+w "${dir}/${j}" || die "fperms ${j} failed"
+			fperms -R u+w "${dir}/${j}" || die
 			games_ut_unpack "${Ddir}"/${j}
 		done
 	fi


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-data/
@ 2019-10-27 23:49 James Le Cuirot
  0 siblings, 0 replies; 4+ messages in thread
From: James Le Cuirot @ 2019-10-27 23:49 UTC (permalink / raw
  To: gentoo-commits

commit:     b478378483f8cd68e7ca880fcc192362037a2330
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 21:57:18 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 23:47:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4783784

games-fps/ut2004-data: Port to EAPI 7

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 ...a-3186-r4.ebuild => ut2004-data-3186-r5.ebuild} | 172 ++++++++++++---------
 1 file changed, 96 insertions(+), 76 deletions(-)

diff --git a/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
similarity index 76%
rename from games-fps/ut2004-data/ut2004-data-3186-r4.ebuild
rename to games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
index 7c761a8f987..377d7b0112f 100644
--- a/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild
+++ b/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker cdrom portability games
+EAPI=7
+
+inherit cdrom desktop eutils portability unpacker xdg-utils
 
 DESCRIPTION="Unreal Tournament 2004 - This is the data portion of UT2004"
 HOMEPAGE="http://www.unrealtournament2004.com/"
@@ -11,15 +12,13 @@ SRC_URI=""
 LICENSE="ut2003"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-DEPEND="games-util/uz2unpack
+BDEPEND="
+	games-util/uz2unpack
 	>=app-arch/unshield-0.5-r1"
 PDEPEND="games-fps/ut2004"
 
-S=${WORKDIR}
-dir=${GAMES_PREFIX_OPT}/ut2004
-Ddir=${D}/${dir}
+S="${WORKDIR}"
 
 check_dvd() {
 	# The following is a nasty mess to determine if we are installing from
@@ -64,17 +63,35 @@ grabdirs() {
 		# Is flexible to handle CD_ROOT vs CD_ROOT_1 mixups
 		[[ -d ${srcdir} ]] || srcdir=${CDROM_ROOT}/${d}
 		if [[ -d ${srcdir} ]] ; then
-			insinto "${dir}"
+			insinto /opt/ut2004
 			doins -r "${srcdir}"
 		fi
 	done
 }
 
-pkg_setup() {
-	games_pkg_setup
+ut_unpack() {
+	local ut_unpack="$1"
+	local f=
+
+	if [[ -z ${ut_unpack} ]] ; then
+		die "You must provide an argument to ut_unpack"
+	fi
+	if [[ -f ${ut_unpack} ]] ; then
+		uz2unpack "${ut_unpack}" "${ut_unpack%.uz2}" \
+			|| die "uncompressing file ${ut_unpack}"
+	fi
+	if [[ -d ${ut_unpack} ]] ; then
+		while read f ; do
+			uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f%.uz2}" \
+				|| die "uncompressing file ${f}"
+			rm -f "${ut_unpack}/${f}" || die "deleting compressed file ${f}"
+		done < <(find "${ut_unpack}" -maxdepth 1 -name '*.uz2' -printf '%f\n' 2>/dev/null)
+	fi
+}
 
+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}"
+	ewarn "disk space in ${PORTAGE_TMPDIR} and also in /opt"
 	ewarn "then you should abort this installation now and free up some space."
 }
 
@@ -136,15 +153,16 @@ src_unpack() {
 
 src_install() {
 	local j
+	local Ddir="${ED}"/opt/ut2004
 
 	if [[ ${USE_MIDWAY_DVD} -eq 1 ]] ; then
 		einfo "Copying files from UT2004 Midway DVD."
 
 		if [[ -f ${CDROM_ROOT}/Manual/Manual.pdf ]] ; then
-			insinto "${dir}"/Manual
+			insinto /opt/ut2004/Manual
 			doins "${CDROM_ROOT}"/Manual/Manual.pdf
 		elif [[ -f ${CDROM_ROOT}/Manual.pdf ]] ; then
-			insinto "${dir}"/Manual
+			insinto /opt/ut2004/Manual
 			doins "${CDROM_ROOT}"/Manual.pdf
 		fi
 
@@ -162,7 +180,7 @@ src_install() {
 
 		if [[ -d 4_UT2004_Animations ]] ; then
 			# Delete the other games on the Anthology DVD
-			rm -rf {1,2,3}_Unreal* 4_UT2004_EXE Launcher_* OCXFiles
+			rm -rf {1,2,3}_Unreal* 4_UT2004_EXE Launcher_* OCXFiles || die
 			# Rename directories to be same as Midway UT2004-only DVD,
 			# i.e. rename "4_UT2004_Animations" to "Animations".
 			for j in 4_UT2004_* ; do
@@ -171,8 +189,8 @@ src_install() {
 		fi
 
 		# The "logging" subdirectory is created by unshield.
-		rm -rf logging
-		rm -f *.{cab,hdr}
+		rm -rf logging || die
+		rm -f *.{cab,hdr} || die
 
 		for j in Animations Benchmark ForceFeedback Help KarmaData \
 			Manual Maps Music Sounds Speech StaticMeshes \
@@ -266,19 +284,19 @@ src_install() {
 
 		# The big install
 		einfo "Installing UT2004 directories..."
-		insinto "${dir}"
-		doins -r *
+		insinto /opt/ut2004
+		doins -r .
 	else
 		# Disk 1
 		einfo "Copying files from Disk 1..."
-		insinto "${dir}"
+		insinto /opt/ut2004
 		doins -r "${CDROM_ROOT}"/${DISK1}/{Animations,ForceFeedback,Help,KarmaData,Maps,Sounds,Web}
-		insinto "${dir}"/System
+		insinto /opt/ut2004/System
 		doins -r "${CDROM_ROOT}"/${DISK1}/System/{editorres,*.{bat,bmp,dat,det,est,frt,ini,int,itt,kot,md5,smt,tmt,u,ucl,upl,url}}
-		insinto "${dir}"/Manual
+		insinto /opt/ut2004/Manual
 		doins "${CDROM_ROOT}"/${DISK1}/Manual/Manual.pdf
-		insinto "${dir}"/Benchmark/Stuff
-		doins -r "${CDROM_ROOT}"/${DISK1}/Benchmark/Stuff/*
+		insinto /opt/ut2004/Benchmark/Stuff
+		doins -r "${CDROM_ROOT}"/${DISK1}/Benchmark/Stuff/.
 		cdrom_load_next_cd
 
 		local diskno
@@ -294,7 +312,7 @@ src_install() {
 		grabdirs "${DISK6}"
 
 		# Install extra help files
-		insinto "${dir}"/Help
+		insinto /opt/ut2004/Help
 		doins README.linux Unreal.bmp UT2004_EULA.txt ut2004.xpm
 
 		doicon ut2004.xpm
@@ -302,76 +320,78 @@ src_install() {
 		# Uncompress files
 		einfo "Uncompressing files... this *will* take a while..."
 		for j in Animations Maps Sounds StaticMeshes Textures ; do
-			fperms -R u+w "${dir}/${j}" || die
-			games_ut_unpack "${Ddir}"/${j}
+			fperms -R u+w /opt/ut2004/${j}
+			ut_unpack "${Ddir}"/${j}
 		done
 	fi
 
 	# Create empty files in Benchmark
 	for j in {CSVs,Logs,Results} ;do
-		keepdir "${dir}"/Benchmark/${j}
+		keepdir /opt/ut2004/Benchmark/${j}
 	done
 
-	make_wrapper ut2004 ./ut2004-bin "${dir}"/System "${dir}"/System "${dir}"
+	make_wrapper ut2004 ./ut2004-bin /opt/ut2004/System /opt/ut2004/System /opt/ut2004
 
 	# Remove unneccessary files
-	rm -f "${Ddir}"/*.{bat,exe,EXE,int}
-	rm -f "${Ddir}"/Help/{.DS_Store,SAPI-EULA.txt}
-	rm -f "${Ddir}"/Manual/*.exe
-	rm -rf "${Ddir}"/Speech/Redist
-	rm -f "${Ddir}"/System/*.{bat,dll,exe,tar}
-	rm -f "${Ddir}"/System/{{License,Manifest}.smt,{ucc,StdOut}.log}
-	rm -f "${Ddir}"/System/{User,UT2004}.ini
+	rm -f "${Ddir}"/*.{bat,exe,EXE,int} || die
+	rm -f "${Ddir}"/Help/{.DS_Store,SAPI-EULA.txt} || die
+	rm -f "${Ddir}"/Manual/*.exe || die
+	rm -rf "${Ddir}"/Speech/Redist || die
+	rm -f "${Ddir}"/System/*.{bat,dll,exe,tar} || die
+	rm -f "${Ddir}"/System/{{License,Manifest}.smt,{ucc,StdOut}.log} || die
+	rm -f "${Ddir}"/System/{User,UT2004}.ini || die
 
 	# Remove file collisions with ut2004-3369-r4
-	rm -f "${Ddir}"/Animations/ONSNewTank-A.ukx
-	rm -f "${Ddir}"/Help/UT2004Logo.bmp
-	rm -f "${Ddir}"/System/{ALAudio.kot,AS-{Convoy,FallenCity,Glacier}.kot,AS-{Convoy,FallenCity,Glacier,Junkyard,Mothership,RobotFactory}.int,bonuspack.{det,est,frt},BonusPack.{int,itt,u},BR-Serenity.int}
-	rm -f "${Ddir}"/System/CTF-{AbsoluteZero,BridgeOfFate,DE-ElecFields,DoubleDammage,January,LostFaith}.int
-	rm -f "${Ddir}"/System/DM-{1on1-Albatross,1on1-Desolation,1on1-Mixer,Corrugation,IronDeity,JunkYard}.int
-	rm -f "${Ddir}"/System/{DOM-Atlantis.int,OnslaughtBP.{kot,u,ucl},OnslaughtFull.int}
-	rm -f "${Ddir}"/System/{Build.ini,CacheRecords.ucl,Core.{est,frt,kot,int,itt,u},CTF-January.kot,D3DDrv.kot,DM-1on1-Squader.kot}
-	rm -f "${Ddir}"/System/{Editor,Engine,Gameplay,GamePlay,UnrealGame,UT2k4Assault,XInterface,XPickups,xVoting,XVoting,XWeapons,XWebAdmin}.{det,est,frt,int,itt,u}
-	rm -f "${Ddir}"/System/{Fire.u,IpDrv.u,License.int,ONS-ArcticStronghold.kot}
-	rm -f "${Ddir}"/System/{OnslaughtFull,onslaughtfull,UT2k4AssaultFull}.{det,est,frt,itt,u}
-	rm -f "${Ddir}"/System/{GUI2K4,Onslaught,skaarjpack,SkaarjPack,XGame}.{det,est,frt,int,itt,kot,u}
-	rm -f "${Ddir}"/System/{Setup,Window}.{det,est,frt,int,itt,kot}
-	rm -f "${Ddir}"/System/XPlayers.{det,est,frt,int,itt}
-	rm -f "${Ddir}"/System/{UnrealEd.u,UTClassic.u,UTV2004c.u,UTV2004s.u,UWeb.u,Vehicles.kot,Vehicles.u,Xweapons.itt,UT2K4AssaultFull.int,UTV2004.kot,UTV2004s.kot}
-	rm -f "${Ddir}"/System/{XAdmin.kot,XAdmin.u,XMaps.det,XMaps.est}
-	rm -f "${Ddir}"/Textures/jwfasterfiles.utx
-	rm -f "${Ddir}"/Web/ServerAdmin/{admins_home.htm,current_bots.htm,ut2003.css,current_bots_species_group.inc}
-	rm -f "${Ddir}"/Web/ServerAdmin/ClassicUT/current_bots.htm
-	rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{adminsframe.htm,admins_home.htm,admins_menu.htm,current_bots.htm,currentframe.htm,current_menu.htm}
-	rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{defaultsframe.htm,defaults_menu.htm,footer.inc,mainmenu.htm,mainmenu_itemd.inc,rootframe.htm,UnrealAdminPage.css}
-	rm -f "${Ddir}"/Web/ServerAdmin/UT2K3Stats/{admins_home.htm,current_bots.htm,ut2003stats.css}
+	rm -f "${Ddir}"/Animations/ONSNewTank-A.ukx || die
+	rm -f "${Ddir}"/Help/UT2004Logo.bmp || die
+	rm -f "${Ddir}"/System/{ALAudio.kot,AS-{Convoy,FallenCity,Glacier}.kot,AS-{Convoy,FallenCity,Glacier,Junkyard,Mothership,RobotFactory}.int,bonuspack.{det,est,frt},BonusPack.{int,itt,u},BR-Serenity.int} || die
+	rm -f "${Ddir}"/System/CTF-{AbsoluteZero,BridgeOfFate,DE-ElecFields,DoubleDammage,January,LostFaith}.int || die
+	rm -f "${Ddir}"/System/DM-{1on1-Albatross,1on1-Desolation,1on1-Mixer,Corrugation,IronDeity,JunkYard}.int || die
+	rm -f "${Ddir}"/System/{DOM-Atlantis.int,OnslaughtBP.{kot,u,ucl},OnslaughtFull.int} || die
+	rm -f "${Ddir}"/System/{Build.ini,CacheRecords.ucl,Core.{est,frt,kot,int,itt,u},CTF-January.kot,D3DDrv.kot,DM-1on1-Squader.kot} || die
+	rm -f "${Ddir}"/System/{Editor,Engine,Gameplay,GamePlay,UnrealGame,UT2k4Assault,XInterface,XPickups,xVoting,XVoting,XWeapons,XWebAdmin}.{det,est,frt,int,itt,u} || die
+	rm -f "${Ddir}"/System/{Fire.u,IpDrv.u,License.int,ONS-ArcticStronghold.kot} || die
+	rm -f "${Ddir}"/System/{OnslaughtFull,onslaughtfull,UT2k4AssaultFull}.{det,est,frt,itt,u} || die
+	rm -f "${Ddir}"/System/{GUI2K4,Onslaught,skaarjpack,SkaarjPack,XGame}.{det,est,frt,int,itt,kot,u} || die
+	rm -f "${Ddir}"/System/{Setup,Window}.{det,est,frt,int,itt,kot} || die
+	rm -f "${Ddir}"/System/XPlayers.{det,est,frt,int,itt} || die
+	rm -f "${Ddir}"/System/{UnrealEd.u,UTClassic.u,UTV2004c.u,UTV2004s.u,UWeb.u,Vehicles.kot,Vehicles.u,Xweapons.itt,UT2K4AssaultFull.int,UTV2004.kot,UTV2004s.kot} || die
+	rm -f "${Ddir}"/System/{XAdmin.kot,XAdmin.u,XMaps.det,XMaps.est} || die
+	rm -f "${Ddir}"/Textures/jwfasterfiles.utx || die
+	rm -f "${Ddir}"/Web/ServerAdmin/{admins_home.htm,current_bots.htm,ut2003.css,current_bots_species_group.inc} || die
+	rm -f "${Ddir}"/Web/ServerAdmin/ClassicUT/current_bots.htm || die
+	rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{adminsframe.htm,admins_home.htm,admins_menu.htm,current_bots.htm,currentframe.htm,current_menu.htm} || die
+	rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{defaultsframe.htm,defaults_menu.htm,footer.inc,mainmenu.htm,mainmenu_itemd.inc,rootframe.htm,UnrealAdminPage.css} || die
+	rm -f "${Ddir}"/Web/ServerAdmin/UT2K3Stats/{admins_home.htm,current_bots.htm,ut2003stats.css} || die
 
 	# Remove 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
+	rm -f "${Ddir}"/Animations/{MechaSkaarjAnims,MetalGuardAnim,NecrisAnim,ONSBPAnimations}.ukx || die
+	rm -f "${Ddir}"/Help/BonusPackReadme.txt || die
+	rm -f "${Ddir}"/Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2 || die
+	rm -f "${Ddir}"/Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax || die
+	rm -f "${Ddir}"/StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx || die
+	rm -f "${Ddir}"/System/{ONS-Adara.int,ONS-IslandHop.int,ONS-Tricky.int,ONS-Urban.int,OnslaughtBP.int,xaplayersl3.upl} || die
+	rm -f "${Ddir}"/Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S}.utx || die
+	rm -f "${Ddir}"/Textures/{HourAdaraTexor,ONSBPTextures,ONSBP_DestroyedVehicles,PC_UrbanTex,UT2004ECEPlayerSkins}.utx || die
 
 	# Remove file collisions with ut2004-bonuspack-mega
-	rm -f "${Ddir}"/Help/MegapackReadme.txt
-	rm -f "${Ddir}"/Maps/{AS-BP2-Acatana,AS-BP2-Jumpship,AS-BP2-Outback,AS-BP2-SubRosa,AS-BP2-Thrust}.ut2
-	rm -f "${Ddir}"/Maps/{CTF-BP2-Concentrate,CTF-BP2-Pistola,DM-BP2-Calandras,DM-BP2-GoopGod}.ut2
-	rm -f "${Ddir}"/Music/APubWithNoBeer.ogg
-	rm -f "${Ddir}"/Sounds/A_Announcer_BP2.uax
-	rm -f "${Ddir}"/StaticMeshes/{JumpShipObjects,Ty_RocketSMeshes}.usx
-	rm -f "${Ddir}"/System/{AssaultBP.u,Manifest.in{i,t},Packages.md5}
-	rm -f "${Ddir}"/Textures/{JumpShipTextures,T_Epic2k4BP2,Ty_RocketTextures}.utx
-
-	prepgamesdirs
+	rm -f "${Ddir}"/Help/MegapackReadme.txt || die
+	rm -f "${Ddir}"/Maps/{AS-BP2-Acatana,AS-BP2-Jumpship,AS-BP2-Outback,AS-BP2-SubRosa,AS-BP2-Thrust}.ut2 || die
+	rm -f "${Ddir}"/Maps/{CTF-BP2-Concentrate,CTF-BP2-Pistola,DM-BP2-Calandras,DM-BP2-GoopGod}.ut2 || die
+	rm -f "${Ddir}"/Music/APubWithNoBeer.ogg || die
+	rm -f "${Ddir}"/Sounds/A_Announcer_BP2.uax || die
+	rm -f "${Ddir}"/StaticMeshes/{JumpShipObjects,Ty_RocketSMeshes}.usx || die
+	rm -f "${Ddir}"/System/{AssaultBP.u,Manifest.in{i,t},Packages.md5} || die
+	rm -f "${Ddir}"/Textures/{JumpShipTextures,T_Epic2k4BP2,Ty_RocketTextures}.utx || die
 }
 
 pkg_postinst() {
-	games_pkg_postinst
+	xdg_icon_cache_update
 
 	elog "This is only the data portion of the game. To play UT2004,"
 	elog "you still need to install games-fps/ut2004."
 }
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-data/
@ 2019-10-27 23:49 James Le Cuirot
  0 siblings, 0 replies; 4+ messages in thread
From: James Le Cuirot @ 2019-10-27 23:49 UTC (permalink / raw
  To: gentoo-commits

commit:     97c42549e6a79fb68addd63672691fa64696ffa6
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 27 23:41:32 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 23:47:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c42549

games-fps/ut2004-data: Fix HOMEPAGE, fix deps, drop wrapper

The wrapper is handled by the main ut2004 package instead.

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-fps/ut2004-data/ut2004-data-3186-r5.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
index 377d7b0112f..21e88f8ad6a 100644
--- a/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
+++ b/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
@@ -6,8 +6,7 @@ EAPI=7
 inherit cdrom desktop eutils portability unpacker xdg-utils
 
 DESCRIPTION="Unreal Tournament 2004 - This is the data portion of UT2004"
-HOMEPAGE="http://www.unrealtournament2004.com/"
-SRC_URI=""
+HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004"
 
 LICENSE="ut2003"
 SLOT="0"
@@ -15,8 +14,11 @@ KEYWORDS="~amd64 ~x86"
 
 BDEPEND="
 	games-util/uz2unpack
-	>=app-arch/unshield-0.5-r1"
-PDEPEND="games-fps/ut2004"
+	>=app-arch/unshield-0.5-r1
+"
+
+PDEPEND=">=games-fps/ut2004-3369.3-r2"
+RDEPEND="!games-fps/ut2004-ded"
 
 S="${WORKDIR}"
 
@@ -330,8 +332,6 @@ src_install() {
 		keepdir /opt/ut2004/Benchmark/${j}
 	done
 
-	make_wrapper ut2004 ./ut2004-bin /opt/ut2004/System /opt/ut2004/System /opt/ut2004
-
 	# Remove unneccessary files
 	rm -f "${Ddir}"/*.{bat,exe,EXE,int} || die
 	rm -f "${Ddir}"/Help/{.DS_Store,SAPI-EULA.txt} || die


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-data/
@ 2021-04-18  6:06 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-04-18  6:06 UTC (permalink / raw
  To: gentoo-commits

commit:     7ff940660e9444d83f981cc029aec231c84931c6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 04:26:22 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 06:05:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff94066

games-fps/ut2004-data: fix MissingLicenseRestricts

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/ut2004-data/ut2004-data-3186-r5.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
index 042b62ae184..1afad93fd0c 100644
--- a/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
+++ b/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild
@@ -12,6 +12,8 @@ LICENSE="ut2003"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+RESTRICT="bindist"
+
 BDEPEND="
 	games-util/uz2unpack
 	>=app-arch/unshield-0.5-r1


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-13  4:57 [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-data/ Michael Sterrett
  -- strict thread matches above, loose matches on Subject: below --
2019-10-27 23:49 James Le Cuirot
2019-10-27 23:49 James Le Cuirot
2021-04-18  6:06 Sam James

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