From: Tristan Heaven Date: Wed, 13 Dec 2006 18:01:36 +0000 (+0000) Subject: Version bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9be39b1c7b2ae59cc02af4f78197f7f51e7445ab;p=gentoo.git Version bump Package-Manager: portage-2.1.2_rc3-r4 --- diff --git a/games-fps/nexuiz/ChangeLog b/games-fps/nexuiz/ChangeLog index cbd7ff562c51..83b5f2955012 100644 --- a/games-fps/nexuiz/ChangeLog +++ b/games-fps/nexuiz/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-fps/nexuiz # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/ChangeLog,v 1.17 2006/12/05 17:14:21 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/ChangeLog,v 1.18 2006/12/13 18:01:36 nyhm Exp $ + +*nexuiz-2.2.1 (13 Dec 2006) + + 13 Dec 2006; Tristan Heaven +nexuiz-2.2.1.ebuild: + Version bump 05 Dec 2006; Chris Gianelloni nexuiz-1.5.ebuild, nexuiz-2.0.ebuild: diff --git a/games-fps/nexuiz/Manifest b/games-fps/nexuiz/Manifest index c7bebbb0c0c1..f8723cae523e 100644 --- a/games-fps/nexuiz/Manifest +++ b/games-fps/nexuiz/Manifest @@ -1,9 +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 @@ -16,10 +18,14 @@ EBUILD nexuiz-2.1.ebuild 3860 RMD160 e4a12df765c8de49cf354c630ae04ff976a7f0f2 SH MD5 0ab9ffce12c41b526decf6adb3a2f49b nexuiz-2.1.ebuild 3860 RMD160 e4a12df765c8de49cf354c630ae04ff976a7f0f2 nexuiz-2.1.ebuild 3860 SHA256 3072a134eb25790eed00ac229822368713341d1523625d808784cb55d07952c5 nexuiz-2.1.ebuild 3860 -MISC ChangeLog 2640 RMD160 78b5e2a06406682051ffd185b2b4be0715f3c58a SHA1 77a6ed01982d53cb18bbb55c7153078c67b3020a SHA256 8d5c5fea514c086ef3dc55ac91b306b535007f95c6c88ce9636d8d0dff78f406 -MD5 4aadd261f7b013d254b3f0468b525845 ChangeLog 2640 -RMD160 78b5e2a06406682051ffd185b2b4be0715f3c58a ChangeLog 2640 -SHA256 8d5c5fea514c086ef3dc55ac91b306b535007f95c6c88ce9636d8d0dff78f406 ChangeLog 2640 +EBUILD nexuiz-2.2.1.ebuild 3139 RMD160 bd3ff03a5d7becb5d1ac6a42828e119976988c17 SHA1 19dc10c626db9447468da2f08634d4632d293832 SHA256 049033d2d84b8a8078d4dabfb3bd4a4f4dea8a7e1d1b00971f09c57ecd7c80b9 +MD5 eb2476d29ec8fa95eed6a4354d2cc2c1 nexuiz-2.2.1.ebuild 3139 +RMD160 bd3ff03a5d7becb5d1ac6a42828e119976988c17 nexuiz-2.2.1.ebuild 3139 +SHA256 049033d2d84b8a8078d4dabfb3bd4a4f4dea8a7e1d1b00971f09c57ecd7c80b9 nexuiz-2.2.1.ebuild 3139 +MISC ChangeLog 2751 RMD160 8ea83f8a235e713d115a4b49afa3a58155db3b70 SHA1 dfacdf1dc8e777bb7a88be8748547a376e9ff344 SHA256 6bb152190438478e4332f96763f7fb9c96904164f4438497458c887d5755d33f +MD5 361f4d309dc59103cbc094540b45802f ChangeLog 2751 +RMD160 8ea83f8a235e713d115a4b49afa3a58155db3b70 ChangeLog 2751 +SHA256 6bb152190438478e4332f96763f7fb9c96904164f4438497458c887d5755d33f ChangeLog 2751 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -33,10 +39,13 @@ SHA256 fa80a822918bd7bd450d3a4599e6b295aaf186cdd5f9d446bfbddbe136943e0b files/di 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.5 (GNU/Linux) +Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFdaj/kT4lNIS36YERAtbUAJ49lLjVfxwhul4Sa0zbleOWg8yF1wCfUw0D -nzL5hhnrXPrX5ukol4dLVmA= -=0l+G +iD8DBQFFgEAGdz7hIScOURERAgcIAKDi9aeXyaKmcJ4Q3C5njb7Xz1aq0ACg7Mcq +n8OfFtDEAnw0iuzkto2hngc= +=5fqX -----END PGP SIGNATURE----- diff --git a/games-fps/nexuiz/files/digest-nexuiz-2.2.1 b/games-fps/nexuiz/files/digest-nexuiz-2.2.1 new file mode 100644 index 000000000000..a28a49ff32c5 --- /dev/null +++ b/games-fps/nexuiz/files/digest-nexuiz-2.2.1 @@ -0,0 +1,6 @@ +MD5 8e15713720964a3223a34ee00700a494 nexmappack.zip 120018513 +RMD160 3197e83f9b41a887924cedc46adec567a6c6959c nexmappack.zip 120018513 +SHA256 59044b6ab393cf8db31cb874b4aec291a489e272f52af9bfd6e7c39a2ffbb78f nexmappack.zip 120018513 +MD5 25f3943eae669a8a500865cc900b6bac nexuiz-221.zip 199811144 +RMD160 d6c4a7880b04392c699299a1f4645a471e819bcb nexuiz-221.zip 199811144 +SHA256 82e79420d0ead4fa36bc264cff216131a3c52421c8a6c456caa35eebc5b998bd nexuiz-221.zip 199811144 diff --git a/games-fps/nexuiz/nexuiz-2.2.1.ebuild b/games-fps/nexuiz/nexuiz-2.2.1.ebuild new file mode 100644 index 000000000000..ce5374c93973 --- /dev/null +++ b/games-fps/nexuiz/nexuiz-2.2.1.ebuild @@ -0,0 +1,123 @@ +# 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.2.1.ebuild,v 1.1 2006/12/13 18:01:36 nyhm Exp $ + +inherit eutils toolchain-funcs games + +MY_PN=Nexuiz +MY_P=${PN}-${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 + mirror://sourceforge/${PN}/nexmappack.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="alsa dedicated opengl 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} + app-arch/unzip + sdl? ( media-libs/libsdl ${UIDEPEND} ) + opengl? ( virtual/opengl ${UIDEPEND} ) + !dedicated? ( !sdl? ( !opengl? ( virtual/opengl ${UIDEPEND} ) ) )" + +S=${WORKDIR}/darkplaces + +src_unpack() { + unpack ${MY_P}.zip + + local f + for f in "${MY_PN}"/sources/*.zip ; do + unpack ./${f} + done + + cd "${WORKDIR}"/${MY_PN} + unpack nexmappack.zip + + cd "${S}" + # Make the game automatically look in the correct data directory + sed -i "s:gamedirname1:\"${PN}\":" fs.c \ + || die "sed fs.c failed" + + sed -i makefile.inc \ + -e "/^CC=/s:gcc:$(tc-getCC):" \ + -e "s/-O2/${CFLAGS}/" \ + -e "/-lm/s:$: ${LDFLAGS}:" \ + -e '/strip/d' \ + || die "sed makefile.inc failed" + + # This is the right dir, so that e.g. "darkplaces -game nexuiz" will work + sed -i "s:ifdef DP_.*:DP_FS_BASEDIR=${GAMES_DATADIR}/quake1\n&:" makefile \ + || die "sed makefile failed" + + if ! use alsa ; then + sed -i "/DEFAULT_SNDAPI/s:ALSA:OSS:" makefile \ + || die "sed makefile failed" + fi +} + +src_compile() { + if use opengl || ! use dedicated && ! use sdl ; 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 use opengl || use sdl || ! use dedicated ; then + newicon darkplaces72x72.png ${PN}.png + fi + + if use opengl || ! use dedicated && ! use sdl ; then + dogamesbin ${PN}-glx || die "dogamesbin glx failed" + make_desktop_entry ${PN}-glx "Nexuiz (GLX)" + dosym "${GAMES_BINDIR}"/{${PN}-glx,${PN}} + fi + + if use sdl ; then + dogamesbin ${PN}-sdl || die "dogamesbin sdl failed" + make_desktop_entry ${PN}-sdl "Nexuiz (SDL)" + use opengl || dosym "${GAMES_BINDIR}"/{${PN}-sdl,${PN}} + fi + + if use dedicated ; then + dogamesbin ${PN}-dedicated || die "dogamesbin dedicated failed" + fi + + cd "${WORKDIR}"/${MY_PN} + insinto "${GAMES_DATADIR}"/quake1/${PN} + doins -r data/* || die "doins data failed" + + dodoc Docs/*.txt + dohtml Docs/*.{htm,html} + docinto server + dodoc Docs/server/*.{cfg,txt} + + prepgamesdirs +}