summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-09-08 23:55:17 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-09-08 23:55:17 +0000
commita196b3f86f54c8377cc586272dfbb4cc74490659 (patch)
tree2778454b2509c20ae26eb9896af1f3aac759f614 /games-action/xshipwars
parentVersion bumped, bug 145049 (diff)
downloadgentoo-2-a196b3f86f54c8377cc586272dfbb4cc74490659.tar.gz
gentoo-2-a196b3f86f54c8377cc586272dfbb4cc74490659.tar.bz2
gentoo-2-a196b3f86f54c8377cc586272dfbb4cc74490659.zip
Version bump to 2.5.5. Bug #132884
(Portage version: 2.1-r2)
Diffstat (limited to 'games-action/xshipwars')
-rw-r--r--games-action/xshipwars/ChangeLog8
-rw-r--r--games-action/xshipwars/files/digest-xshipwars-2.4.712
-rw-r--r--games-action/xshipwars/files/digest-xshipwars-2.5.512
-rw-r--r--games-action/xshipwars/files/xshipwars-2.5.5-build.patch68
-rw-r--r--games-action/xshipwars/xshipwars-2.5.5.ebuild92
5 files changed, 185 insertions, 7 deletions
diff --git a/games-action/xshipwars/ChangeLog b/games-action/xshipwars/ChangeLog
index 6eedab1069f1..25d701f98928 100644
--- a/games-action/xshipwars/ChangeLog
+++ b/games-action/xshipwars/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/xshipwars
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/ChangeLog,v 1.13 2006/04/27 19:40:51 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/ChangeLog,v 1.14 2006/09/08 23:55:17 tupone Exp $
+
+*xshipwars-2.5.5 (08 Sep 2006)
+
+ 08 Sep 2006; <tupone@gentoo.org> +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 <marienz@gentoo.org>
files/digest-xshipwars-1.34.0, files/digest-xshipwars-2.4.7, Manifest:
diff --git a/games-action/xshipwars/files/digest-xshipwars-2.4.7 b/games-action/xshipwars/files/digest-xshipwars-2.4.7
index 19130d3c5ad5..0dcdd57d6e6e 100644
--- a/games-action/xshipwars/files/digest-xshipwars-2.4.7
+++ b/games-action/xshipwars/files/digest-xshipwars-2.4.7
@@ -1,9 +1,9 @@
-MD5 7492dbb34c98e89f60d130ad513d2947 stimages-1.9.5.tar.bz2 9258917
-RMD160 a45ec272936202d7509244cf149749337f1c907f stimages-1.9.5.tar.bz2 9258917
-SHA256 7561f3bcbbbf0642e18b5118da8e1b8f3ec94f7445357cbfb7815868cf627d01 stimages-1.9.5.tar.bz2 9258917
-MD5 c165c534b1550a6198f5b0188eabe8bc stsounds-1.5.2.tar.bz2 592445
-RMD160 ded16dedd17417d7e44fc4ffa3e0667f9331b76e stsounds-1.5.2.tar.bz2 592445
-SHA256 aedefe0bea2da8d5f6275e90a15673923ec4018fa6d03c95b9265f6f3d832235 stsounds-1.5.2.tar.bz2 592445
+MD5 09326e0f0d54de49c601c0793b1bc884 stimages-1.9.5.tar.bz2 6551912
+RMD160 9746ecdb41aee17a196f8b59123b779d93e5bd9b stimages-1.9.5.tar.bz2 6551912
+SHA256 cb0dae20fda77de25a9e5c52a26e19ceb5add4cd6f63cf56480127b8e421df0d stimages-1.9.5.tar.bz2 6551912
+MD5 9ada132ff418393d7d1b5a871b51c726 stsounds-1.5.2.tar.bz2 218362
+RMD160 2e76c5a4d809908234239b72d2358e69f94e68a7 stsounds-1.5.2.tar.bz2 218362
+SHA256 59aca04d890f71f02e0f73146485aacab052b01621989705d4c51f25db3999b2 stsounds-1.5.2.tar.bz2 218362
MD5 cf6ca61b99e5423b62ecc252fe443b1c xsw-2.4.7.tar.bz2 1096478
RMD160 b501ec4f8d521a1a83637c3da53ac00b85860bb2 xsw-2.4.7.tar.bz2 1096478
SHA256 3022fd8f3fdd237511799ff591bc7b716f77621d466c0ef1c60033e749db0d62 xsw-2.4.7.tar.bz2 1096478
diff --git a/games-action/xshipwars/files/digest-xshipwars-2.5.5 b/games-action/xshipwars/files/digest-xshipwars-2.5.5
new file mode 100644
index 000000000000..abd6aca60da2
--- /dev/null
+++ b/games-action/xshipwars/files/digest-xshipwars-2.5.5
@@ -0,0 +1,12 @@
+MD5 ff2d77d644d9b850dbef596c4ff79e78 stimages-1.11.1.tar.bz2 9707377
+RMD160 79130ccaeb3458576d04b15fb82e81776cb0ab93 stimages-1.11.1.tar.bz2 9707377
+SHA256 deb34a3e0c7cfd16a1be105039f80a31d1bfd4fc9ed01d43d04e9f5ecd4c4e50 stimages-1.11.1.tar.bz2 9707377
+MD5 8018b651ac3be043e2fca98729a4063f stsounds-1.6.4.tar.bz2 853101
+RMD160 1ab068596d52d9b3a21ad29da0e648cd1b74e3f9 stsounds-1.6.4.tar.bz2 853101
+SHA256 e355ad53103a8094d0a12b5955ef0c70cd181ee740ee8d13e9edf7480594cff4 stsounds-1.6.4.tar.bz2 853101
+MD5 accf5cce06c489dfd4f2898d709aa5f0 xsw-2.5.5.tar.bz2 1172378
+RMD160 d5e7bda32658bcfeb600eec25c052cabc6f170d1 xsw-2.5.5.tar.bz2 1172378
+SHA256 293e62806eaf73ca272fbd9e74a302a18469b60ef15ea29c7dd574534a3dc47d xsw-2.5.5.tar.bz2 1172378
+MD5 0f3d167ef42e58e28a4ed3a15e9273b4 xsw-data-2.5.5.tar.bz2 2638302
+RMD160 914ca9feba23cacfde14aac621a0e70f2adb882b xsw-data-2.5.5.tar.bz2 2638302
+SHA256 7222e1c6fe67d59141484f4e327be3c56cf7422d14e0f029caa689145b37e35e xsw-data-2.5.5.tar.bz2 2638302
diff --git a/games-action/xshipwars/files/xshipwars-2.5.5-build.patch b/games-action/xshipwars/files/xshipwars-2.5.5-build.patch
new file mode 100644
index 000000000000..8e59e35b0a9f
--- /dev/null
+++ b/games-action/xshipwars/files/xshipwars-2.5.5-build.patch
@@ -0,0 +1,68 @@
+--- client/Makefile.install.UNIX
++++ client/Makefile.install.UNIX
+@@ -11,9 +11,9 @@
+ #
+
+ INSTALL = install
+-INSTBINFLAGS = -m 0755 -s
++INSTBINFLAGS = -m 0755
+ INSTUIDFLAGS = -m 4755
+-INSTLIBFLAGS = -m 0755 -s
++INSTLIBFLAGS = -m 0755
+ INSTINCFLAGS = -m 0644
+ INSTMANFLAGS = -m 0644
+ INSTCFGFLAGS = -m 0644
+@@ -26,8 +26,10 @@
+ MKDIRFLAGS = -p
+
+
+-GAMES_DIR = $(PREFIX)/games
+-XSW_DIR = $(PREFIX)/share/games/xshipwars
++BINDIR = $(PREFIX)/games
++GAMES_DIR = $(DESTDIR)$(BINDIR)
++DATADIR = $(PREFIX)/share/games
++XSW_DIR = $(DESTDIR)$(DATADIR)/xshipwars
+ XSW_ETC_DIR = $(XSW_DIR)/etc
+
+ XSW_CFG_FILE = xsw.ini
+--- monitor/Makefile.install.UNIX
++++ monitor/Makefile.install.UNIX
+@@ -27,8 +27,10 @@
+ MKDIR = mkdir
+ MKDIRFLAGS = -p
+
+-GAMES_DIR = $(PREFIX)/games
+-XSW_DIR = $(PREFIX)/share/games/xshipwars
++BINDIR = $(PREFIX)/games
++GAMES_DIR = $(DESTDIR)$(BINDIR)
++DATADIR = $(PREFIX)/share/games
++XSW_DIR = $(DESTDIR)$(DATADIR)/xshipwars
+ MONITOR_IMAGES_DIR = $(XSW_DIR)/images/monitor
+
+ HR = "-------------------------------------------------------------------------"
+--- server/Makefile.install.UNIX
++++ server/Makefile.install.UNIX
+@@ -29,7 +29,7 @@
+ MKDIRFLAGS = -p
+
+
+-SWSERV_BASE_DIR = $(PREFIX)/swserv
++SWSERV_BASE_DIR = $(DESTDIR)$(PREFIX)/swserv
+
+ SWSERV_BIN_DIR = $(SWSERV_BASE_DIR)/bin
+ SWSERV_DB_DIR = $(SWSERV_BASE_DIR)/db
+--- unvedit/Makefile.install.UNIX
++++ unvedit/Makefile.install.UNIX
+@@ -26,8 +26,10 @@
+ MKDIR = mkdir
+ MKDIRFLAGS = -p
+
+-GAMES_BIN_DIR = $(PREFIX)/games
+-XSW_DATA_DIR = $(PREFIX)/share/games/xshipwars
++BINDIR = $(PREFIX)/games
++GAMES_BIN_DIR = $(DESTDIR)$(BINDIR)
++DATADIR = $(PREFIX)/share/games
++XSW_DATA_DIR = $(DESTDIR)$(DATADIR)/xshipwars
+ UNVEDIT_IMAGES_DIR = $(XSW_DATA_DIR)/images/unvedit
+
+ HR = "-------------------------------------------------------------------------"
diff --git a/games-action/xshipwars/xshipwars-2.5.5.ebuild b/games-action/xshipwars/xshipwars-2.5.5.ebuild
new file mode 100644
index 000000000000..d6e0f174e02f
--- /dev/null
+++ b/games-action/xshipwars/xshipwars-2.5.5.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2006 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.1 2006/09/08 23:55:17 tupone Exp $
+
+inherit toolchain-funcs eutils games
+
+MY_P=xsw-${PV}
+DESCRIPTION="massively multi-player, ultra graphical, space-oriented gaming system designed exclusively 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 virtual/x11 )
+ joystick? ( media-libs/libjsw )
+ yiff? ( media-libs/yiff )
+ esd? ( media-sound/esound )"
+DEPEND="${RDEPEND}
+ || ( x11-proto/xextproto virtual/x11 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+ sed -i \
+ -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
+ -e "/^DATADIR/s:=.*:=${GAMES_DATADIR}:" \
+ */Makefile.install.UNIX || die
+}
+
+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
+ einfo "Before playing, you should get a copy of the installed "
+ einfo "global XShipWars client configuration file and copy it to "
+ einfo "your home directory: "
+ echo
+ einfo "# mkdir ~/.shipwars/"
+ einfo "# cd /usr/share/games/xshipwars/etc/ "
+ einfo "# cp xsw.ini ~/.shipwars/ "
+ einfo "# cp universes ~/.shipwars/universes "
+ echo
+ einfo "You will probably need to edit the xisw.ini to fit your needs."
+ echo
+ einfo "Then type 'xsw &' to start the game"
+ echo
+ einfo "Type 'monitor &' to start the Universe Monitor"
+ einfo "Type 'unvedit &' to start the Universe Editor"
+}