diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-03-22 17:48:03 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-03-22 17:48:03 +0000 |
commit | 64b43aa6d9a4bd349c789dc86b219fd0901db78f (patch) | |
tree | 1060ef5569ef4d460c5e7cb1d42149c2d830b09c /games-fps/enemy-territory | |
parent | smm++ appears to have died upstream. (diff) | |
download | gentoo-2-64b43aa6d9a4bd349c789dc86b219fd0901db78f.tar.gz gentoo-2-64b43aa6d9a4bd349c789dc86b219fd0901db78f.tar.bz2 gentoo-2-64b43aa6d9a4bd349c789dc86b219fd0901db78f.zip |
Updated to 2.60 and closing bug #86180.
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-fps/enemy-territory')
-rw-r--r-- | games-fps/enemy-territory/ChangeLog | 10 | ||||
-rw-r--r-- | games-fps/enemy-territory/enemy-territory-2.60.ebuild | 89 | ||||
-rw-r--r-- | games-fps/enemy-territory/files/digest-enemy-territory-2.60 | 1 |
3 files changed, 98 insertions, 2 deletions
diff --git a/games-fps/enemy-territory/ChangeLog b/games-fps/enemy-territory/ChangeLog index 36983d93b37a..a2944c3c4665 100644 --- a/games-fps/enemy-territory/ChangeLog +++ b/games-fps/enemy-territory/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-fps/enemy-territory -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v 1.18 2004/12/15 13:25:58 wolf31o2 Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v 1.19 2005/03/22 17:48:03 wolf31o2 Exp $ + +*enemy-territory-2.60 (22 Mar 2005) + + 22 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org> + +enemy-territory-2.60.ebuild: + Updated to 2.60 and closing bug #86180. 15 Dec 2004; Chris Gianelloni <wolf31o2@gentoo.org> enemy-territory-2.56-r2.ebuild: diff --git a/games-fps/enemy-territory/enemy-territory-2.60.ebuild b/games-fps/enemy-territory/enemy-territory-2.60.ebuild new file mode 100644 index 000000000000..0ff7fb8a7bcc --- /dev/null +++ b/games-fps/enemy-territory/enemy-territory-2.60.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/enemy-territory-2.60.ebuild,v 1.1 2005/03/22 17:48:03 wolf31o2 Exp $ + +inherit eutils games + +DESCRIPTION="Return to Castle Wolfenstein: Enemy Territory - standalone multi-player game based on Return to Castle Wolfenstein" +HOMEPAGE="http://www.idsoftware.com/" +SRC_URI="mirror://3dgamers/pub/3dgamers4/games/wolfensteinet/et-linux-${PV}.x86.run + mirror://3dgamers/pub/3dgamers/games/wolfensteinet/et-linux-${PV}.x86.run" + +LICENSE="RTCW-ETEULA" +SLOT="0" +# This game is actively maintained by a developer with both x86 and amd64 kit. +# DO NOT TOUCH THIS EBUILD WITHOUT THE PERMISSION OF wolf31o2!!! +KEYWORDS="~x86 ~amd64" +IUSE="dedicated opengl" +RESTRICT="nomirror nostrip" + +DEPEND="virtual/libc" +RDEPEND="dedicated? ( app-misc/screen ) + !dedicated? ( virtual/opengl ) + opengl? ( virtual/opengl ) + amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0-r1 )" + +S="${WORKDIR}" +dir="${GAMES_PREFIX_OPT}/${PN}" +Ddir="${D}/${dir}" + +pkg_setup() { + check_license || die "License check failed" + games_pkg_setup +} + +src_unpack() { + unpack_makeself +} + +src_install() { + exeinto ${dir} + doexe bin/Linux/x86/et.x86 openurl.sh || die "doexe failed" + insinto ${dir} + dodoc CHANGES README || die "doins failed" + doicon ET.xpm + + cp -r Docs pb etmain "${Ddir}" || die "cp failed" + + games_make_wrapper et ./et.x86 ${dir} + + if use dedicated ; then + doexe bin/Linux/x86/etded.x86 || die "doexe failed" + games_make_wrapper et-ded ./etded.x86 ${dir} + newinitd ${FILESDIR}/et-ded.rc et-ded || die "newinitd failed" + dosed "s:GAMES_USER_DED:${GAMES_USER_DED}:" /etc/init.d/et-ded + dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/et-ded + newconfd ${FILESDIR}/et-ded.conf.d et-ded || die "newconfd failed" + fi + + # TODO: move this to /var/ perhaps ? + dodir "${dir}/etwolf-homedir" + dosym "${dir}/etwolf-homedir" "${GAMES_PREFIX}/.etwolf" + + prepgamesdirs + make_desktop_entry et "Enemy Territory" ET.xpm + chmod g+rw "${Ddir}" "${Ddir}/etwolf-homedir" "${Ddir}/etmain" +} + +pkg_postinst() { + games_pkg_postinst + echo + einfo "To play the game run:" + einfo " et" + + if use dedicated; then + echo + einfo "To start a dedicated server run:" + einfo " /etc/init.d/et-ded start" + echo + einfo "To run the dedicated server at boot, type:" + einfo " rc-update add et-ded default" + echo + einfo "The dedicated server is started under the ${GAMES_USER_DED} user account" + fi + if use amd64; then + echo + einfo "If you are running an amd64 system and using ALSA, you must have" + einfo "ALSA 32-bit emulation enabled in your kernel for this to function properly." + fi +} diff --git a/games-fps/enemy-territory/files/digest-enemy-territory-2.60 b/games-fps/enemy-territory/files/digest-enemy-territory-2.60 new file mode 100644 index 000000000000..cd3361d54877 --- /dev/null +++ b/games-fps/enemy-territory/files/digest-enemy-territory-2.60 @@ -0,0 +1 @@ +MD5 2d2373f29f02e18d365d7f1860eee435 et-linux-2.60.x86.run 270965248 |