Moved from games-fps/avp-cvs to games-fps/avp.
authorChris Gianelloni <wolf31o2@gentoo.org>
Tue, 6 Jun 2006 14:11:25 +0000 (14:11 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Tue, 6 Jun 2006 14:11:25 +0000 (14:11 +0000)
games-fps/avp/ChangeLog [new file with mode: 0644]
games-fps/avp/Manifest [new file with mode: 0644]
games-fps/avp/avp-20031110.ebuild [new file with mode: 0644]
games-fps/avp/files/avp-20031110-gcc34.patch [new file with mode: 0644]
games-fps/avp/files/digest-avp-20031110 [new file with mode: 0644]
games-fps/avp/metadata.xml [new file with mode: 0644]

diff --git a/games-fps/avp/ChangeLog b/games-fps/avp/ChangeLog
new file mode 100644 (file)
index 0000000..5b43b16
--- /dev/null
@@ -0,0 +1,47 @@
+# ChangeLog for games-fps/avp-cvs
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/avp/ChangeLog,v 1.1 2006/06/06 14:11:25 wolf31o2 Exp $
+
+*avp-20031110 (06 Jun 2006)
+
+  06 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  +files/avp-20031110-gcc34.patch, +metadata.xml, +avp-20031110.ebuild:
+  Moved from games-fps/avp-cvs to games-fps/avp.
+
+  13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  avp-cvs-20031110.ebuild:
+  Moved games_pkg_setup to the beginning of pkg_setup.
+
+  09 Mar 2006; <Tupone@gentoo.org> +files/avp-cvs-20031110-gcc34.patch,
+  avp-cvs-20031110.ebuild:
+  Modular X dependency fix
+  Fix gcc-3.4 bug (#99756), thanks Triffid Hunter for report.
+
+  21 Jul 2005; Michael Sterrett <mr_bones_@gentoo.org>
+  avp-cvs-20031110.ebuild:
+  use default src_compile; tidy
+
+  03 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>;
+  avp-cvs-20031110.ebuild:
+  Change XFree86 references to X11.
+
+  30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
+  avp-cvs-20031110.ebuild:
+  use emake; don't RDEPEND on sed; virtual/x11
+
+  29 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org>
+  avp-cvs-20031110.ebuild:
+  sed in unpack; make it easier to use live cvs; more error checking/messages
+
+*avp-cvs-20031110 (10 Nov 2003)
+
+  10 Nov 2003; Mike Frysinger <vapier@gentoo.org> :
+  CVS snapshot so we dont keep overloading cvs server.
+
+*avp-cvs-20030314 (11 Jul 2003)
+
+  03 Sep 2003; Michael Sterrett <msterret@gentoo.org> avp-cvs-20030314.ebuild:
+  use sed >= 4; tidy
+
+  11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+  Initial import.  Ebuild submitted by Dirk-Jan Heijs <heijs@phys.rug.nl> #17529.
diff --git a/games-fps/avp/Manifest b/games-fps/avp/Manifest
new file mode 100644 (file)
index 0000000..e2d0e8a
--- /dev/null
@@ -0,0 +1,15 @@
+MD5 df166868fa3e4b9cbb19d19affc85618 ChangeLog 1470
+RMD160 312a1a90115c2448a4ff4ddb46200c5ee9133ddf ChangeLog 1470
+SHA256 0565153d6e2945e1b6d9c1aa2b31bb7243e6827e48e0deb41290ba8b71e87e56 ChangeLog 1470
+MD5 013600ce62249999d495d3a96b4e1228 avp-cvs-20031110.ebuild 1376
+RMD160 b173665d8e5ae6a43f10e8217aeef693a8cc83f8 avp-cvs-20031110.ebuild 1376
+SHA256 95e498ed487eb92f4a7f879769db52ea145873acb4413916ab8fcafbf1263456 avp-cvs-20031110.ebuild 1376
+MD5 b816fec413a9baaca535625132ffb7a0 files/avp-cvs-20031110-gcc34.patch 1405
+RMD160 f93111cb38b73671d447944aad148589bd579a16 files/avp-cvs-20031110-gcc34.patch 1405
+SHA256 39b83a89a6e7c74e1e291c1989f5b1a579095c2058db46b86edcc808629b37f3 files/avp-cvs-20031110-gcc34.patch 1405
+MD5 820a03c878452c5af062656cf1c0677c files/digest-avp-cvs-20031110 244
+RMD160 c55bd4fdc7bf44a8edc6b0f89a301e653bdae503 files/digest-avp-cvs-20031110 244
+SHA256 2605bcb0e21bddfb1000fc67232b59cde9229d91a171dbeb74d34f7ba2a27c99 files/digest-avp-cvs-20031110 244
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
diff --git a/games-fps/avp/avp-20031110.ebuild b/games-fps/avp/avp-20031110.ebuild
new file mode 100644 (file)
index 0000000..d9dc757
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/avp/avp-20031110.ebuild,v 1.1 2006/06/06 14:11:25 wolf31o2 Exp $
+
+#ECVS_SERVER="icculus.org:/cvs/cvsroot"
+ECVS_PASS="anonymous"
+ECVS_MODULE="avp"
+inherit eutils cvs games
+
+DESCRIPTION="Linux port of Aliens vs Predator"
+HOMEPAGE="http://www.icculus.org/avp/"
+SRC_URI="mirror://gentoo/avp-${PV}.tar.bz2"
+
+LICENSE="AvP"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="media-libs/openal
+       media-libs/libsdl"
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+pkg_setup() {
+       games_pkg_setup
+       if has_version 'media-video/nvidia-glx' && has_version '<media-video/nvidia-glx-1.0.5328' ; then
+               ewarn "Your version of OpenGL may not allow this package to compile."
+               ewarn "You need either X11 OpenGL or nvidia-glx at least version 1.0.5328."
+       fi
+}
+
+src_unpack() {
+       if [ "${ECVS_SERVER}" == "offline" ] ; then
+               unpack ${A}
+       else
+               cvs_src_unpack
+       fi
+
+       cd "${S}"
+
+       sed -i \
+               -e "/^CFLAGS =/s:=.*:=${CFLAGS}:" Makefile \
+               || die "sed Makefile failed"
+       epatch "${FILESDIR}/${P}-gcc34.patch"
+}
+
+src_install() {
+       dogamesbin AvP || die "dogamesbin failed"
+       dodoc README TODO
+       prepgamesdirs
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       einfo "please follow the instructions in"
+       einfo "/usr/share/doc/${PF}/README.gz"
+       einfo "to install the rest of the game"
+}
diff --git a/games-fps/avp/files/avp-20031110-gcc34.patch b/games-fps/avp/files/avp-20031110-gcc34.patch
new file mode 100644 (file)
index 0000000..f8f2bd3
--- /dev/null
@@ -0,0 +1,46 @@
+--- win95/hash_tem.hpp.original        2006-03-09 23:04:02.000000000 +0100
++++ win95/hash_tem.hpp 2006-03-09 23:28:20.000000000 +0100
+@@ -432,24 +432,25 @@
+                               // remove the current entry pointed to, advancing to the next
+                               void Remove()
+                               {
+-                                      if (!nEntriesRemaining)
++                                      if (!ConstIterator::nEntriesRemaining)
+                                       {
+                                               HT_FAIL("HTT: Tried to Remove() via an iterator which was Done()");
+                                       }
+-                                      Node * oldP = *nodePP;
+-                                      *nodePP = oldP->nextP;
++                                      Node * oldP = *ConstIterator::nodePP;
++                                      *ConstIterator::nodePP = oldP->nextP;
+                                       delete oldP;
+-                                      if (!*nodePP)
++                                      if (!*ConstIterator::nodePP)
+                                       {
+                                               do
+                                               {
+-                                                      ++ chainPP;
+-                                                      -- nChainsRemaining;
++                                                      ++ ConstIterator::chainPP;
++                                                      -- ConstIterator::nChainsRemaining;
+                                               }
+-                                              while (nChainsRemaining && !*chainPP);
+-                                              nodePP = chainPP;
++                                              while (ConstIterator::nChainsRemaining
++                                                     && !*ConstIterator::chainPP);
++                                              ConstIterator::nodePP = ConstIterator::chainPP;
+                                       }
+-                                      -- nEntriesRemaining;
++                                      -- ConstIterator::nEntriesRemaining;
+                                       -- *tableNEntriesP;
+                               }
+@@ -702,7 +703,7 @@
+       
+ //    for(HashTable<TYPE>::ConstIterator it(ht); !it.Done(); it.Next() )
+-      for (_base_HashTable::ConstIterator it(ht); !it.Done(); it.Next() )
++      for (typename _base_HashTable::ConstIterator it(ht); !it.Done(); it.Next() )
+       {
+               AddRegardless( it.Get() );
+       }
diff --git a/games-fps/avp/files/digest-avp-20031110 b/games-fps/avp/files/digest-avp-20031110
new file mode 100644 (file)
index 0000000..71be5f8
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 b615009c05baf5ad53cc1a2ae7eb587c avp-20031110.tar.bz2 1502637
+RMD160 b8b90f6608d9a824eb88da83f6f0cf086f62fd40 avp-20031110.tar.bz2 1502637
+SHA256 d4f14eae1ea9e81fd170ecf05ae7e281b5b1fdc95ac9787eed03357c76dc77a7 avp-20031110.tar.bz2 1502637
diff --git a/games-fps/avp/metadata.xml b/games-fps/avp/metadata.xml
new file mode 100644 (file)
index 0000000..d3c2cc9
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>