ChangeLog

# ChangeLog for games-fps/rtcw
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/ChangeLog,v 1.33 2008/02/29 19:09:05 carlo Exp $

29 Feb 2008; Carsten Lohrke rtcw-1.41b.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.

28 Apr 2007; Sven Wegener rtcw-1.41b.ebuild:
Fix *initd, *confd and *envd calls (#173884, #174266)

12 Mar 2007; Marius Mauch rtcw-1.41b.ebuild:
Replacing einfo with elog

22 Feb 2007; Piotr JaroszyƄski ChangeLog:
Transition to Manifest2.

05 Dec 2006; Chris Gianelloni rtcw-1.41b.ebuild:
Removing old virtual/x11 dependency.

13 May 2006; Chris Gianelloni rtcw-1.41b.ebuild:
Added sys-libs/lib-compat to RDEPEND on x86 and closing bug #133190.

*rtcw-1.41b (09 May 2006)

09 May 2006; Chris Gianelloni -rtcw-1.41-r2.ebuild,
+rtcw-1.41b.ebuild:
Version bump with new patch. Marking stable on amd64 and x86. Removing older
versions. Closing bug #132377.

31 Mar 2006; Chris Gianelloni rtcw-1.41-r2.ebuild:
Changed nomirror to mirror and nostrip to strip.

24 Jan 2006; Chris Gianelloni rtcw-1.41-r2.ebuild:
Added modular X dependencies and some general cleanup.

21 Oct 2005; Chris Gianelloni rtcw-1.41-r2.ebuild:
Added addition dir variable to games_make_wrapper for bug #109793.

21 Sep 2005; Chris Gianelloni rtcw-1.41-r2.ebuild:
Changed check_license to explicitly list license to check.

30 Aug 2005; Chris Gianelloni rtcw-1.41-r2.ebuild:
Changed to match new 3dgamers mirrors structure in thirdpartymirrors.

15 Jun 2005; Chris Gianelloni rtcw-1.41-r2.ebuild:
Removed INSTALL file.

12 May 2005; Chris Gianelloni rtcw-1.41-r2.ebuild:
Fixing warning about bug #82149.

20 Apr 2005; Chris Gianelloni rtcw-1.41-r2.ebuild:
Added warning about bug #82149.

30 Dec 2004; Chris Gianelloni -rtcw-1.41-r1.ebuild,
rtcw-1.41-r2.ebuild:
Fixed output and made ebuild create 2 .desktop entries.

19 Sep 2004; Travis Tilley rtcw-1.41-r2.ebuild:
added ~amd64 keyword

*rtcw-1.41-r2 (22 Aug 2004)

22 Aug 2004; Chris Gianelloni rtcw-1.41-r1.ebuild,
+rtcw-1.41-r2.ebuild:
Changed to use separate GOTY map pack and patch downloads and closing bug
#57305.

*rtcw-1.41-r1 (13 Jul 2004)

13 Jul 2004; Chris Gianelloni -files/wolf,
-files/wolf-ded, -files/wolfsp, +rtcw-1.41-r1.ebuild, -rtcw-1.41.ebuild:
Added SRC_URI for 1.4-full version to pull in the GOTY maps.

01 Jul 2004; Jeremy Huddleston rtcw-1.41.ebuild:
virtual/glibc -> virtual/libc

03 Jun 2004; Aron Griffis rtcw-1.41.ebuild:
Fix use invocation

24 Apr 2004; Chris Gianelloni rtcw-1.41.ebuild:
Adding wolfmp wolfsp einfo at end of install and closing bug #48864.

20 Apr 2004; Chris Gianelloni rtcw-1.41.ebuild:
Fixing digest and invalid source location. Bad wolfie! Closing bug #48480.

19 Apr 2004; Chris Gianelloni rtcw-1.41.ebuild:
Fixing src_unpack.

19 Apr 2004; Chris Gianelloni rtcw-1.41.ebuild:
Fixing SRC_URI and closing bug #48396.

13 Dec 2003; Chris Gianelloni rtcw-1.41.ebuild:
Fixed SRC_URI location for patches. Closing bug #35730.

10 Dec 2003; Chris Gianelloni rtcw-1.41.ebuild:
Fixed ebuild for dedicated USE flag and also changed icon name.

06 Dec 2003; Chris Gianelloni rtcw-1.41.ebuild:
Added RESTRICT=nomirror. Closing Bug #35223.

*rtcw-1.41 (03 Oct 2003)

03 Oct 2003; Chris Gianelloni metadata.xml,
rtcw-1.41.ebuild, files/wolf, files/wolf-ded, files/wolf-ded.rc:
Adding check_license (missed it earlier).

03 Oct 2003; Chris Gianelloni files/wolf,
files/wolf-ded, files/wolf-ded.rc:
Add back into portage. Add check_license function.

06 Aug 2003; Chris Gianelloni rtcw-1.41.ebuild:
Making sure icon pixmap is put in /usr/share/pixmaps for the .desktop entry

05 Aug 2003; Chris Gianelloni rtcw-1.41.ebuild:
Fixed my bad spelling

16 Jul 2003; Chris Gianelloni rtcw-1.41.ebuild,
files/wolf-ded, files/wolf-ded.rc, files/wolfded, files/wolfded.rc,
files/wolfmp, files/wolfsp:
Add support for unpack_makeself, USE=dedicated, Gnome/KDE .desktop entries,
and rename dedicated files to match dedicated scheme

*rtcw-1.41 (07 Jul 2003)

07 Jul 2003; Mike Frysinger :
Initial import. Ebuild submitted by
Chris Gianelloni
Frederic Mangeant
#22151 #22626.

Manifest

AUX wolf-ded.rc 574 RMD160 8665b8ff7c25bcc081863600c65b7851aff9c7ce SHA1 060fad8e9374840b488dffb91c4c748e0542650b SHA256 e9bd04721ed8480cafe8a963f0c3f7a93b6bf9e3b3ae737789f18bc148f35738
DIST wolf-linux-1.41b.x86.run 73940068 RMD160 d26daffd2d53b40aa8e3ae579be3454e179b058b SHA1 176da1567107eeec3ec3dc14a6b389c47e1303b5 SHA256 2921425c1b429147c1bc6f0c6a8664bec502ae86a2d6bccfaa1162f75dce89f3
DIST wolf-linux-goty-maps.x86.run 51930759 RMD160 354d6b6d03e4962440a5bd76ffda224ad597b73e SHA1 21d98e1511150bdd298fd10f7612d87fa31dfabf SHA256 d80994fc3c89348ac08b616f0e03d6cfca3d2faae89491dd294501cac1cad952
EBUILD rtcw-1.41b.ebuild 2798 RMD160 ab4f2d02562bf1b660f02e8ee3417da04785341f SHA1 28e4c8db3f0d414c62e8cf356217296b7d5893b7 SHA256 aca627864e14eb2f159ff8e64e629ba38213528e86d9eb46d19295076af5648f
MISC ChangeLog 5103 RMD160 08ac8a17ba4d165114fbeeb71385a1dd83529377 SHA1 d90c7383acd415aa8133ca25ac3416de750d6f8d SHA256 98d6850b45f1d5e7bb68d312b23399e26b60a753d20217a2f443d49af1b15bd0
MISC metadata.xml 1053 RMD160 60634a31aa47c8b808588dfedad186e65cd6a9a9 SHA1 bec164109f566d8ef91e5f9f6ab9635d2b587165 SHA256 820cf97bdc7d81a336ff34241e924ba94b99737e7c728f32b587f770e8154428

files

metadata.xml




games

wolf31o2@gentoo.org
Chris Gianelloni


Return to Castle Wolfenstein is a first-person 3-D shooter based loosely on the original Wolfenstein series by id software. The game takes place in Europe during World War II. In the single player game, you play as a US military special operative sent behind enemy lines to stop the Nazi studies into the supernatural and the occult. The multi-player game is a team-based, goal-oriented series of missions and allows you to play as either the Axis or the Allies. There are several classes of characters you can play, each with their own special abilities and weapon choices. The port to Linux was done by TTimo of id software and is an unsupported binary release. This game is commercial software and requires data from the retail Windows version to play.

rtcw-1.41b.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/rtcw-1.41b.ebuild,v 1.8 2008/02/29 19:09:05 carlo Exp $

inherit eutils games

MAPS="wolf-linux-goty-maps.x86.run"
DESCRIPTION="Return to Castle Wolfenstein - Long awaited sequel to Wolfenstein 3D"
HOMEPAGE="http://games.activision.com/games/wolfenstein/"
SRC_URI="mirror://3dgamers/returnwolfenstein/Missions/${MAPS}
mirror://idsoftware/wolf/linux/wolf-linux-${PV}.x86.run"
# mirror://3dgamers/returnwolfenstein/wolf-linux-${PV}.x86.run

LICENSE="RTCW"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="opengl dedicated"
RESTRICT="strip mirror"

UIDEPEND="virtual/opengl
x86? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp
)
amd64? ( app-emulation/emul-linux-x86-xlibs )"
RDEPEND="sys-libs/glibc
dedicated? ( app-misc/screen )
!dedicated? ( ${UIDEPEND} )
opengl? ( ${UIDEPEND} )
x86? ( sys-libs/lib-compat )
amd64? ( app-emulation/emul-linux-x86-compat )"

S=${WORKDIR}

GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}

src_unpack() {
unpack_makeself wolf-linux-goty-maps.x86.run
unpack_makeself wolf-linux-${PV}.x86.run
}

src_install() {
insinto "${dir}"
doins -r main Docs pb

exeinto "${dir}"
doexe bin/Linux/x86/*.x86 openurl.sh || die "copying exe"

games_make_wrapper rtcwmp ./wolf.x86 "${dir}" "${dir}"
games_make_wrapper rtcwsp ./wolfsp.x86 "${dir}" "${dir}"

if use dedicated; then
games_make_wrapper wolf-ded ./wolfded.x86 "${dir}" "${dir}"
newinitd "${FILESDIR}"/wolf-ded.rc wolf-ded
dosed "s:GENTOO_DIR:${dir}:" /etc/init.d/wolf-ded
fi

insinto ${dir}
doins WolfMP.xpm WolfSP.xpm QUICKSTART CHANGES RTCW-README-1.4.txt
doicon WolfMP.xpm WolfSP.xpm

prepgamesdirs
make_desktop_entry rtcwmp "Return to Castle Wolfenstein (MP)" WolfMP
make_desktop_entry rtcwsp "Return to Castle Wolfenstein (SP)" WolfSP
}

pkg_postinst() {
games_pkg_postinst
ewarn "There are two possible security bugs in this package, both causing a"
ewarn "denial of service. One affects the game when running a server, the"
ewarn "other when running as a client."
ewarn "For more information, see bug #82149."
echo
elog "You need to copy pak0.pk3, mp_pak0.pk3, mp_pak1.pk3, mp_pak2.pk3,"
elog "sp_pak1.pk3 and sp_pak2.pk3 from a Window installation into ${dir}/main/"
elog
elog "To play the game run:"
elog " rtcwsp (single-player)"
elog " rtcwmp (multi-player)"
elog
if use dedicated
then
elog "To start a dedicated server run:"
elog " /etc/init.d/wolf-ded start"
elog
elog "To run the dedicated server at boot, type:"
elog " rc-update add wolf-ded default"
elog
elog "The dedicated server is started under the ${GAMES_USER_DED} user account"
echo
fi
}