Update snapshot.
authorMike Frysinger <vapier@gentoo.org>
Sat, 11 Mar 2006 12:01:03 +0000 (12:01 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 11 Mar 2006 12:01:03 +0000 (12:01 +0000)
Package-Manager: portage-2.1_pre5-r4

games-fps/quake3/ChangeLog
games-fps/quake3/Manifest
games-fps/quake3/files/digest-quake3-1.34_alpha632 [new file with mode: 0644]
games-fps/quake3/quake3-1.34_alpha632.ebuild [new file with mode: 0644]

index 3395f60f6d0f5884c79303c62036767c283d784e..71b055a4009623e05d8dd44f3933b2dc300797dc 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-fps/quake3
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.30 2006/01/22 02:53:36 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.31 2006/03/11 12:01:03 vapier Exp $
+
+*quake3-1.34_alpha632 (11 Mar 2006)
+
+  11 Mar 2006; Mike Frysinger <vapier@gentoo.org>
+  +quake3-1.34_alpha632.ebuild:
+  Update snapshot.
 
   22 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org>
   quake3-1.33_alpha510.ebuild:
index d6aff6c40cfd41d313ef531ee6d12f5878a84619..f5add18170f08797e7f970e2775b6f89e9d32fc2 100644 (file)
@@ -1,8 +1,34 @@
-MD5 b79883338af91057320b21b3fe58cdc2 ChangeLog 1078
-MD5 2dcccc11eb605e8f01d0d9fa34ee6118 files/digest-quake3-1.33_alpha364 73
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 37eaf5a586144b9eb9481e9a9a17df98 ChangeLog 1214
+RMD160 ea8ed5327e822107674336c2d8d6b7509a0a4575 ChangeLog 1214
+SHA256 0782795e7bc131acdf6566af7b014a2f807159759c85a8f4c5aa6786a291233a ChangeLog 1214
 MD5 56555c903503bebf15029eb35dcda594 files/digest-quake3-1.33_alpha510 73
+RMD160 018ee156aaae713aad1038e329817efffc9577be files/digest-quake3-1.33_alpha510 73
+SHA256 0d3fd63bd925ca6323c949ab379544152c0a7005dd0ea37f5f6c97b41ba347e6 files/digest-quake3-1.33_alpha510 73
+MD5 af5fc79a66aba9d445b7e0d452bbd51a files/digest-quake3-1.34_alpha632 265
+RMD160 5ebd795cd5c683cae217ab4603fed2cb1ac22e2e files/digest-quake3-1.34_alpha632 265
+SHA256 fc5afe6f6a0b8b78d5e5d16c49b6a05c3881d80f33506d2087d0e39799144d4e files/digest-quake3-1.34_alpha632 265
 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-quake3-9999 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-quake3-9999 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-quake3-9999 0
 MD5 0a25a9c85ee385ef578cb770a957756d metadata.xml 954
-MD5 86f1dcd848e16a75a4130a700cf1febb quake3-1.33_alpha364.ebuild 2587
+RMD160 178b4856c0cdf3c57df6660d283aa9e4709d2511 metadata.xml 954
+SHA256 c8178e5b0a05fe236018af52c641a40d6262dd3e8d24965efafbe61f155bf58f metadata.xml 954
 MD5 db5b1ede75ae741b4655092018d0496b quake3-1.33_alpha510.ebuild 2711
+RMD160 aa2d7d0a40ce4ef026ba81fc8f8fc53dbe37ff31 quake3-1.33_alpha510.ebuild 2711
+SHA256 4c48c1364b3dd0e5926baba894b7c02b8cc34787aae896d53c76c2b02ad6c5fc quake3-1.33_alpha510.ebuild 2711
+MD5 85f6287ad61b7c82ee2df72e6961f8f2 quake3-1.34_alpha632.ebuild 2708
+RMD160 5b43b3af96b8a43a544aee46048beb07a7760a26 quake3-1.34_alpha632.ebuild 2708
+SHA256 0b94fe757e4f5f1e76e4b3fa031438c1b4117c99f40a5dc1b67054e9893a5783 quake3-1.34_alpha632.ebuild 2708
 MD5 81dd279dcbc870e2f76e2c39f3864a9f quake3-9999.ebuild 2653
+RMD160 070d9211617f4514aff5aa837394331c981368e0 quake3-9999.ebuild 2653
+SHA256 27b893d32f740cff9024b5ef00a5071f398f099f7186314bf60e6c1e9ed26000 quake3-9999.ebuild 2653
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEErxq2+ySkm8kpY0RAiTzAKCNcKmrTIGZnKldlGfPr7Q1ijKT2QCfUakW
+XME8u4JPsJqv/mMLrRZRzzw=
+=DBIW
+-----END PGP SIGNATURE-----
diff --git a/games-fps/quake3/files/digest-quake3-1.34_alpha632 b/games-fps/quake3/files/digest-quake3-1.34_alpha632
new file mode 100644 (file)
index 0000000..e433622
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 95abc17191edad2ef0cabff130f8595c quake3-1.34_SVN632M.tar.bz2 2376187
+RMD160 c71685eacb046fea63fc75ace8b8b345c1c9250a quake3-1.34_SVN632M.tar.bz2 2376187
+SHA256 2ea0b694472120c3d64f3c0f1cfd0f9a9c35da416c0379b35234815a38d6ebfc quake3-1.34_SVN632M.tar.bz2 2376187
diff --git a/games-fps/quake3/quake3-1.34_alpha632.ebuild b/games-fps/quake3/quake3-1.34_alpha632.ebuild
new file mode 100644 (file)
index 0000000..049fe97
--- /dev/null
@@ -0,0 +1,115 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.34_alpha632.ebuild,v 1.1 2006/03/11 12:01:03 vapier Exp $
+
+# quake3-9999          -> latest svn
+# quake3-9999.REV      -> use svn REV
+# quake3-VER_alphaREV  -> svn snapshot REV for version VER
+# quake3-VER           -> normal quake release
+
+if [[ ${PV} == 9999* ]] ; then
+       [[ ${PV} == 9999.* ]] && ESVN_UPDATE_CMD="svn up -r ${PV/9999./}"
+       ESVN_REPO_URI="svn://svn.icculus.org/quake3/trunk"
+       inherit subversion games toolchain-funcs
+
+       SRC_URI=""
+       S=${WORKDIR}/trunk
+elif [[ ${PV} == *_alpha* ]] ; then
+       inherit games toolchain-funcs
+
+       MY_PV=${PV/_alpha*/}
+       SNAP=${PV/*_alpha/}
+       MY_P=${PN}-${MY_PV}_SVN${SNAP}M
+       SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+       S=${WORKDIR}/${MY_P}
+else
+       inherit games toolchain-funcs
+
+       SRC_URI="http://icculus.org/quake3/${P}.tar.bz2"
+fi
+
+DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter"
+HOMEPAGE="http://icculus.org/quake3/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="dedicated opengl"
+
+RDEPEND="opengl? (
+       virtual/opengl
+       media-libs/openal
+       || (
+               (
+                       x11-libs/libXext
+                       x11-libs/libX11
+                       x11-libs/libXau
+                       x11-libs/libXdmcp )
+               virtual/x11 )
+       media-libs/libsdl )
+       !dedicated? (
+               virtual/opengl
+               || (
+                       (
+                               x11-libs/libXext
+                               x11-libs/libX11
+                               x11-libs/libXau
+                               x11-libs/libXdmcp )
+                       virtual/x11 )
+               media-libs/libsdl )
+       games-fps/quake3-data"
+
+src_unpack() {
+       if [[ ${PV} == 9999* ]] ; then
+               subversion_src_unpack
+       else
+               unpack ${A}
+       fi
+}
+
+src_compile() {
+       buildit() { use $1 && echo 1 || echo 0 ; }
+       emake \
+               BUILD_SERVER=$(buildit dedicated) \
+               BUILD_CLIENT=$(buildit opengl) \
+               TEMPDIR="${T}" \
+               CC="$(tc-getCC)" \
+               ARCH=$(tc-arch-kernel) \
+               OPTIMIZE="${CFLAGS}" \
+               DEFAULT_BASEDIR="${GAMES_DATADIR}/quake3" \
+               DEFAULT_LIBDIR="${GAMES_LIBDIR}/quake3" \
+               || die
+}
+
+src_install() {
+       dodoc id-readme.txt TODO README BUGS ChangeLog
+       cd code/unix
+       dodoc README.*
+
+       if use opengl ; then
+               doicon quake3.xpm
+               make_desktop_entry quake3 "Quake III Arena" quake3.xpm
+       fi
+
+       cd ../../build/release*
+       local old_x x
+       for old_x in ioq* ; do
+               x=${old_x%.*}
+               newgamesbin ${old_x} ${x} || die "newgamesbin ${x}"
+               dosym ${x} "${GAMES_BINDIR}"/${x/io}
+       done
+       exeinto "${GAMES_LIBDIR}"/${PN}/baseq3
+       doexe baseq3/*.so || die "baseq3 .so"
+       exeinto "${GAMES_LIBDIR}"/${PN}/missionpack
+       doexe missionpack/*.so || die "missionpack .so"
+
+       prepgamesdirs
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       echo
+       ewarn "The source version of Quake 3 will not work with Punk Buster."
+       ewarn "If you need pb support, then use the quake3-bin package."
+       echo
+}