summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-07-05 15:57:37 +0000
committerTristan Heaven <tristan@gentoo.org>2007-07-05 15:57:37 +0000
commit91d1bbce88beb00e5b932fd7173a330bc1e05912 (patch)
tree3e8babeb77a2820104bae81c0a84d27f73c33060 /games-fps
parentKeyworded ~x86-fbsd. (diff)
downloadhistorical-91d1bbce88beb00e5b932fd7173a330bc1e05912.tar.gz
historical-91d1bbce88beb00e5b932fd7173a330bc1e05912.tar.bz2
historical-91d1bbce88beb00e5b932fd7173a330bc1e05912.zip
Install BattlEye, bug #184305
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/warsow/ChangeLog7
-rw-r--r--games-fps/warsow/Manifest23
-rw-r--r--games-fps/warsow/files/digest-warsow-0.3.1-r115
-rw-r--r--games-fps/warsow/warsow-0.3.1-r1.ebuild128
4 files changed, 165 insertions, 8 deletions
diff --git a/games-fps/warsow/ChangeLog b/games-fps/warsow/ChangeLog
index 0336c6dbf34b..b061c544e3a8 100644
--- a/games-fps/warsow/ChangeLog
+++ b/games-fps/warsow/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-fps/warsow
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.6 2007/06/29 22:33:34 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.7 2007/07/05 15:57:37 nyhm Exp $
+
+*warsow-0.3.1-r1 (05 Jul 2007)
+
+ 05 Jul 2007; Tristan Heaven <nyhm@gentoo.org> +warsow-0.3.1-r1.ebuild:
+ Install BattlEye, bug #184305
*warsow-0.3.1 (29 Jun 2007)
diff --git a/games-fps/warsow/Manifest b/games-fps/warsow/Manifest
index b0f377d3fa87..6d470e7bd6da 100644
--- a/games-fps/warsow/Manifest
+++ b/games-fps/warsow/Manifest
@@ -9,11 +9,17 @@ AUX warsow-0.3.1-build.patch 1275 RMD160 f50e15de989d282f8f5af7f09ec744c04e4cdea
MD5 6dcb38f8214396e512768f6a28b5c839 files/warsow-0.3.1-build.patch 1275
RMD160 f50e15de989d282f8f5af7f09ec744c04e4cdea9 files/warsow-0.3.1-build.patch 1275
SHA256 da80078e281429c9ccfb7560104f8f1b51dbf4271f6ac88b2bbeae1df3ff5c6e files/warsow-0.3.1-build.patch 1275
+DIST BEClient_x64.so 83017 RMD160 e453c4c42052893a130a4ebd4aa5956245c720a5 SHA1 85df5fee9e3683f526c15a5352fd0303698ef454 SHA256 228dfb2f8bdc9e7ff83af23e4c49ae2f79172838150d444014fd5dfaf181b9d3
+DIST BEServer_x64.so 86257 RMD160 031588b49ba1c9578ae9eb4cefcb77a6be0ef3e4 SHA1 4fa411afe4a283f08b1b8ae8e5f38c47ee88db87 SHA256 085a79475f5c9ec647c743bb488b57ef1b720da466a85c1ab26ffe634bd2420f
DIST warsow.png 1692 RMD160 098a1505a74a20eb4bdfeda4cf2c537a9524ce23 SHA1 73f0a742940861724bec445a1a582f89d9517dcf SHA256 086968e72271b248ef32609ed1818ff9f5c355297b1eee3cbee9e41f4e18a954
DIST warsow_0.31_linux.tar.gz 92611004 RMD160 fa1dfab5797e25cf52821491858cf3d62e98e013 SHA1 0e4cc49255bb33ae5a07a79662d2ca350f8ca18e SHA256 69c4a6464c3132240d50f9ad39a7521ebadee0c113b5f09fc3a4ace1a048e5eb
DIST warsow_0.31_sdk.zip 17903715 RMD160 8187d62ca7b581ef71e0d5f27194058e58aa71ed SHA1 27175a12f8b88f3a2c7ef998a551c10fae54e94d SHA256 83df0b458cabebc742de042b8649a695d23b07a611a8215cbca907d6eae64db0
DIST warsow_0.3_linux.tar.gz 82709062 RMD160 001e715c0d338525b14d9f87fd205652f8491e9d SHA1 eeb4b3c91e9d086cd9ccb04214f4ad29e7bedff5 SHA256 170ebe80dba2065bd18047146aa98ef4bc7194b3d94a4064f6f66f7c95a1b671
DIST warsow_0.3_sdk.zip 11273935 RMD160 17e7f244170c0daf8f9c2797a3ceb8a168adac7c SHA1 04e0d9cde1b4d4479eea3d27376faa74a49c1281 SHA256 8ee39f81894df0db00d70801f675b7ab906857bda9a58fcb3841e8f3b604347f
+EBUILD warsow-0.3.1-r1.ebuild 3200 RMD160 d8a9dd004d7b84a195c20650e2271bc02e5003ed SHA1 bbaf19c70d4b5de1af63e28b41e58103c16c1baa SHA256 16e5dbe4aca3e5d3abfb064e43a1a01e6a3248fd30d2ccdc13ce7f2f743d3658
+MD5 0a6f9ef807acdc94ee396178de424301 warsow-0.3.1-r1.ebuild 3200
+RMD160 d8a9dd004d7b84a195c20650e2271bc02e5003ed warsow-0.3.1-r1.ebuild 3200
+SHA256 16e5dbe4aca3e5d3abfb064e43a1a01e6a3248fd30d2ccdc13ce7f2f743d3658 warsow-0.3.1-r1.ebuild 3200
EBUILD warsow-0.3.1.ebuild 2522 RMD160 14ff730ed8b44818324500645e2aad4d603d2c56 SHA1 f461b977b20797670eaf8163ae93e64a02ad1e91 SHA256 d1b83edd19dfc762aedb04d296a849d8e29e5629349001195cdfbe09cfc4a0d5
MD5 d9550f1b6e7abc03d49f8e27170fedb6 warsow-0.3.1.ebuild 2522
RMD160 14ff730ed8b44818324500645e2aad4d603d2c56 warsow-0.3.1.ebuild 2522
@@ -22,10 +28,10 @@ EBUILD warsow-0.3.ebuild 2469 RMD160 f7b1a50038b433982d0913ddf768c6900e0de894 SH
MD5 41f49e4366c701b08681e3c68f1a719a warsow-0.3.ebuild 2469
RMD160 f7b1a50038b433982d0913ddf768c6900e0de894 warsow-0.3.ebuild 2469
SHA256 5de373f4ed807cff487c028357a962dcd4011c663456ab9acae6d924dfc76a54 warsow-0.3.ebuild 2469
-MISC ChangeLog 1072 RMD160 7c7b19d72bfd5b113346630fd3e4f4885f16006b SHA1 3939c9e0d2f5c580642ee4e780147ab7bf25e1ff SHA256 d1de7bad9550fe94000189992a1399360493a0ad9e7d15488e465aea3a2bed48
-MD5 1303e11aaa99b2e5b912350508aa77c7 ChangeLog 1072
-RMD160 7c7b19d72bfd5b113346630fd3e4f4885f16006b ChangeLog 1072
-SHA256 d1de7bad9550fe94000189992a1399360493a0ad9e7d15488e465aea3a2bed48 ChangeLog 1072
+MISC ChangeLog 1210 RMD160 a598f905e8c5220b680b6e0930d358a8c63b8cc4 SHA1 5d2162d0deeb929dfacd5bc672a40342688670e6 SHA256 d851434ae379f710d4b101d09e936d05ab848105a38859c5fec825c02e360808
+MD5 321f2cdc360d63a10e24a88756249d7f ChangeLog 1210
+RMD160 a598f905e8c5220b680b6e0930d358a8c63b8cc4 ChangeLog 1210
+SHA256 d851434ae379f710d4b101d09e936d05ab848105a38859c5fec825c02e360808 ChangeLog 1210
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -36,10 +42,13 @@ SHA256 ca3d0b0d2d25a468fd8e84c3428316fb23ab74ab5c837f7f9c9801aa55dffcb6 files/di
MD5 3a3b38159dc422b473c6a831a0c26d80 files/digest-warsow-0.3.1 708
RMD160 9cfd3369e8be7cce2128e50573c2d1d035d6d0fc files/digest-warsow-0.3.1 708
SHA256 5be7cda32290dc9a7f6fb5247f13cdde70498dd69d3af640459b11c8617ff2a6 files/digest-warsow-0.3.1 708
+MD5 cccb746424901c7f90efb7acf1a0f074 files/digest-warsow-0.3.1-r1 1154
+RMD160 73068c7e9aaf29dce4d48b64ba36f23028249c1d files/digest-warsow-0.3.1-r1 1154
+SHA256 d1b16138d69e27028a31969812c54abdd3fce874592378976f92414283d3c18f files/digest-warsow-0.3.1-r1 1154
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
-iD8DBQFGhYjTdz7hIScOURERApANAKCy4Rh5NBEjnrOomhV1+/ThkvTwaQCfZnqZ
-nLo04cuRUt682QGIM9k6NSM=
-=pAux
+iD8DBQFGjRT/dz7hIScOURERAiW3AJsGXh8biMisYlRl9/Zw32cyNmTfkgCgl92n
+18xwWF2PVs/CVyJKg2i/hDE=
+=skaG
-----END PGP SIGNATURE-----
diff --git a/games-fps/warsow/files/digest-warsow-0.3.1-r1 b/games-fps/warsow/files/digest-warsow-0.3.1-r1
new file mode 100644
index 000000000000..85537f92d180
--- /dev/null
+++ b/games-fps/warsow/files/digest-warsow-0.3.1-r1
@@ -0,0 +1,15 @@
+MD5 346ff15316b1bc76aeb14ded36a0f721 BEClient_x64.so 83017
+RMD160 e453c4c42052893a130a4ebd4aa5956245c720a5 BEClient_x64.so 83017
+SHA256 228dfb2f8bdc9e7ff83af23e4c49ae2f79172838150d444014fd5dfaf181b9d3 BEClient_x64.so 83017
+MD5 53358d90883d765931f3c9abb15127ed BEServer_x64.so 86257
+RMD160 031588b49ba1c9578ae9eb4cefcb77a6be0ef3e4 BEServer_x64.so 86257
+SHA256 085a79475f5c9ec647c743bb488b57ef1b720da466a85c1ab26ffe634bd2420f BEServer_x64.so 86257
+MD5 d5eac4a33b3543dbc40d984b84e657f8 warsow.png 1692
+RMD160 098a1505a74a20eb4bdfeda4cf2c537a9524ce23 warsow.png 1692
+SHA256 086968e72271b248ef32609ed1818ff9f5c355297b1eee3cbee9e41f4e18a954 warsow.png 1692
+MD5 74fc786f3a983d82b6ea37868c76a148 warsow_0.31_linux.tar.gz 92611004
+RMD160 fa1dfab5797e25cf52821491858cf3d62e98e013 warsow_0.31_linux.tar.gz 92611004
+SHA256 69c4a6464c3132240d50f9ad39a7521ebadee0c113b5f09fc3a4ace1a048e5eb warsow_0.31_linux.tar.gz 92611004
+MD5 10b684718f7108e7eca42d5ddde3d5e3 warsow_0.31_sdk.zip 17903715
+RMD160 8187d62ca7b581ef71e0d5f27194058e58aa71ed warsow_0.31_sdk.zip 17903715
+SHA256 83df0b458cabebc742de042b8649a695d23b07a611a8215cbca907d6eae64db0 warsow_0.31_sdk.zip 17903715
diff --git a/games-fps/warsow/warsow-0.3.1-r1.ebuild b/games-fps/warsow/warsow-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..3d79c62e2ae9
--- /dev/null
+++ b/games-fps/warsow/warsow-0.3.1-r1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/warsow-0.3.1-r1.ebuild,v 1.1 2007/07/05 15:57:37 nyhm Exp $
+
+inherit eutils toolchain-funcs versionator games
+
+MY_P=${PN}_$(delete_version_separator 2)
+DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)"
+HOMEPAGE="http://www.warsow.net/"
+SRC_URI="http://k3rmit.org/wsw/${MY_P}_linux.tar.gz
+ http://k3rmit.org/wsw/${MY_P}_sdk.zip
+ mirror://gentoo/${PN}.png
+ amd64? (
+ http://www.battleye.com/wsw/BEClient_x64.so
+ http://www.battleye.com/wsw/BEServer_x64.so
+ )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug dedicated irc openal opengl"
+
+UIRDEPEND="media-libs/jpeg
+ media-libs/libvorbis
+ media-libs/libsdl
+ net-misc/curl
+ virtual/opengl
+ x11-libs/libXinerama
+ x11-libs/libXxf86dga
+ x11-libs/libXxf86vm
+ openal? ( media-libs/openal )"
+RDEPEND="opengl? ( ${UIRDEPEND} )
+ !opengl? ( !dedicated? ( ${UIRDEPEND} ) )"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ x11-misc/makedepend"
+
+S=${WORKDIR}/${MY_P}/source
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -f "${WORKDIR}"/${PN}/docs/gnu.txt
+
+ sed -i \
+ -e '/fs_usehomedir =/ s:0:1:' \
+ -e "/fs_basepath =/ s:\.:${GAMES_DATADIR}/${PN}:" \
+ qcommon/files.c \
+ || die "sed files.c failed"
+
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ yesno() { use ${1} && echo YES || echo NO ; }
+
+ if use opengl || ! use dedicated ; then
+ local client="YES"
+ else
+ local client="NO"
+ fi
+
+ emake \
+ BUILD_CLIENT=${client} \
+ BUILD_SERVER=$(yesno dedicated) \
+ BUILD_IRC=$(yesno irc) \
+ BUILD_SND_OPENAL=$(yesno openal) \
+ DEBUG_BUILD=$(yesno debug) \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ || die "emake failed"
+}
+
+src_install() {
+ cd release
+
+ if use opengl || ! use dedicated ; then
+ newgamesbin ${PN}.* ${PN} || die "newgamesbin ${PN} failed"
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} Warsow
+ fi
+
+ if use dedicated ; then
+ newgamesbin wsw_server.* ${PN}-ded || die "newgamesbin ${PN}-ded failed"
+ fi
+
+ exeinto "$(games_get_libdir)"/${PN}
+ doexe */*.so || die "doexe failed"
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r "${WORKDIR}"/${PN}/basewsw || die "doins failed"
+
+ local so
+ for so in basewsw/*.so ; do
+ dosym "$(games_get_libdir)"/${PN}/${so##*/} \
+ "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed"
+ done
+
+ dodir "${GAMES_DATADIR}"/${PN}/libs
+ for so in libs/*.so ; do
+ dosym "$(games_get_libdir)"/${PN}/${so##*/} \
+ "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed"
+ done
+
+ dodir "${GAMES_DATADIR}"/${PN}/BattlEye
+ exeinto "$(games_get_libdir)"/${PN}
+
+ if use x86 ; then
+ cd "${WORKDIR}"/${PN}
+ for so in BattlEye/*_x86.so ; do
+ doexe ${so} || die "doexe ${so} failed"
+ dosym "$(games_get_libdir)"/${PN}/${so##*/} \
+ "${GAMES_DATADIR}"/${PN}/${so} \
+ || die "dosym ${so} failed"
+ done
+ elif use amd64 ; then
+ cd "${DISTDIR}"
+ for so in *_x64.so ; do
+ doexe ${so} || die "doexe ${so} failed"
+ dosym "$(games_get_libdir)"/${PN}/${so} \
+ "${GAMES_DATADIR}"/${PN}/BattlEye/${so} \
+ || die "dosym ${so} failed"
+ done
+ fi
+
+ dodoc "${WORKDIR}"{/${PN},}/docs/*
+ prepgamesdirs
+}