From: Michael Sterrett Date: Wed, 13 Dec 2006 18:09:33 +0000 (+0000) Subject: old X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=644149752710fdc836b186eda5d296b3b284c71c;p=gentoo.git old Package-Manager: portage-2.1.1-r2 --- diff --git a/games-fps/nexuiz/Manifest b/games-fps/nexuiz/Manifest index f8723cae523e..31b84ab1c04c 100644 --- a/games-fps/nexuiz/Manifest +++ b/games-fps/nexuiz/Manifest @@ -1,19 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST nexmappack.zip 120018513 RMD160 3197e83f9b41a887924cedc46adec567a6c6959c SHA1 d63804f7e32056172e4c7fbca245fd4253f96c54 SHA256 59044b6ab393cf8db31cb874b4aec291a489e272f52af9bfd6e7c39a2ffbb78f DIST nexuiz-15.zip 187010881 RMD160 6efcb9e8ec4abf97094d59b6562af871b454a14b SHA1 195c03860a444a33472814a7dcb2a88a2222be81 SHA256 a53b1afbdcbd2cdd3d5417aefffe2512a990035cdc020156a05139d1a2df6006 -DIST nexuiz-20.zip 199962978 RMD160 d08f4288b2d29c605fb260f75c9e90682617ccaa SHA1 20943ebdc38d864f5b611fc6933c70a05fa22acf SHA256 ec530582a8050ddc6f270446994e83a24aa8b664f136132f5764f9a9aa192bf1 DIST nexuiz-21.zip 198728869 RMD160 76ee000c55931b02702ed31b93d5b3e789d3264a SHA1 08045abd5417293928f10340c88f34e0d9993e06 SHA256 4374cd921df8cd18260761840da0b83f363060e409f7921d173afaef2bc77ba2 DIST nexuiz-221.zip 199811144 RMD160 d6c4a7880b04392c699299a1f4645a471e819bcb SHA1 fff2f4cd6767d72bd49ee6c4f9e3f0cf56f17cfa SHA256 82e79420d0ead4fa36bc264cff216131a3c52421c8a6c456caa35eebc5b998bd EBUILD nexuiz-1.5.ebuild 2928 RMD160 58528143942cb7576dc32c6ddfdffe26b213f043 SHA1 fdad9de30f1b3a1a398944debed4c22263c6f0d7 SHA256 7c7e7530584fe1516fce304319de833b893cbff21c0d944f81c13932434d22db MD5 abf43b8545fa2cf813e8e8c1a675a68e nexuiz-1.5.ebuild 2928 RMD160 58528143942cb7576dc32c6ddfdffe26b213f043 nexuiz-1.5.ebuild 2928 SHA256 7c7e7530584fe1516fce304319de833b893cbff21c0d944f81c13932434d22db nexuiz-1.5.ebuild 2928 -EBUILD nexuiz-2.0.ebuild 3751 RMD160 dc58d51249344b4342dffc2704e5211ccf5dcd90 SHA1 d1f5d06d939c8ce07a56498af756a241963c6bec SHA256 b4dba76e78bf4081e20f0812de619c64fb1b02709aca9c9d4086438413c305c0 -MD5 9697efb885acd586a5e1fe55b5c773fe nexuiz-2.0.ebuild 3751 -RMD160 dc58d51249344b4342dffc2704e5211ccf5dcd90 nexuiz-2.0.ebuild 3751 -SHA256 b4dba76e78bf4081e20f0812de619c64fb1b02709aca9c9d4086438413c305c0 nexuiz-2.0.ebuild 3751 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 @@ -33,19 +25,9 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 75abfe3ca34fb25a369482cdb8a7e62e files/digest-nexuiz-1.5 229 RMD160 187fd8c30c2cad3cdf18f36ecdf6fca7331f22f4 files/digest-nexuiz-1.5 229 SHA256 ec2be70525df5848021df3cd5daa2ba744e5381fba6b60ee2da823f2f7e03b50 files/digest-nexuiz-1.5 229 -MD5 9e33d646474618967b7e855332365a1c files/digest-nexuiz-2.0 229 -RMD160 b1f88d281cbf26fa74d58b5a07fa3b938fb147f2 files/digest-nexuiz-2.0 229 -SHA256 fa80a822918bd7bd450d3a4599e6b295aaf186cdd5f9d446bfbddbe136943e0b files/digest-nexuiz-2.0 229 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 9b5f16b497d39909bd26274fb3c2479a files/digest-nexuiz-2.2.1 464 RMD160 bc63a711284ff7414079828641eb366b8d08d829 files/digest-nexuiz-2.2.1 464 SHA256 4c833a719ef47024d14f74c04c76bb27e6f40d1df6e84ca810b5457650fe3830 files/digest-nexuiz-2.2.1 464 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) - -iD8DBQFFgEAGdz7hIScOURERAgcIAKDi9aeXyaKmcJ4Q3C5njb7Xz1aq0ACg7Mcq -n8OfFtDEAnw0iuzkto2hngc= -=5fqX ------END PGP SIGNATURE----- diff --git a/games-fps/nexuiz/files/digest-nexuiz-2.0 b/games-fps/nexuiz/files/digest-nexuiz-2.0 deleted file mode 100644 index f1943a384430..000000000000 --- a/games-fps/nexuiz/files/digest-nexuiz-2.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3cabe44472a848b870685b225b1086c3 nexuiz-20.zip 199962978 -RMD160 d08f4288b2d29c605fb260f75c9e90682617ccaa nexuiz-20.zip 199962978 -SHA256 ec530582a8050ddc6f270446994e83a24aa8b664f136132f5764f9a9aa192bf1 nexuiz-20.zip 199962978 diff --git a/games-fps/nexuiz/nexuiz-2.0.ebuild b/games-fps/nexuiz/nexuiz-2.0.ebuild deleted file mode 100644 index 6059caa43b1e..000000000000 --- a/games-fps/nexuiz/nexuiz-2.0.ebuild +++ /dev/null @@ -1,156 +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.0.ebuild,v 1.4 2006/12/05 17:14:21 wolf31o2 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 - sys-libs/glibc - sys-libs/zlib - 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:strcpy(fs_basedir, \"\"):strcpy(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} || die "emake cl-${PN} failed" - fi - - if use sdl ; then - emake sdl-${PN} || die "emake sdl-${PN} failed" - fi - - if use dedicated ; then - emake sv-${PN} || 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 -}