summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-02-10 10:35:29 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-02-10 10:35:29 +0000
commit6470d88e026070cc11fe60570fd7557f9f985bcf (patch)
tree03297fdb28cdcd015ab6221ca4e08610c28a1baf /games-fps/legends
parentFix sun-jdk compiling (Manifest recommit) (diff)
downloadgentoo-2-6470d88e026070cc11fe60570fd7557f9f985bcf.tar.gz
gentoo-2-6470d88e026070cc11fe60570fd7557f9f985bcf.tar.bz2
gentoo-2-6470d88e026070cc11fe60570fd7557f9f985bcf.zip
version bump for bug #40838
Diffstat (limited to 'games-fps/legends')
-rw-r--r--games-fps/legends/ChangeLog11
-rw-r--r--games-fps/legends/Manifest11
-rw-r--r--games-fps/legends/files/digest-legends-0.4.01
-rw-r--r--games-fps/legends/files/legends2
-rw-r--r--games-fps/legends/legends-0.3.6.ebuild4
-rw-r--r--games-fps/legends/legends-0.4.0.ebuild56
6 files changed, 76 insertions, 9 deletions
diff --git a/games-fps/legends/ChangeLog b/games-fps/legends/ChangeLog
index 398b48c14958..cee1f6fccd4c 100644
--- a/games-fps/legends/ChangeLog
+++ b/games-fps/legends/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-fps/legends
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/ChangeLog,v 1.3 2003/12/13 09:34:20 mr_bones_ Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/ChangeLog,v 1.4 2004/02/10 10:35:29 mr_bones_ Exp $
+
+*legends-0.4.0 (10 Feb 2004)
+
+ 10 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> legends-0.4.0.ebuild,
+ files/legends:
+ version bump; changes from Kristiaan Lenaerts and Donnie Berkholz via bugs
+ #40862 and #40838
*legends-0.3.6 (13 Dec 2003)
diff --git a/games-fps/legends/Manifest b/games-fps/legends/Manifest
index 6edad547b91e..47cfb8e490a5 100644
--- a/games-fps/legends/Manifest
+++ b/games-fps/legends/Manifest
@@ -1,6 +1,9 @@
-MD5 58bd6d9675621da94b183af442b88d9b files/legends 47
-MD5 431ec9fd08d7a352164332fca811430d files/digest-legends-0.3.6 67
-MD5 3c8d3736e44ff5b89117c2f5930b60b3 files/legends-ded 49
MD5 529bf02bbc194f94affa9993abf41887 ChangeLog 695
-MD5 d1af9d760cb65349c05a8833aa55897d legends-0.3.6.ebuild 1152
+MD5 dbb8aa4427ed28e23f9e8cdef5f9b345 legends-0.4.0.ebuild 1590
MD5 19efaca346e15cfd4b111429276f9ea9 metadata.xml 1336
+MD5 d1af9d760cb65349c05a8833aa55897d legends-0.3.6.ebuild 1152
+MD5 b189ca0863ae1d247fb820a19ec66dea attachment.cgi?id=25201 1368
+MD5 f5d78e4d95e40cd67669b58942687d65 files/digest-legends-0.4.0 67
+MD5 aa8c1bd48a100c976303df49a0e31c30 files/legends 76
+MD5 3c8d3736e44ff5b89117c2f5930b60b3 files/legends-ded 49
+MD5 431ec9fd08d7a352164332fca811430d files/digest-legends-0.3.6 67
diff --git a/games-fps/legends/files/digest-legends-0.4.0 b/games-fps/legends/files/digest-legends-0.4.0
new file mode 100644
index 000000000000..4bddaca81805
--- /dev/null
+++ b/games-fps/legends/files/digest-legends-0.4.0
@@ -0,0 +1 @@
+MD5 8f6d98066bd871e6efcad130b5d030ae legends-0.4.0.tar.gz 91164577
diff --git a/games-fps/legends/files/legends b/games-fps/legends/files/legends
index b5796a74ae88..da3f5f0d17b4 100644
--- a/games-fps/legends/files/legends
+++ b/games-fps/legends/files/legends
@@ -1,3 +1,3 @@
#!/bin/sh
cd GENTOO_DIR
-exec ./LinLegends "$@"
+LD_PRELOAD=GENTOO_DIR/LIBSDL exec ./LinLegends "$@"
diff --git a/games-fps/legends/legends-0.3.6.ebuild b/games-fps/legends/legends-0.3.6.ebuild
index 08b34e2beb68..c9f90025aa69 100644
--- a/games-fps/legends/legends-0.3.6.ebuild
+++ b/games-fps/legends/legends-0.3.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/legends-0.3.6.ebuild,v 1.2 2004/01/05 16:37:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/legends-0.3.6.ebuild,v 1.3 2004/02/10 10:35:29 mr_bones_ Exp $
inherit games
diff --git a/games-fps/legends/legends-0.4.0.ebuild b/games-fps/legends/legends-0.4.0.ebuild
new file mode 100644
index 000000000000..aa45a19b5a82
--- /dev/null
+++ b/games-fps/legends/legends-0.4.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/legends-0.4.0.ebuild,v 1.1 2004/02/10 10:35:29 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="A fast-paced first-person-perspective online multiplayer game similar to Tribes"
+HOMEPAGE="http://hosted.tribalwar.com/legends/"
+SRC_URI="http://hosted.tribalwar.com/legends/files/${P}.tar.gz"
+
+RESTRICT="nomirror"
+KEYWORDS="-* x86"
+LICENSE="as-is"
+SLOT="0"
+IUSE="dedicated"
+
+DEPEND=""
+RDEPEND=">=media-libs/libsdl-1.2
+ media-libs/openal"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # keep libSDL-1.3.so because legends requires it as of 0.4.0, and
+ # 1.2.6 is highest in portage
+ # rm libSDL-*.so*
+ rm runlegends libopenal.so
+ find . -type f -exec chmod a-x '{}' \;
+ chmod a+x lindedicated LinLegends
+}
+
+src_install() {
+ local dir="${GAMES_PREFIX_OPT}/${PN}"
+ local LIBSDL=libSDL-1.3.so.0
+
+ dodir "${dir}"
+ keepdir "${dir}/"{show/ui,show/scripts,legends/scripts,legends/data,common/server,common/edit,common/client}
+ cp -R * "${D}${dir}/" || die "cp failed"
+ dogamesbin "${FILESDIR}/legends" || die "dogamesbin failed (1)"
+ dosed "s:GENTOO_DIR:${dir}:" "${GAMES_BINDIR}/legends"
+ dosed "s:LIBSDL:${LIBSDL}:" "${GAMES_BINDIR}/legends"
+ if [ `use dedicated` ] ; then
+ dogamesbin "${FILESDIR}/legends-ded" || die "dogamesbin failed (2)"
+ dosed "s:GENTOO_DIR:${dir}:" "${GAMES_BINDIR}/legends-ded"
+ fi
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "Version ${PV} of ${PN} may give problems if there are"
+ einfo "config-files from earlier versions. Removing the ~/.legends dir"
+ einfo "and restarting will solve this."
+ echo
+}