diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-03-09 00:36:25 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-03-09 00:36:25 +0000 |
commit | 48f7ca040a78bfd3341784ae98f5c32bb87eced7 (patch) | |
tree | 5472f13ce5301f3dc15109aa68276c74d3560fa4 /games-fps/nexuiz | |
parent | old (diff) | |
download | gentoo-2-48f7ca040a78bfd3341784ae98f5c32bb87eced7.tar.gz gentoo-2-48f7ca040a78bfd3341784ae98f5c32bb87eced7.tar.bz2 gentoo-2-48f7ca040a78bfd3341784ae98f5c32bb87eced7.zip |
old
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-fps/nexuiz')
-rw-r--r-- | games-fps/nexuiz/Manifest | 14 | ||||
-rw-r--r-- | games-fps/nexuiz/files/nexuiz-2.5.1-jpeg.patch | 113 | ||||
-rw-r--r-- | games-fps/nexuiz/nexuiz-2.5.1-r1.ebuild | 137 | ||||
-rw-r--r-- | games-fps/nexuiz/nexuiz-2.5.1.ebuild | 130 |
4 files changed, 0 insertions, 394 deletions
diff --git a/games-fps/nexuiz/Manifest b/games-fps/nexuiz/Manifest index 5b8eac7071ab..59b7d2e77f50 100644 --- a/games-fps/nexuiz/Manifest +++ b/games-fps/nexuiz/Manifest @@ -1,21 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX nexuiz-2.5.1-jpeg.patch 2918 RMD160 d87ce8c1fcd37e86d2a18b97bbf6c97a28f74ef9 SHA1 e9692fc1d1ea0cf281a7ba9589694d17948433f8 SHA256 94f098d5434ceba42ce4136ace65ebfb8cda04936f040eff66e2f4849af3263b DIST nexmappack_r2.zip 113533483 RMD160 8fbf25ba69ecbaa8170aa468d29ee2f04df5b7f4 SHA1 9d6780822bd682346e74b83e72fafbad45b1ad38 SHA256 15088c7632e0b4f487c789fba4296f44ef5a5d83b51adcb9e603e289e5b8241e DIST nexuiz-242.zip 393779967 RMD160 0b62abe33311a6b1128584e45f137cee9c62d05d SHA1 387e76889699ef5b7f6ee115833284597410a7ac SHA256 ec31db254fd94508f63a5651beff73ce5c9e187e9c91f35f7616f33f082ae52b -DIST nexuiz-251.zip 691491576 RMD160 cdfb2c390754721518149d3d34b6e1fecd9bafb7 SHA1 19b098adea29ea3b66a1082a453e403480faa97d SHA256 d33193b5e9ecdb0619c0dde23f0aa7ae740da25a025efbd90e90ea04e61cf756 DIST nexuiz-252.zip 931253731 RMD160 7b33333ac04c59c8264a6ccc65ffcb978352cea9 SHA1 887dba855d2082206abfb31285722bd7bb45c661 SHA256 a5e27ebcc9775c4a490d0d3536c32e4a8f8f96b038c0b6a78d1823c37a962000 EBUILD nexuiz-2.4.2.ebuild 3021 RMD160 da25da8d93dfd365de07fed2a14e29355ba8c2fb SHA1 3324a6c5b37c1c31a5621149c3df9b3b9ceba262 SHA256 0856baee4f8ca658cfc3cf80d2783ffcc05f6cb21c8399d35f7a9b1526607c30 -EBUILD nexuiz-2.5.1-r1.ebuild 3075 RMD160 bd79cf4411fc5631ebac44f63d82f5a6f9252df9 SHA1 c9060d5d4bbfbec47f4c9b64a5eae1ce1a0ca27c SHA256 932a5e68305f5d4139b98a3a7b69a9095dc7c3a562cf86bcdbc2ba1cb430e891 -EBUILD nexuiz-2.5.1.ebuild 2924 RMD160 03879b3f8593ff968d17fe11e3327ce95a40b7ef SHA1 461f9f9ef548341045493a7dbb45654c029eabd8 SHA256 b9f2056372340f68f9e1ad0783bbd4fd49772fcc02ceeca34c62739f3f5cd494 EBUILD nexuiz-2.5.2.ebuild 2995 RMD160 741d80dd49d07472a5a355129d4c582abe824bdb SHA1 e9c8b29d44d429e43b707d2499d3519b2598d458 SHA256 2bb480e91064d6c03440f74f596e584aaf18be12d0f22b02fe7ad4b5e2b68eb6 MISC ChangeLog 5115 RMD160 cda7121151fadf397e7e51e7d9ff20554b2f1318 SHA1 9eca29317f8643f2c98ba372cb1b2929e0adb40e SHA256 69fda57d3ec3fd2391f413302f5509555739d829c92b7869f2d720fa2544451c MISC metadata.xml 237 RMD160 8b32fda78d72ed7e6df1c6929b0d8ea7e7e857c4 SHA1 9c54a6fbadee617e7bb934db865a98890ce02632 SHA256 a35634a2c24559545aef4e6e3a59cefa0c3d38644e83d1bbe30cd9530787b110 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAkuRERAACgkQNQqtfCuFneN7sQCdGpAua8xVRb6l608R5gT26syx -/6QAnifBwyRs8XCICcwfZeKuRqHYp1li -=J9gd ------END PGP SIGNATURE----- diff --git a/games-fps/nexuiz/files/nexuiz-2.5.1-jpeg.patch b/games-fps/nexuiz/files/nexuiz-2.5.1-jpeg.patch deleted file mode 100644 index 6e34428adbc3..000000000000 --- a/games-fps/nexuiz/files/nexuiz-2.5.1-jpeg.patch +++ /dev/null @@ -1,113 +0,0 @@ ---- darkplaces/makefile 2008/07/19 12:03:15 8416 -+++ darkplaces/makefile 2009/07/20 15:30:38 9064 -@@ -251,6 +251,14 @@ - endif - endif - -+ifdef DP_LINK_TO_LIBJPEG -+ LDFLAGS_LIBJPEG?=-ljpeg -+ LDFLAGS_CL+=$(LDFLAGS_LIBJPEG) -+ LDFLAGS_SV+=$(LDFLAGS_LIBJPEG) -+ LDFLAGS_SDL+=$(LDFLAGS_LIBJPEG) -+ CFLAGS_PRELOAD+=$(CFLAGS_LIBJPEG) -DLINK_TO_LIBJPEG -+endif -+ - ##### GNU Make specific definitions ##### - - DO_LD=$(CC) -o $@ $^ $(LDFLAGS) - ---- darkplaces/jpeg.c 2009/04/10 14:37:23 8892 -+++ darkplaces/jpeg.c 2009/07/20 15:30:38 9064 -@@ -28,6 +28,32 @@ - - cvar_t sv_writepicture_quality = {CVAR_SAVE, "sv_writepicture_quality", "10", "WritePicture quality offset (higher means better quality, but slower)"}; - -+// jboolean is unsigned char instead of int on Win32 -+#ifdef WIN32 -+typedef unsigned char jboolean; -+#else -+typedef int jboolean; -+#endif -+ -+#ifdef LINK_TO_LIBJPEG -+#include <jpeglib.h> -+#define qjpeg_create_compress jpeg_create_compress -+#define qjpeg_create_decompress jpeg_create_decompress -+#define qjpeg_destroy_compress jpeg_destroy_compress -+#define qjpeg_destroy_decompress jpeg_destroy_decompress -+#define qjpeg_finish_compress jpeg_finish_compress -+#define qjpeg_finish_decompress jpeg_finish_decompress -+#define qjpeg_resync_to_restart jpeg_resync_to_restart -+#define qjpeg_read_header jpeg_read_header -+#define qjpeg_read_scanlines jpeg_read_scanlines -+#define qjpeg_set_defaults jpeg_set_defaults -+#define qjpeg_set_quality jpeg_set_quality -+#define qjpeg_start_compress jpeg_start_compress -+#define qjpeg_start_decompress jpeg_start_decompress -+#define qjpeg_std_error jpeg_std_error -+#define qjpeg_write_scanlines jpeg_write_scanlines -+#define jpeg_dll true -+#else - /* - ================================================================= - -@@ -39,18 +65,12 @@ - ================================================================= - */ - --// jboolean is unsigned char instead of int on Win32 --#ifdef WIN32 --typedef unsigned char jboolean; --#else --typedef int jboolean; --#endif -- --#define JPEG_LIB_VERSION 62 // Version 6b -- - typedef void *j_common_ptr; - typedef struct jpeg_compress_struct *j_compress_ptr; - typedef struct jpeg_decompress_struct *j_decompress_ptr; -+ -+#define JPEG_LIB_VERSION 62 // Version 6b -+ - typedef enum - { - JCS_UNKNOWN, -@@ -430,6 +450,7 @@ - // Handle for JPEG DLL - dllhandle_t jpeg_dll = NULL; - qboolean jpeg_tried_loading = 0; -+#endif - - static unsigned char jpeg_eoi_marker [2] = {0xFF, JPEG_EOI}; - static jmp_buf error_in_jpeg; -@@ -464,6 +485,9 @@ - */ - qboolean JPEG_OpenLibrary (void) - { -+#ifdef LINK_TO_LIBJPEG -+ return true; -+#else - const char* dllnames [] = - { - #if defined(WIN64) -@@ -490,6 +514,7 @@ - - // Load the DLL - return Sys_LoadLibrary (dllnames, &jpeg_dll, jpegfuncs); -+#endif - } - - -@@ -502,8 +527,10 @@ - */ - void JPEG_CloseLibrary (void) - { -+#ifndef LINK_TO_LIBJPEG - Sys_UnloadLibrary (&jpeg_dll); - jpeg_tried_loading = false; // allow retry -+#endif - } - - - diff --git a/games-fps/nexuiz/nexuiz-2.5.1-r1.ebuild b/games-fps/nexuiz/nexuiz-2.5.1-r1.ebuild deleted file mode 100644 index e08feacd556f..000000000000 --- a/games-fps/nexuiz/nexuiz-2.5.1-r1.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/nexuiz-2.5.1-r1.ebuild,v 1.1 2009/08/24 12:25:52 nyhm Exp $ - -EAPI=2 -inherit eutils games - -MY_PN=Nexuiz -MY_P=${PN}-${PV//./} -MAPS=nexmappack_r2 -DESCRIPTION="Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine" -HOMEPAGE="http://www.nexuiz.com/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip - maps? ( mirror://sourceforge/${PN}/${MAPS}.zip )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="alsa dedicated maps opengl sdl" - -UIRDEPEND="media-libs/libogg - media-libs/libvorbis - media-libs/libtheora - media-libs/libpng - media-libs/libmodplug - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libXext - x11-libs/libXxf86dga - x11-libs/libXxf86vm - virtual/opengl - alsa? ( media-libs/alsa-lib ) - sdl? ( media-libs/libsdl[joystick,video] )" -UIDEPEND="x11-proto/xextproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - x11-proto/xproto" -RDEPEND="media-libs/jpeg - net-misc/curl - opengl? ( ${UIRDEPEND} ) - !dedicated? ( !opengl? ( ${UIRDEPEND} ) )" -DEPEND="${RDEPEND} - app-arch/unzip - opengl? ( ${UIDEPEND} ) - !dedicated? ( !opengl? ( ${UIDEPEND} ) )" - -S=${WORKDIR}/darkplaces - -src_unpack() { - unpack ${MY_P}.zip - - local f - for f in "${MY_PN}"/sources/*.zip ; do - unpack ./${f} - done - - if use maps ; then - cd "${WORKDIR}"/${MY_PN} - unpack ${MAPS}.zip - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-jpeg.patch - - # Make the game automatically look in the correct data directory - sed -i \ - -e "/^CC=/d" \ - -e "s:-O2:${CFLAGS}:" \ - -e "/-lm/s:$: ${LDFLAGS}:" \ - -e '/^STRIP/s/strip/true/' \ - makefile.inc \ - || die "sed failed" - - sed -i \ - -e '1i DP_LINK_TO_LIBJPEG=1' \ - -e '1i DP_PRELOAD_DEPENDENCIES=1' \ - -e "s:ifdef DP_.*:DP_FS_BASEDIR=${GAMES_DATADIR}/nexuiz\n&:" \ - makefile \ - || die "sed failed" - - if ! use alsa ; then - sed -i \ - -e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \ - makefile \ - || die "sed failed" - fi -} - -src_compile() { - if use opengl || ! use dedicated ; then - emake cl-${PN} || die "emake cl-${PN} failed" - if use sdl ; then - emake sdl-${PN} || die "emake sdl-${PN} failed" - fi - fi - - if use dedicated ; then - emake sv-${PN} || die "emake sv-${PN} failed" - fi -} - -src_install() { - if use opengl || ! use dedicated ; then - dogamesbin ${PN}-glx || die "dogamesbin glx failed" - doicon ${PN}.xpm - make_desktop_entry ${PN}-glx "Nexuiz (GLX)" - if use sdl ; then - dogamesbin ${PN}-sdl || die "dogamesbin sdl failed" - make_desktop_entry ${PN}-sdl "Nexuiz (SDL)" - dosym ${PN}-sdl "${GAMES_BINDIR}"/${PN} - else - dosym ${PN}-glx "${GAMES_BINDIR}"/${PN} - fi - fi - - if use dedicated ; then - dogamesbin ${PN}-dedicated || die "dogamesbin dedicated failed" - fi - - cd "${WORKDIR}"/${MY_PN} - - dodoc Docs/*.txt - dohtml -r readme.html Docs - - insinto "${GAMES_DATADIR}"/${PN} - - if use dedicated ; then - doins -r server || die "doins server failed" - fi - - doins -r data || die "doins data failed" - doins -r havoc || die "doins havoc failed" - - prepgamesdirs -} diff --git a/games-fps/nexuiz/nexuiz-2.5.1.ebuild b/games-fps/nexuiz/nexuiz-2.5.1.ebuild deleted file mode 100644 index 1c75c72ced24..000000000000 --- a/games-fps/nexuiz/nexuiz-2.5.1.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/nexuiz-2.5.1.ebuild,v 1.3 2009/07/10 16:06:46 mr_bones_ Exp $ - -EAPI=2 -inherit eutils games - -MY_PN=Nexuiz -MY_P=${PN}-${PV//./} -MAPS=nexmappack_r2 -DESCRIPTION="Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine" -HOMEPAGE="http://www.nexuiz.com/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip - maps? ( mirror://sourceforge/${PN}/${MAPS}.zip )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="alsa dedicated maps opengl sdl" - -UIRDEPEND="media-libs/libogg - media-libs/libvorbis - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libXext - x11-libs/libXxf86dga - x11-libs/libXxf86vm - virtual/opengl - alsa? ( media-libs/alsa-lib ) - sdl? ( media-libs/libsdl[joystick,video] )" -UIDEPEND="x11-proto/xextproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - x11-proto/xproto" -RDEPEND="media-libs/jpeg - net-misc/curl - opengl? ( ${UIRDEPEND} ) - !dedicated? ( !opengl? ( ${UIRDEPEND} ) )" -DEPEND="${RDEPEND} - app-arch/unzip - opengl? ( ${UIDEPEND} ) - !dedicated? ( !opengl? ( ${UIDEPEND} ) )" - -S=${WORKDIR}/darkplaces - -src_unpack() { - unpack ${MY_P}.zip - - local f - for f in "${MY_PN}"/sources/*.zip ; do - unpack ./${f} - done - - if use maps ; then - cd "${WORKDIR}"/${MY_PN} - unpack ${MAPS}.zip - fi -} - -src_prepare() { - # Make the game automatically look in the correct data directory - sed -i \ - -e "/^CC=/d" \ - -e "s:-O2:${CFLAGS}:" \ - -e "/-lm/s:$: ${LDFLAGS}:" \ - -e '/^STRIP/s/strip/true/' \ - makefile.inc \ - || die "sed failed" - - sed -i \ - -e "s:ifdef DP_.*:DP_FS_BASEDIR=${GAMES_DATADIR}/nexuiz\n&:" \ - makefile \ - || die "sed failed" - - if ! use alsa ; then - sed -i \ - -e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \ - makefile \ - || die "sed failed" - fi -} - -src_compile() { - if use opengl || ! use dedicated ; then - emake cl-${PN} || die "emake cl-${PN} failed" - if use sdl ; then - emake sdl-${PN} || die "emake sdl-${PN} failed" - fi - fi - - if use dedicated ; then - emake sv-${PN} || die "emake sv-${PN} failed" - fi -} - -src_install() { - if use opengl || ! use dedicated ; then - dogamesbin ${PN}-glx || die "dogamesbin glx failed" - newicon darkplaces72x72.png ${PN}.png - make_desktop_entry ${PN}-glx "Nexuiz (GLX)" - if use sdl ; then - dogamesbin ${PN}-sdl || die "dogamesbin sdl failed" - make_desktop_entry ${PN}-sdl "Nexuiz (SDL)" - dosym ${PN}-sdl "${GAMES_BINDIR}"/${PN} - else - dosym ${PN}-glx "${GAMES_BINDIR}"/${PN} - fi - fi - - if use dedicated ; then - dogamesbin ${PN}-dedicated || die "dogamesbin dedicated failed" - fi - - cd "${WORKDIR}"/${MY_PN} - - dodoc Docs/*.txt - dohtml -r readme.html Docs - - insinto "${GAMES_DATADIR}"/${PN} - - if use dedicated ; then - doins -r server || die "doins server failed" - fi - - doins -r data || die "doins data failed" - doins -r havoc || die "doins havoc failed" - - prepgamesdirs -} |