Version bumped and closing bug #93255.
authorChris Gianelloni <wolf31o2@gentoo.org>
Sun, 30 Oct 2005 18:12:44 +0000 (18:12 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Sun, 30 Oct 2005 18:12:44 +0000 (18:12 +0000)
Package-Manager: portage-2.0.53_rc6

games-fps/americas-army/ChangeLog
games-fps/americas-army/Manifest
games-fps/americas-army/americas-army-250.ebuild [new file with mode: 0644]
games-fps/americas-army/files/digest-americas-army-250 [new file with mode: 0644]

index e35d7d3d07d7a54ef30fc9bfbb0cb6b2058d6565..deb84e54b56e4183f65ef39b95abd7566bce7e08 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-fps/americas-army
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/ChangeLog,v 1.36 2005/10/23 21:14:53 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/ChangeLog,v 1.37 2005/10/30 18:12:44 wolf31o2 Exp $
+
+*americas-army-250 (30 Oct 2005)
+
+  30 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+  +americas-army-250.ebuild:
+  Version bumped and closing bug #93255.
 
   23 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org>
   americas-army-230.ebuild:
index 1190db41b2b4f88bf96a1c61d955f48d10258457..6db9b425d5060d7012ab4d3b29a248ecce09bbfc 100644 (file)
@@ -1,4 +1,6 @@
-MD5 67c7d56b9e8e6a713dcb9a0bb5a13cf4 ChangeLog 6811
+MD5 c0dc0c3a7d48facd01bd139462d88210 ChangeLog 6970
 MD5 d64fdbf9e8ddb4263026b0f16b9dd835 americas-army-230.ebuild 2436
+MD5 7ab780ef7f93f65a4c88d9a73a3f1e1c americas-army-250.ebuild 2564
 MD5 4aa3b4250bc4806b912b21cd3ac638ea files/digest-americas-army-230 139
+MD5 2dea6766074a1e9b43ce971b4a7882b2 files/digest-americas-army-250 139
 MD5 f1a9a44e85e58296a3710c291666ab78 metadata.xml 672
diff --git a/games-fps/americas-army/americas-army-250.ebuild b/games-fps/americas-army/americas-army-250.ebuild
new file mode 100644 (file)
index 0000000..f0fa8bd
--- /dev/null
@@ -0,0 +1,91 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/americas-army-250.ebuild,v 1.1 2005/10/30 18:12:44 wolf31o2 Exp $
+
+inherit eutils games
+
+MY_P="armyops${PV}-linux.run"
+DESCRIPTION="America's Army: Special Forces - military simulations by the U.S. Army to provide civilians with insights on soldiering"
+HOMEPAGE="http://www.americasarmy.com/"
+SRC_URI="http://treefort.icculus.org/armyops/${MY_P}
+       http://0day.icculus.org/armyops/${MY_P}
+       mirror://3dgamers/${PN/-/}/${MY_P}
+       dedicated? (
+               http://dev.gentoo.org/~wolf31o2/sources/dump/${PN}-all-0.1.tar.bz2
+               mirror://gentoo/${PN}-all-0.1.tar.bz2 )"
+
+LICENSE="Army-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="nostrip nomirror"
+
+IUSE="opengl dedicated"
+
+DEPEND="virtual/libc
+       app-arch/unzip"
+RDEPEND="virtual/libc
+       opengl? ( virtual/opengl )
+       amd64? ( app-emulation/emul-linux-x86-xlibs
+               app-emulation/emul-linux-x86-compat
+               || ( >=media-video/nvidia-glx-1.0.6629-r3
+                       >=media-video/ati-drivers-8.8.25-r1 ) )
+       dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+       games_pkg_setup
+       ewarn "The installed game takes about 1.6GB of space when installed and 2.4GB of space in ${PORTAGE_TMPDIR} to build!"
+}
+
+src_unpack() {
+       unpack_makeself ${DISTDIR}/${MY_P} || die "unpacking game"
+       tar -zxf setupstuff.tar.gz || die
+       if use dedicated; then
+               unpack ${PN}-all-0.1.tar.bz2 || die
+       fi
+}
+
+src_install() {
+       einfo "This will take a while ... go get a pizza or something"
+
+       dodir ${dir}
+
+       tar -jxf armyops${PV}.tar.bz2 -C ${Ddir}/ || die "armyops untar failed"
+       tar -jxf binaries.tar.bz2 -C ${Ddir}/ || die "binaries untar failed"
+
+       dodoc README.linux
+       insinto ${dir}
+       doins ArmyOps.xpm README.linux ArmyOps${PV}_EULA.txt || die "doins failed"
+       newicon ArmyOps.xpm armyops.xpm || die "doins failed"
+       exeinto ${dir}
+       doexe bin/armyops || die "doexe failed"
+       fperms ug+x ${dir}/System/bp/pbweb.x86
+
+       if use dedicated; then
+               newinitd ${S}/armyops-ded.rc armyops-ded
+               newconfd ${S}/armyops-ded.conf. armyops-ded
+               games_make_wrapper armyops-ded ./server-bin ${dir}/System
+       fi
+
+       games_make_wrapper armyops ./armyops "${dir}" "${dir}"
+
+       prepgamesdirs
+       make_desktop_entry armyops "America's Army" armyops.xpm
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       if use dedicated; then
+               einfo "To start a dedicated server, run"
+               einfo " /etc/init.d/armyops-ded start"
+               echo
+       fi
+       if use opengl; then
+               einfo "To play the game run:"
+               einfo " armyops"
+               echo
+       fi
+}
diff --git a/games-fps/americas-army/files/digest-americas-army-250 b/games-fps/americas-army/files/digest-americas-army-250
new file mode 100644 (file)
index 0000000..eae30fa
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 e60202fcd14a192d64d2522e205afdb4 americas-army-all-0.1.tar.bz2 680
+MD5 f0ebbc449aeb6be5fcdf68885d79d57a armyops250-linux.run 813453963