From c43cd51bc725f785b321319a1ca47695cb300c18 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sun, 28 Jan 2007 04:40:14 +0000 Subject: [PATCH] version bump Package-Manager: portage-2.1.1-r2 --- games-fps/nexuiz/ChangeLog | 7 +- games-fps/nexuiz/Manifest | 26 ++--- games-fps/nexuiz/files/digest-nexuiz-2.2.3 | 6 + games-fps/nexuiz/nexuiz-2.2.3.ebuild | 123 +++++++++++++++++++++ 4 files changed, 147 insertions(+), 15 deletions(-) create mode 100644 games-fps/nexuiz/files/digest-nexuiz-2.2.3 create mode 100644 games-fps/nexuiz/nexuiz-2.2.3.ebuild diff --git a/games-fps/nexuiz/ChangeLog b/games-fps/nexuiz/ChangeLog index c75a8c3f5e3f..45643248d365 100644 --- a/games-fps/nexuiz/ChangeLog +++ b/games-fps/nexuiz/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-fps/nexuiz # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/ChangeLog,v 1.19 2007/01/03 16:02:26 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/ChangeLog,v 1.20 2007/01/28 04:40:14 mr_bones_ Exp $ + +*nexuiz-2.2.3 (28 Jan 2007) + + 28 Jan 2007; Michael Sterrett +nexuiz-2.2.3.ebuild: + version bump *nexuiz-2.2.2 (03 Jan 2007) diff --git a/games-fps/nexuiz/Manifest b/games-fps/nexuiz/Manifest index 212d45910af6..56fc5f69b73d 100644 --- a/games-fps/nexuiz/Manifest +++ b/games-fps/nexuiz/Manifest @@ -1,8 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - 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 DIST nexuiz-v222.zip 199827577 RMD160 f13a23e05d01a284a2cc184ca5e94d71ac06c48b SHA1 296914c447ec7086c726f09e2680279379ce6b21 SHA256 bd807c1ddd1fe3df95a9748157ee52b6bd8c0eed4bff7d5879de3c70c1d0bab6 EBUILD nexuiz-2.1.ebuild 3860 RMD160 e4a12df765c8de49cf354c630ae04ff976a7f0f2 SHA1 37fa51de8a4e9abfd3843c7e6484ffda6debe362 SHA256 3072a134eb25790eed00ac229822368713341d1523625d808784cb55d07952c5 MD5 0ab9ffce12c41b526decf6adb3a2f49b nexuiz-2.1.ebuild 3860 @@ -12,10 +10,14 @@ EBUILD nexuiz-2.2.2.ebuild 3144 RMD160 649e73e77f41d03b77617fd514c4d1e716f1c7eb MD5 25044b20d4183013e84e59ec7c3a2fde nexuiz-2.2.2.ebuild 3144 RMD160 649e73e77f41d03b77617fd514c4d1e716f1c7eb nexuiz-2.2.2.ebuild 3144 SHA256 de4729aeb2025fa5041ca6bfcde37881e162ae3313c574a4da5697ade8b6eb65 nexuiz-2.2.2.ebuild 3144 -MISC ChangeLog 2910 RMD160 3bf6757de8545c069cd6ecdd5a09eb3893fd1f27 SHA1 98f90f37aa7b84931794fc38a6bc75843be47565 SHA256 e52777fabeeeb3ee9884576c47ca100c6735c7f25fa9526815c3ae005b6b9777 -MD5 c0160e656be3fb1cae779a654a4c6a6d ChangeLog 2910 -RMD160 3bf6757de8545c069cd6ecdd5a09eb3893fd1f27 ChangeLog 2910 -SHA256 e52777fabeeeb3ee9884576c47ca100c6735c7f25fa9526815c3ae005b6b9777 ChangeLog 2910 +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 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -26,10 +28,6 @@ SHA256 accdc37a309a23ee898a72aa97ce2c25d546050e4f0160c410c8f1ef75f3c474 files/di MD5 5bdd577f351d66cfaf53e0abacc40efe files/digest-nexuiz-2.2.2 467 RMD160 c05b2fe8bd84ecfea12a7123246374bea0d62996 files/digest-nexuiz-2.2.2 467 SHA256 c4c1353eb54c9824ac2d85e420bd67d1f859e65e59abbcd84e2264f82abc0fd0 files/digest-nexuiz-2.2.2 467 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) - -iD8DBQFFm9OZdz7hIScOURERAr+EAKCBa0JZwEeTEYmK96OE9WpVcx5DcQCbBe8b -1kFREw/dNP3N4tBrl9yhYGU= -=5nhn ------END PGP SIGNATURE----- +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.2.3 b/games-fps/nexuiz/files/digest-nexuiz-2.2.3 new file mode 100644 index 000000000000..03721bde4db0 --- /dev/null +++ b/games-fps/nexuiz/files/digest-nexuiz-2.2.3 @@ -0,0 +1,6 @@ +MD5 8e15713720964a3223a34ee00700a494 nexmappack.zip 120018513 +RMD160 3197e83f9b41a887924cedc46adec567a6c6959c nexmappack.zip 120018513 +SHA256 59044b6ab393cf8db31cb874b4aec291a489e272f52af9bfd6e7c39a2ffbb78f nexmappack.zip 120018513 +MD5 953fda1555fc1f9ca040bdbb797eb0fd nexuiz-223.zip 199639016 +RMD160 c1cbf7cfca103c2c6e599291339cf4422a1243e9 nexuiz-223.zip 199639016 +SHA256 fef9d5bb3edf56e4db1e5db2d66150b5d3e619870b5d32df9263f70f8120395a nexuiz-223.zip 199639016 diff --git a/games-fps/nexuiz/nexuiz-2.2.3.ebuild b/games-fps/nexuiz/nexuiz-2.2.3.ebuild new file mode 100644 index 000000000000..e0c6b5ccec56 --- /dev/null +++ b/games-fps/nexuiz/nexuiz-2.2.3.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/nexuiz-2.2.3.ebuild,v 1.1 2007/01/28 04:40:14 mr_bones_ 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 +} -- 2.26.2