From ab22237e30642bc348fae50d8bb57607b4ebe29d Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 9 Feb 2007 17:40:58 +0000 Subject: [PATCH] whack old DOSable version (bug #166044) Package-Manager: portage-2.1.1-r2 --- games-fps/nexuiz/Manifest | 24 ++-- games-fps/nexuiz/files/digest-nexuiz-2.1 | 3 - games-fps/nexuiz/nexuiz-2.1.ebuild | 158 ----------------------- 3 files changed, 8 insertions(+), 177 deletions(-) delete mode 100644 games-fps/nexuiz/files/digest-nexuiz-2.1 delete mode 100644 games-fps/nexuiz/nexuiz-2.1.ebuild diff --git a/games-fps/nexuiz/Manifest b/games-fps/nexuiz/Manifest index 429c22229857..e3e605120ecc 100644 --- a/games-fps/nexuiz/Manifest +++ b/games-fps/nexuiz/Manifest @@ -1,25 +1,17 @@ DIST nexmappack.zip 120018513 RMD160 3197e83f9b41a887924cedc46adec567a6c6959c SHA1 d63804f7e32056172e4c7fbca245fd4253f96c54 SHA256 59044b6ab393cf8db31cb874b4aec291a489e272f52af9bfd6e7c39a2ffbb78f -DIST nexuiz-21.zip 198728869 RMD160 76ee000c55931b02702ed31b93d5b3e789d3264a SHA1 08045abd5417293928f10340c88f34e0d9993e06 SHA256 4374cd921df8cd18260761840da0b83f363060e409f7921d173afaef2bc77ba2 DIST nexuiz-223.zip 199639016 RMD160 c1cbf7cfca103c2c6e599291339cf4422a1243e9 SHA1 39d1b675040eb08cfddfb2e3acfbc67a6c55baea SHA256 fef9d5bb3edf56e4db1e5db2d66150b5d3e619870b5d32df9263f70f8120395a -EBUILD nexuiz-2.1.ebuild 3860 RMD160 e4a12df765c8de49cf354c630ae04ff976a7f0f2 SHA1 37fa51de8a4e9abfd3843c7e6484ffda6debe362 SHA256 3072a134eb25790eed00ac229822368713341d1523625d808784cb55d07952c5 -MD5 0ab9ffce12c41b526decf6adb3a2f49b nexuiz-2.1.ebuild 3860 -RMD160 e4a12df765c8de49cf354c630ae04ff976a7f0f2 nexuiz-2.1.ebuild 3860 -SHA256 3072a134eb25790eed00ac229822368713341d1523625d808784cb55d07952c5 nexuiz-2.1.ebuild 3860 -EBUILD nexuiz-2.2.3.ebuild 3148 RMD160 be93d44d5c974911d4d455baa20ab154e5e6cf2c SHA1 dd50b9eeafd4050304f9981e311b691bb4e610e6 SHA256 20bff6fe2173f83d975b6864a5987ad18ba08bf65e92d0bd8f2bb80b6fb8dc18 -MD5 8cf8c49de7b2b1fdd09234dcfd366f11 nexuiz-2.2.3.ebuild 3148 -RMD160 be93d44d5c974911d4d455baa20ab154e5e6cf2c nexuiz-2.2.3.ebuild 3148 -SHA256 20bff6fe2173f83d975b6864a5987ad18ba08bf65e92d0bd8f2bb80b6fb8dc18 nexuiz-2.2.3.ebuild 3148 -MISC ChangeLog 3037 RMD160 af9548406b793f87c0f5b0c1455c902df2cdab09 SHA1 d8bfdc9fc57b44be8ad2ea87c45c892d43cad300 SHA256 8605c1f6af3224246d6aaae14877e6f8101f2c7e3194869df6e8d8e17504dbbd -MD5 cdf76d8e8acd6a805a683fcb0b0fd6bf ChangeLog 3037 -RMD160 af9548406b793f87c0f5b0c1455c902df2cdab09 ChangeLog 3037 -SHA256 8605c1f6af3224246d6aaae14877e6f8101f2c7e3194869df6e8d8e17504dbbd ChangeLog 3037 +EBUILD nexuiz-2.2.3.ebuild 3146 RMD160 656da3d982496274e40efd5eabeb047638f3dd38 SHA1 497658f7065f5b26110d5ab8bc581c7e0c1a047e SHA256 ad2486e80d6174ae7ca569270d840db4085e901696b8b4ec7ac7fdad416a6cbb +MD5 c7d786a60970daf1944bd03aa49f17ee nexuiz-2.2.3.ebuild 3146 +RMD160 656da3d982496274e40efd5eabeb047638f3dd38 nexuiz-2.2.3.ebuild 3146 +SHA256 ad2486e80d6174ae7ca569270d840db4085e901696b8b4ec7ac7fdad416a6cbb nexuiz-2.2.3.ebuild 3146 +MISC ChangeLog 3178 RMD160 dfbfa77b0bedacdf3610c7e274559db2f559b16f SHA1 fcd05d1b86e881d0fbc2e25a3c112fb8047c9711 SHA256 f8e97cfebc5eb22efff8fcb1f71f712d82fb02d1fc7b8c89791816778c41d331 +MD5 5c82bba4cbb9a4513c7b870cd28f10c6 ChangeLog 3178 +RMD160 dfbfa77b0bedacdf3610c7e274559db2f559b16f ChangeLog 3178 +SHA256 f8e97cfebc5eb22efff8fcb1f71f712d82fb02d1fc7b8c89791816778c41d331 ChangeLog 3178 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 -MD5 f6d7d7363e5e380e6eaa36e4d565f24c files/digest-nexuiz-2.1 229 -RMD160 4d231bba3db1ed25f471541cd77b09acc436caf6 files/digest-nexuiz-2.1 229 -SHA256 accdc37a309a23ee898a72aa97ce2c25d546050e4f0160c410c8f1ef75f3c474 files/digest-nexuiz-2.1 229 MD5 bce3c1fd2921767f2700ace5d5952ff2 files/digest-nexuiz-2.2.3 464 RMD160 404e80886cbef3e3b1daef4e9ae2ec915fd5aacb files/digest-nexuiz-2.2.3 464 SHA256 7dddd04b6cda2694634a5f9aa6249d2ccb59b960231dff98f3df7e5f819d8762 files/digest-nexuiz-2.2.3 464 diff --git a/games-fps/nexuiz/files/digest-nexuiz-2.1 b/games-fps/nexuiz/files/digest-nexuiz-2.1 deleted file mode 100644 index a0a07792ffa0..000000000000 --- a/games-fps/nexuiz/files/digest-nexuiz-2.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b614b2e8e9de82085cfe3175a3d26562 nexuiz-21.zip 198728869 -RMD160 76ee000c55931b02702ed31b93d5b3e789d3264a nexuiz-21.zip 198728869 -SHA256 4374cd921df8cd18260761840da0b83f363060e409f7921d173afaef2bc77ba2 nexuiz-21.zip 198728869 diff --git a/games-fps/nexuiz/nexuiz-2.1.ebuild b/games-fps/nexuiz/nexuiz-2.1.ebuild deleted file mode 100644 index f916ca17d77a..000000000000 --- a/games-fps/nexuiz/nexuiz-2.1.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/nexuiz-2.1.ebuild,v 1.4 2006/11/27 18:01:51 nyhm Exp $ - -inherit eutils flag-o-matic games - -MY_PV=${PV//./} -MY_PN="Nexuiz" -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine" -HOMEPAGE="http://www.nexuiz.com" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip - http://www.alientrap.org/Releases/${MY_P}.zip" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="alsa dedicated opengl oss sdl" - -UIRDEPEND="alsa? ( media-libs/alsa-lib ) - media-libs/libogg - media-libs/libvorbis - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libXext - x11-libs/libXxf86dga - x11-libs/libXxf86vm" -UIDEPEND="x11-proto/xextproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - x11-proto/xproto" -RDEPEND="media-libs/jpeg - net-misc/curl - sdl? ( media-libs/libsdl ${UIRDEPEND} ) - opengl? ( virtual/opengl ${UIRDEPEND} ) - !dedicated? ( !sdl? ( !opengl? ( virtual/opengl ${UIRDEPEND} ) ) )" -DEPEND="${RDEPEND} - dev-util/pkgconfig - app-arch/unzip - sdl? ( media-libs/libsdl ${UIDEPEND} ) - opengl? ( virtual/opengl ${UIDEPEND} ) - !dedicated? ( !sdl? ( !opengl? ( virtual/opengl ${UIDEPEND} ) ) )" - -S=${WORKDIR}/darkplaces -# This is the right dir, so that e.g. "darkplaces -game nexuiz" will work -dir=${GAMES_DATADIR}/quake1 -exe=${PN} - -default_client() { - if use opengl || $( ! use dedicated && ! use sdl ) ; then - # Build default client - return 0 - fi - return 1 -} - -pkg_setup() { - games_pkg_setup - - if default_client && ! use opengl ; then - einfo "Defaulting to OpenGL client" - fi -} - -src_unpack() { - unpack ${A} - - local f - for f in "${MY_PN}"/sources/*.zip ; do - unpack ./"${f}" - done - - rm "${MY_PN}"/Docs/server/{*_mac.*,*.bat} - - cd "${S}" - # Make the game automatically look in the correct data directory - sed -i fs.c \ - -e "s:strlcpy(fs_basedir, \"\"):strlcpy(fs_basedir, \"${dir}\"):" \ - -e "s:gamedirname1:\"${PN}\":" \ - || die "sed fs.c failed" - - # Only additional CFLAGS optimization is the -march flag - local march=$(get-flag -march) - sed -i makefile.inc \ - -e '/^CC=/d' \ - -e "s:-lasound:$(pkg-config --libs alsa):" \ - -e "s:CPUOPTIMIZATIONS=:CPUOPTIMIZATIONS=${march}:" \ - -e "s:strip:#strip:" \ - || die "sed makefile.inc failed" - - # Reduce SDL audio buffer, to fix latency - sed -i "s:requested->speed / 20.0:512:" snd_sdl.c \ - || die "sed snd_sdl.c failed" - - # Default sound is alsa. - if ! use alsa ; then - if use oss ; then - sed -i "s:DEFAULT_SNDAPI=ALSA:DEFAULT_SNDAPI=OSS:" makefile \ - || die "sed oss failed" - else - sed -i "s:DEFAULT_SNDAPI=ALSA:DEFAULT_SNDAPI=NULL:" makefile \ - || die "sed null failed" - fi - fi -} - -src_compile() { - if default_client ; then - emake cl-${PN} DP_FS_BASEDIR=${GAMES_DATADIR}/quake1 \ - || die "emake cl-${PN} failed" - fi - - if use sdl ; then - emake sdl-${PN} DP_FS_BASEDIR=${GAMES_DATADIR}/quake1 \ - || die "emake sdl-${PN} failed" - fi - - if use dedicated ; then - emake sv-${PN} DP_FS_BASEDIR=${GAMES_DATADIR}/quake1 \ - || die "emake sv-${PN} failed" - fi -} - -src_install() { - if default_client || use sdl ; then - newicon darkplaces72x72.png ${PN}.png - fi - - if default_client ; then - newgamesbin ${PN}-glx ${PN} \ - || die "newgamesbin opengl failed" - make_desktop_entry ${PN} Nexuiz ${PN}.png - fi - - if use sdl ; then - dogamesbin ${PN}-sdl \ - || die "dogamesbin sdl failed" - make_desktop_entry ${PN}-sdl "Nexuiz (SDL)" ${PN}.png - fi - - if use dedicated ; then - newgamesbin ${PN}-dedicated ${PN}-ded \ - || die "newgamesbin ded failed" - games_make_wrapper ${PN}-ded ./${PN}-ded "${dir}" - fi - - cd "${WORKDIR}/${MY_PN}" - insinto "${dir}/${PN}" - doins -r data/* || die "doins data failed" - - dodoc Docs/*.txt - dohtml Docs/*.{htm,html} - docinto server - dodoc Docs/server/* - - prepgamesdirs -} -- 2.26.2