needs unzip #69831
authorMike Frysinger <vapier@gentoo.org>
Wed, 3 Nov 2004 00:29:29 +0000 (00:29 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 3 Nov 2004 00:29:29 +0000 (00:29 +0000)
15 files changed:
games-fps/aaquake2/aaquake2-0.1.ebuild
games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100-r1.ebuild
games-fps/cube/cube-20031223.ebuild [deleted file]
games-fps/cube/cube-20040522.ebuild
games-fps/cube/files/20031223-gentoo-paths.patch [deleted file]
games-fps/cube/files/cube-20021020-add-custom-paths.patch [deleted file]
games-fps/cube/files/digest-cube-20031223 [deleted file]
games-fps/freedoom/freedoom-0.2.ebuild
games-fps/quake1/quake1-2.40.ebuild
games-fps/red-blue-quake2/red-blue-quake2-0.1.ebuild
games-fps/tenebrae/tenebrae-1.04.ebuild
games-fps/transfusion-bin/transfusion-bin-1.01.ebuild
games-fps/unreal-tournament-strikeforce/files/digest-unreal-tournament-strikeforce-1.75 [deleted file]
games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild [deleted file]
games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild

index ea784a0fb99a190fe7f2898ca09e7329fc50d2b4..a4299cd84da5e62c5dc54cddc562253648a00bca 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/aaquake2/aaquake2-0.1.ebuild,v 1.4 2004/06/24 22:39:58 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/aaquake2/aaquake2-0.1.ebuild,v 1.5 2004/11/03 00:18:59 vapier Exp $
 
 inherit games eutils
 
@@ -16,7 +16,9 @@ SLOT="0"
 KEYWORDS="x86"
 IUSE=""
 
-DEPEND="media-libs/aalib"
+RDEPEND="media-libs/aalib"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
 
 S="${WORKDIR}/quake2-3.21/linux"
 
index f3a9377f8d9ddf6594e48810c3f5f20e765c8329..1b6f534f4244654bb3804cec93630658538ff5d2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100-r1.ebuild,v 1.7 2004/08/28 09:43:03 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100-r1.ebuild,v 1.8 2004/11/03 00:19:16 vapier Exp $
 
 inherit games gcc eutils
 
@@ -11,12 +11,14 @@ SRC_URI="http://home.iprimus.com.au/crbean/zip/3dGLQuake_SRC_${PV}.zip
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="x86 ~amd64"
+KEYWORDS="amd64 x86"
 IUSE=""
 
-DEPEND="virtual/x11
+RDEPEND="virtual/x11
        virtual/opengl
        media-libs/libsdl"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
 
 S="${WORKDIR}/WinQuake"
 
diff --git a/games-fps/cube/cube-20031223.ebuild b/games-fps/cube/cube-20031223.ebuild
deleted file mode 100644 (file)
index bbc3068..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20031223.ebuild,v 1.8 2004/08/15 09:18:26 vapier Exp $
-
-inherit eutils games
-
-MY_P="cube_2003_12_23"
-
-DESCRIPTION="open source multiplayer and singleplayer first person shooter game"
-HOMEPAGE="http://www.cubeengine.com/"
-SRC_URI="mirror://sourceforge/cube/${MY_P}.zip"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="x86 ppc hppa"
-IUSE=""
-
-RDEPEND="virtual/opengl
-       virtual/glu
-       media-libs/libsdl
-       media-libs/sdl-mixer
-       media-libs/sdl-image
-       sys-libs/zlib
-       media-libs/libpng"
-DEPEND="${RDEPEND}
-       >=sys-apps/sed-4"
-
-S="${WORKDIR}/cube"
-CUBE_DATADIR="${GAMES_DATADIR}/${PN}/"
-
-src_unpack() {
-       unpack ${A}
-
-       cd ${S}/source
-       unzip -qn ${MY_P}_src.zip || die
-
-       cd ${MY_P}_src/src
-       epatch ${FILESDIR}/${PV}-gentoo-paths.patch
-       echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h
-       echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h
-       sed -i \
-               -e "s:packages/:${CUBE_DATADIR}packages/:" \
-               renderextras.cpp rendermd2.cpp sound.cpp worldio.cpp \
-               || die "fixing data path failed"
-       # enable parallel make
-       sed -i \
-               -e 's/make -C/$(MAKE) -C/' Makefile \
-               || die "sed Makefile failed"
-       edos2unix *.cpp
-}
-
-src_compile() {
-       cd source/${MY_P}_src/src
-       emake CXXOPTFLAGS="${CXXFLAGS}" || die "emake failed"
-}
-
-src_install() {
-       dogamesbin source/${MY_P}_src/src/cube_{client,server} \
-               || die "dogamesbin failed"
-       exeinto "${GAMES_LIBDIR}/${PN}"
-       if [ "${ARCH}" == "x86" ] ; then
-               newexe bin_unix/linux_client cube_client
-               newexe bin_unix/linux_server cube_server
-       elif [ "${ARCH}" == "ppc" ] ; then
-               newexe bin_unix/ppc_linux_client cube_client
-               newexe bin_unix/ppc_linux_server cube_server
-       fi
-       dogamesbin ${FILESDIR}/cube_{client,server}-bin \
-               || die "dogamesbin failed (bin)"
-       sed -i \
-               -e "s:GENTOO_DATADIR:${CUBE_DATADIR}:" \
-               -e "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" \
-               ${D}/${GAMES_BINDIR}/cube_{client,server}-bin
-
-       dodir ${CUBE_DATADIR}
-       cp -r *.cfg data packages ${D}/${CUBE_DATADIR} \
-               || die "cp failed"
-
-       dodoc source/${MY_P}_src/src/CUBE_TODO.txt
-       dohtml -r docs/
-       prepgamesdirs
-}
-
-pkg_postinst() {
-       games_pkg_postinst
-       einfo "You now have 2 clients and 2 servers:"
-       einfo "cube_client-bin      prebuilt version (needed to play on public multiplayer servers)"
-       einfo "cube_client          custom client built from source"
-       einfo "Parallel versions of the server have been installed"
-}
index 581e6989d6ee9b56526c6de479f78f1b4dcfbfb0..23ac4f22776c8b533ddd7a6174c627ce45fd00e3 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20040522.ebuild,v 1.4 2004/08/17 06:20:35 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20040522.ebuild,v 1.5 2004/11/03 00:20:41 vapier Exp $
 
 inherit eutils games
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/cube/${MY_P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="x86 ppc hppa"
+KEYWORDS="hppa ppc x86"
 IUSE=""
 
 RDEPEND="virtual/opengl
@@ -23,6 +23,7 @@ RDEPEND="virtual/opengl
        sys-libs/zlib
        media-libs/libpng"
 DEPEND="${RDEPEND}
+       app-arch/unzip
        >=sys-apps/sed-4"
 
 S="${WORKDIR}/cube"
diff --git a/games-fps/cube/files/20031223-gentoo-paths.patch b/games-fps/cube/files/20031223-gentoo-paths.patch
deleted file mode 100644 (file)
index 594a071..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
---- tools.cpp.orig     2002-12-17 09:35:55.000000000 -0500
-+++ tools.cpp  2002-12-17 09:39:28.000000000 -0500
-@@ -100,8 +100,19 @@
- \r
- ///////////////////////// misc tools ///////////////////////\r
- \r
-+char *addfullpath(char *s) {\r
-+    static char ret[256];     // choose a reasonable max buffer size\r
-+    if (s[0] == '/') { return s; }\r
-+    int slen = strlen(s);\r
-+    memset(ret, 0x00, 256);\r
-+    memcpy(ret, GAMES_DATADIR, GAMES_DATADIR_LEN);\r
-+    memcpy(ret+GAMES_DATADIR_LEN, s, slen);\r
-+    return ret;\r
-+}\r
-+\r
- char *path(char *s)\r
- {\r
-+    s = addfullpath(s);\r
-     for(char *t = s; t = strpbrk(t, "/\\"); *t++ = PATHDIV);\r
-     return s;\r
- };\r
---- rendergl.cpp.orig  2002-12-17 09:48:00.000000000 -0500
-+++ rendergl.cpp       2002-12-17 09:50:19.000000000 -0500
-@@ -59,6 +59,7 @@
- \r
- bool installtex(int tnum, char *texname, int &xs, int &ys, bool clamp)\r
- {\r
-+    texname = addfullpath(texname);\r
-     SDL_Surface *s = IMG_Load(texname);\r
-     if(!s) { conoutf("couldn't load texture %s", (int)texname); return false; };\r
-     if(s->format->BitsPerPixel!=24) { conoutf("texture must be 24bpp: %s", (int)texname); return false; };\r
---- tools.h.orig       2002-12-17 09:51:06.000000000 -0500
-+++ tools.h    2002-12-17 09:50:59.000000000 -0500
-@@ -96,7 +96,7 @@
- #endif\r
- \r
- \r
--\r
-+extern char *addfullpath(char *s);\r
- extern char *path(char *s);\r
- extern char *loadfile(char *fn, int *size);\r
- extern void endianswap(void *, int, int);\r
diff --git a/games-fps/cube/files/cube-20021020-add-custom-paths.patch b/games-fps/cube/files/cube-20021020-add-custom-paths.patch
deleted file mode 100644 (file)
index 594a071..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
---- tools.cpp.orig     2002-12-17 09:35:55.000000000 -0500
-+++ tools.cpp  2002-12-17 09:39:28.000000000 -0500
-@@ -100,8 +100,19 @@
- \r
- ///////////////////////// misc tools ///////////////////////\r
- \r
-+char *addfullpath(char *s) {\r
-+    static char ret[256];     // choose a reasonable max buffer size\r
-+    if (s[0] == '/') { return s; }\r
-+    int slen = strlen(s);\r
-+    memset(ret, 0x00, 256);\r
-+    memcpy(ret, GAMES_DATADIR, GAMES_DATADIR_LEN);\r
-+    memcpy(ret+GAMES_DATADIR_LEN, s, slen);\r
-+    return ret;\r
-+}\r
-+\r
- char *path(char *s)\r
- {\r
-+    s = addfullpath(s);\r
-     for(char *t = s; t = strpbrk(t, "/\\"); *t++ = PATHDIV);\r
-     return s;\r
- };\r
---- rendergl.cpp.orig  2002-12-17 09:48:00.000000000 -0500
-+++ rendergl.cpp       2002-12-17 09:50:19.000000000 -0500
-@@ -59,6 +59,7 @@
- \r
- bool installtex(int tnum, char *texname, int &xs, int &ys, bool clamp)\r
- {\r
-+    texname = addfullpath(texname);\r
-     SDL_Surface *s = IMG_Load(texname);\r
-     if(!s) { conoutf("couldn't load texture %s", (int)texname); return false; };\r
-     if(s->format->BitsPerPixel!=24) { conoutf("texture must be 24bpp: %s", (int)texname); return false; };\r
---- tools.h.orig       2002-12-17 09:51:06.000000000 -0500
-+++ tools.h    2002-12-17 09:50:59.000000000 -0500
-@@ -96,7 +96,7 @@
- #endif\r
- \r
- \r
--\r
-+extern char *addfullpath(char *s);\r
- extern char *path(char *s);\r
- extern char *loadfile(char *fn, int *size);\r
- extern void endianswap(void *, int, int);\r
diff --git a/games-fps/cube/files/digest-cube-20031223 b/games-fps/cube/files/digest-cube-20031223
deleted file mode 100644 (file)
index fd37e49..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 22555b87ef16c403198a6f378c048c6f cube_2003_12_23.zip 18587017
index ae6b1a8f973380cdf9a3a16ccd04f7a61ceb3dea..1619863e3c053109bcd7e44dba4c40d2990ba353 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/freedoom-0.2.ebuild,v 1.2 2004/07/21 18:45:10 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/freedoom-0.2.ebuild,v 1.3 2004/11/03 00:20:22 vapier Exp $
 
 inherit games
 
@@ -17,10 +17,11 @@ SRC_URI="mirror://sourceforge/freedoom/doom1.zip
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="ppc x86"
 IUSE=""
 
-DEPEND="!games-fps/doom-data"
+RDEPEND="!games-fps/doom-data"
+DEPEND="app-arch/unzip"
 
 src_install() {
        insinto ${GAMES_DATADIR}/doom-data
index f4885ad6ea332ff9dab655863678e01078cf5127..0ab7351cfe338f7cef739a12f1c08cf39c58c0a6 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/quake1-2.40.ebuild,v 1.5 2004/06/24 22:43:09 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/quake1-2.40.ebuild,v 1.6 2004/11/03 00:24:33 vapier Exp $
 
 inherit games eutils gcc
 
@@ -13,10 +13,12 @@ SLOT="0"
 KEYWORDS="x86"
 IUSE="X opengl svga 3dfx"
 
-DEPEND="X? ( virtual/x11 )
+RDEPEND="X? ( virtual/x11 )
        opengl? ( virtual/opengl )
        svga? ( media-libs/svgalib )
        3dfx? ( media-libs/glide-v3 )"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
 
 S=${WORKDIR}
 
index e248b68a2e2d382ab7a5fce1a21b19d061cb6833..5387f5e576dd4b6a9aa4268805da0e727b7edc88 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/red-blue-quake2/red-blue-quake2-0.1.ebuild,v 1.4 2004/06/24 22:46:23 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/red-blue-quake2/red-blue-quake2-0.1.ebuild,v 1.5 2004/11/03 00:24:45 vapier Exp $
 
 inherit games eutils
 
@@ -16,7 +16,9 @@ SLOT="0"
 KEYWORDS="x86"
 IUSE=""
 
-DEPEND="virtual/x11"
+RDEPEND="virtual/x11"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
 
 S=${WORKDIR}/quake2-3.21/linux
 
index 8bb93061c36118d99be9715f51f688b677a6286b..4e776361e1538a3ef8ee44f38ba82681ebfda999 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/tenebrae-1.04.ebuild,v 1.5 2004/06/24 22:47:07 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/tenebrae-1.04.ebuild,v 1.6 2004/11/03 00:28:19 vapier Exp $
 
 #ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae"
 #ECVS_MODULE="tenebrae_0"
@@ -17,11 +17,13 @@ SLOT="0"
 KEYWORDS="x86"
 IUSE=""
 
-DEPEND="virtual/opengl
+RDEPEND="virtual/opengl
        virtual/x11
        media-libs/libpng
        sys-libs/zlib"
 #      sdl? ( media-libs/libsdl )"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
 
 S=${WORKDIR}
 
index 40e378a25eecbf486db11043d7c0d5a7046a3ad2..0dab90bcbdf43d0890ee36c6af3c44bd352f5f48 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/transfusion-bin/transfusion-bin-1.01.ebuild,v 1.6 2004/07/01 11:18:19 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/transfusion-bin/transfusion-bin-1.01.ebuild,v 1.7 2004/11/03 00:28:33 vapier Exp $
 
 inherit games
 
@@ -17,7 +17,9 @@ IUSE=""
 RESTRICT="nostrip"
 
 RDEPEND="virtual/libc"
-DEPEND=">=sys-apps/sed-4"
+DEPEND="${RDEPEND}
+       app-arch/unzip
+       >=sys-apps/sed-4"
 
 S="${WORKDIR}/${MY_PN}"
 
diff --git a/games-fps/unreal-tournament-strikeforce/files/digest-unreal-tournament-strikeforce-1.75 b/games-fps/unreal-tournament-strikeforce/files/digest-unreal-tournament-strikeforce-1.75
deleted file mode 100644 (file)
index 51b89d1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e4aae05175f5e039a265d2068f5a7ee3 SF175.zip 115436985
-MD5 2c376557565baea9342b3e848a2cd430 sf175_mappack1.zip 35767354
-MD5 622c20248cc678791f790923532af50f sf175_mappack2.zip 59315718
diff --git a/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild b/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild
deleted file mode 100644 (file)
index 7319658..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild,v 1.5 2004/07/14 14:45:53 agriffis Exp $
-
-inherit games
-
-MY_PV=${PV/./}
-DESCRIPTION="A UT addon where you fight terrorists as part of an elite strikeforce"
-HOMEPAGE="http://www.strikeforcecenter.com/"
-SRC_URI="http://www.zvdk.nl/downloads/server/SF${MY_PV}.zip
-       http://www.zvdk.nl/downloads/client/sf${MY_PV}_mappack1.zip
-       http://www.zvdk.nl/downloads/client/sf${MY_PV}_mappack2.zip"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND="|| ( games-fps/unreal-tournament games-fps/unreal-tournament-goty )"
-
-S="${WORKDIR}"
-
-src_unpack() {
-       # we gotta do this cause there is a duplicate file across these zip's ...
-       unpack SF${MY_PV}.zip
-       unpack sf${MY_PV}_mappack1.zip
-       rm -rf SF_Sounds/urbansnds.uax
-       unpack sf${MY_PV}_mappack2.zip
-}
-
-src_install() {
-       local dir=${GAMES_PREFIX_OPT}/unreal-tournament
-       dodir ${dir}/Help
-       mv *.txt ${D}/${dir}/Help/
-       mv * ${D}/${dir}/
-       prepgamesdirs
-}
index 2d74b9f84def6866940e882d235d8debb3ed7b28..d739bf8426ffb4f19d19ea3ce3289973e028b506 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild,v 1.7 2004/06/24 22:48:43 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild,v 1.8 2004/11/03 00:29:29 vapier Exp $
 
 inherit games
 
@@ -18,9 +18,11 @@ SLOT="0"
 KEYWORDS="x86"
 IUSE=""
 
-DEPEND="|| (
-       games-fps/unreal-tournament
-       games-fps/unreal-tournament-goty )"
+RDEPEND="|| (
+               games-fps/unreal-tournament
+               games-fps/unreal-tournament-goty
+       )"
+DEPEND="app-arch/unzip"
 
 S="${WORKDIR}"