ChangeLog

# ChangeLog for games-action/xshipwars
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/ChangeLog,v 1.21 2008/03/07 23:57:49 wolf31o2 Exp $

07 Mar 2008; Chris Gianelloni
xshipwars-2.5.5.ebuild:
QA cleanup: Fix quoting.

06 Mar 2008; Chris Gianelloni
xshipwars-2.5.5.ebuild:
Shorten DESCRIPTION by removing extraneous text.

06 Mar 2008; Chris Gianelloni
-files/xshipwars-1.34.0-gcc3.patch, -files/xshipwars-1.34.0-gcc33.patch,
-xshipwars-1.34.0.ebuild, xshipwars-2.5.5.ebuild:
Stable on ppc/x86 and removing older versions.

06 Jul 2007; Tupone Alfredo
files/xshipwars-2.5.5-build.patch, xshipwars-2.5.5.ebuild:
Fix bad data path: bug #184363 by Ken Rushia

31 Jan 2007; Chris Gianelloni
+files/xshipwars-2.5.5-64bit.patch, xshipwars-2.5.5.ebuild:
Added patch from OKUMURA N. Shin-ya for 64-bit
compatibility and closing bug #147037.

01 Dec 2006; Chris Gianelloni
xshipwars-1.34.0.ebuild, xshipwars-2.5.5.ebuild:
Removing old virtual/x11 dependency.

07 Nov 2006; Chris Gianelloni
-xshipwars-2.4.7.ebuild, -xshipwars-2.5.4.ebuild:
Removed older versions.

*xshipwars-2.5.5 (08 Sep 2006)

08 Sep 2006; +files/xshipwars-2.5.5-build.patch,
+xshipwars-2.5.5.ebuild:
Version bump to 2.5.5. Bug #132884 by Toffanin [WiredTEK]

27 Apr 2006; Marien Zwart
files/digest-xshipwars-1.34.0, files/digest-xshipwars-2.4.7, Manifest:
Fixing SHA256 digest, pass four

*xshipwars-2.5.4 (22 Mar 2006)

22 Mar 2006; +files/xshipwars-2.5.4-build.patch,
+xshipwars-2.5.4.ebuild:
Version bump, bug #125277 by Toffanin [WiredTEK]

28 Jan 2006; Joshua Baergen
xshipwars-1.34.0.ebuild, xshipwars-2.4.7.ebuild:
Add modular X dependencies.

*xshipwars-2.4.7 (08 Nov 2005)

08 Nov 2005; Mike Frysinger
+files/xshipwars-2.4.7-64bit-warnings.patch,
+files/xshipwars-2.4.7-build.patch, +xshipwars-2.4.7.ebuild:
Version bump.

07 Aug 2005; Michael Hanselmann
xshipwars-1.34.0.ebuild:
Stable on ppc.

03 May 2005; David Holm xshipwars-1.34.0.ebuild:
Added to ~ppc.

28 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

02 Jun 2004; Michael Sterrett
xshipwars-1.34.0.ebuild:
die backticks

30 Mar 2004; Michael Sterrett
xshipwars-1.34.0.ebuild:
IUSE; virtual/x11

22 Feb 2004; Michael Sterrett
xshipwars-1.34.0.ebuild:
more instructions for post-install (bug #42383)

*xshipwars-1.34.0 (01 Feb 2002)

19 Jun 2003; Mike Frysinger :
Added CFLAGS fix #11406.

01 Dec 2002; Mike Frysinger :
Added a patch for #9093, added games eclass support, added server install

17 jul 2002; Jose Alberto Suárez López xshipwars-1.34.0.ebuild :
Added KEYWORDS.

01 Feb 2002; G.Bevin ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX xshipwars-2.5.5-64bit.patch 24246 RMD160 a70bfa97d90ce9378b523d663392f77b1d25e331 SHA1 a2dea0d81dfe6ad7e647f6e5d9d6a927478c5452 SHA256 e34917bb8ef479c10a984470544741862ae186ab0631322d1af6bf5691dc42fd
AUX xshipwars-2.5.5-build.patch 2762 RMD160 9bd78b0a69632d7e9ef9eced56e27e1fc8c92ec8 SHA1 6ea95ee9b42cc093a1f4b6615dd77eb1291dcea7 SHA256 d674f734a836ba67ea1b7a5ba56020382a348c2d57cf6d620bda727b1d427ce3
DIST stimages-1.11.1.tar.bz2 9707377 RMD160 79130ccaeb3458576d04b15fb82e81776cb0ab93 SHA1 a104bfec0ca56b57d130036c5f223fc4be679977 SHA256 deb34a3e0c7cfd16a1be105039f80a31d1bfd4fc9ed01d43d04e9f5ecd4c4e50
DIST stsounds-1.6.4.tar.bz2 853101 RMD160 1ab068596d52d9b3a21ad29da0e648cd1b74e3f9 SHA1 34cd0700fd854bfd487d91fcdbafabd3a2bfef63 SHA256 e355ad53103a8094d0a12b5955ef0c70cd181ee740ee8d13e9edf7480594cff4
DIST xsw-2.5.5.tar.bz2 1172378 RMD160 d5e7bda32658bcfeb600eec25c052cabc6f170d1 SHA1 5335fef8cc29ce7b934ca3be8f2ba0625a81a184 SHA256 293e62806eaf73ca272fbd9e74a302a18469b60ef15ea29c7dd574534a3dc47d
DIST xsw-data-2.5.5.tar.bz2 2638302 RMD160 914ca9feba23cacfde14aac621a0e70f2adb882b SHA1 b436615af4e14584dd1a8ed03663323af4c8a605 SHA256 7222e1c6fe67d59141484f4e327be3c56cf7422d14e0f029caa689145b37e35e
EBUILD xshipwars-2.5.5.ebuild 2760 RMD160 504c0380b7b8f44e422497399040e38d1e6e7d1a SHA1 c0b5c9337c704a991616beaf99372250a3dd204f SHA256 2cd951c906109a6df4b0cc90f71159abd3b974111250aa5a309f48a3d6a2ba5f
MISC ChangeLog 3637 RMD160 d2593b426d7a7baf7d2c43b4284e31ea151ebc79 SHA1 97acb8b9fc09c4bf4e74c4e84c0f0bc8c517e656 SHA256 fdd743ca5db1aefbe9c9c02a7cb26cdd0d1eda5e089065c96370cbf700702255
MISC metadata.xml 244 RMD160 e30605cf095da3c9b5bf528cf0189d22a5f8ec48 SHA1 9a953d8c75da7e8883af2f24958761a711e3cf09 SHA256 1d86602725a3aa33f1c6cef1ae3ef8d7975f774de9af049753c773c63a5bde6f

files

metadata.xml




games

Add support for the YIFF sound server

xshipwars-2.5.5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/xshipwars-2.5.5.ebuild,v 1.7 2008/03/07 23:57:49 wolf31o2 Exp $

inherit toolchain-funcs eutils games

MY_P=xsw-${PV}
DESCRIPTION="massively multi-player, ultra graphical, space-oriented gaming system designed for network play"
HOMEPAGE="http://wolfpack.twu.net/ShipWars/XShipWars/"
SRC_URI="http://wolfpack.twu.net/users/wolfpack/${MY_P}.tar.bz2
http://wolfpack.twu.net/users/wolfpack/xsw-data-${PV}.tar.bz2
http://wolfpack.twu.net/users/wolfpack/stimages-1.11.1.tar.bz2
http://wolfpack.twu.net/users/wolfpack/stsounds-1.6.4.tar.bz2"

LICENSE="GPL-2 xshipwars"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE="joystick yiff esd debug"

RDEPEND="x11-libs/libXpm
joystick? ( media-libs/libjsw )
yiff? ( media-libs/yiff )
esd? ( media-sound/esound )"
DEPEND="${RDEPEND}
x11-proto/xextproto"

S=${WORKDIR}/${MY_P}

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-build.patch
epatch "${FILESDIR}"/${P}-64bit.patch
sed -i \
-e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
-e "/^DATADIR/s:=.*:=${GAMES_DATADIR}:" \
*/Makefile.install.UNIX || die
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
client/xsw.h || die "sed on xsw.h failed"
}

src_compile() {
local myconf=" \
--disable-arch-i486 \
--disable-arch-i586 \
--disable-arch-i686 \
--disable-arch-pentiumpro \
$(use_enable joystick libjsw) \
$(use_enable debug) \
--enable-X11 \
--enable-libXpm \
$(use_enable yiff Y2) \
$(use_enable esd ESounD) \
"
# xsw uses --{en,dis}able=FEATURE syntax
myconf=${myconf//able-/able=}

local x
for x in client monitor unvedit ; do #server
./configure.${x} Linux --prefix="${GAMES_PREFIX}" ${myconf} || die "configure ${x}"
emake -j1 -f Makefile.${x} all || die "build ${x}"
done
}

src_install() {
local x
for x in client monitor unvedit ; do #server
make -f Makefile.${x} DESTDIR="${D}" install || die "install ${x}"
done

insinto "${GAMES_DATADIR}"/${PN}
doins -r "${WORKDIR}"/{etc,images,sounds} || die "doins data"

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
echo
elog "Before playing, you should get a copy of the installed "
elog "global XShipWars client configuration file and copy it to "
elog "your home directory:"
echo
elog "# mkdir ~/.shipwars/"
elog "# cd /usr/share/games/xshipwars/etc/"
elog "# cp xsw.ini ~/.shipwars/"
elog "# cp universes.ini ~/.shipwars"
echo
elog "You will probably need to edit the xisw.ini to fit your needs."
echo
elog "Then type 'xsw &' to start the game"
echo
elog "Type 'monitor &' to start the Universe Monitor"
elog "Type 'unvedit &' to start the Universe Editor"
}