summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-05-24 20:39:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-05-24 20:39:27 +0000
commit223ccd24cd07cf07edd3f64cfe00abf6373b5540 (patch)
tree3d6e032b103a3b0b70ee7160c6522b82b1ab4b37 /games-strategy
parentRevbump for last fix. (diff)
downloadhistorical-223ccd24cd07cf07edd3f64cfe00abf6373b5540.tar.gz
historical-223ccd24cd07cf07edd3f64cfe00abf6373b5540.tar.bz2
historical-223ccd24cd07cf07edd3f64cfe00abf6373b5540.zip
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/boswars/ChangeLog8
-rw-r--r--games-strategy/boswars/Manifest5
-rw-r--r--games-strategy/boswars/boswars-2.6.1.ebuild61
-rw-r--r--games-strategy/boswars/files/boswars-2.6.1-gentoo.patch12
4 files changed, 84 insertions, 2 deletions
diff --git a/games-strategy/boswars/ChangeLog b/games-strategy/boswars/ChangeLog
index df85b3e7c5cc..ff3db722bfc8 100644
--- a/games-strategy/boswars/ChangeLog
+++ b/games-strategy/boswars/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/boswars
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.13 2010/04/12 05:34:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.14 2010/05/24 20:39:27 mr_bones_ Exp $
+
+*boswars-2.6.1 (24 May 2010)
+
+ 24 May 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +boswars-2.6.1.ebuild, +files/boswars-2.6.1-gentoo.patch:
+ version bump
*boswars-2.6 (12 Apr 2010)
diff --git a/games-strategy/boswars/Manifest b/games-strategy/boswars/Manifest
index 4dd736268288..c4276491f7bd 100644
--- a/games-strategy/boswars/Manifest
+++ b/games-strategy/boswars/Manifest
@@ -2,10 +2,13 @@ AUX boswars-2.5-gcc43.patch 465 RMD160 01bd439ab17f7402b3cfd62f27a4973d1bf60175
AUX boswars-2.5-gcc44.patch 438 RMD160 53f8384d0fe76037ed1c78622161deaafddd1c3f SHA1 5d5a9bb0c85a55f4f698321802455c0709403824 SHA256 8ecee13e5846391c0f3c346b158d437ee0c15ba57d24e6ed141a65338339e167
AUX boswars-2.5-gentoo.patch 1025 RMD160 e1308e93f80eeac323f5dda5c9586abe2db1d088 SHA1 3b9ef3962d2cc37e64bb9f575e99971a2ef036da SHA256 cdd3bc4beaa5060343c7cb7ac5219b5eb6fb9384cf251590d8f2df3cdb840546
AUX boswars-2.6-gentoo.patch 404 RMD160 7424773ee97c8e769aa29269ea064be14913c5fc SHA1 7d59952a30ea08c75e76f3d704f85df4556b9474 SHA256 e2520b917354b0dbc318ea989524b623ea350716a8c123a172413f9de004d72b
+AUX boswars-2.6.1-gentoo.patch 616 RMD160 db889d7e875ab53f5efea6b8ca9cdf77b5dac10f SHA1 fea6ef8f4c89edd082ebd10dbd5ab7e5032b13e7 SHA256 bb10a4e9ea3be0bff2fc485833154205855983e5f8ec1eb333ad08367351eddb
DIST bos.png 620 RMD160 19822ea636b7a7995a348332dffb40e302c61a6e SHA1 e0088d4e3d9b7376563e4bb31dba30e1820dcf66 SHA256 fe1d24bc722093bd3882ecab15c15f61b6b0edee263bfd58af662825e76d8b0a
DIST boswars-2.5-src.tar.gz 63851225 RMD160 dc42410f3d89c588b579ee7c0d47627c5d455362 SHA1 7305eaea67a0df8dd689df821573dab17e8de01a SHA256 ac5d9c8227fec012087ff617ea62666c7517b7bf2ac4c52be9030bd5ccef7f13
DIST boswars-2.6-src.tar.gz 64796498 RMD160 f0701a6bd800f3767ba44a2ee05661fecf3717b9 SHA1 b6a93e374a1af57ca944fa123c29bf7c99b5e6d2 SHA256 82ae5688cc7baeb4c1f8afff8a0d6dac437940a6da3824f3e51cabb894c65f26
+DIST boswars-2.6.1-src.tar.gz 64708620 RMD160 f7c41b3c9276d21aab19e93af0de851646dc4bac SHA1 4a482064e6c22c28a519abe4861887595b99782d SHA256 6003307692bde9913f6b5c227bf351e43e33d44ffaab198f0d0677e8fef86315
EBUILD boswars-2.5.ebuild 1663 RMD160 abb84b525187cdab6cb68ade09205a43ff6ef282 SHA1 6db91d7e25cdb0b58713a6fd50682bde047ffbd6 SHA256 9b38337e159b3bedf51cd294aecf46531979cd69482cc81d7348e32119f74980
+EBUILD boswars-2.6.1.ebuild 1604 RMD160 69b79035793683fe87de76f316ea08808ed23036 SHA1 9483f38ee61d1d6d9e9e87b5af2fb54d77823b56 SHA256 e762d7fe24a9e47e2172a13cfe6aa46da4cebea51c04395cd61caab4b6c9abfe
EBUILD boswars-2.6.ebuild 1602 RMD160 98f1cb236797bae3b264407a1a037dfaf27df11d SHA1 d8443c165a2b79c5c2d0ef5a9e61cb88a5f99fa2 SHA256 782503b492f956b6eccaf36b8696562f688b7ce7a948436319a56702a5014359
-MISC ChangeLog 2070 RMD160 8fa1ce57f9ad46996c0758406807efb26000960d SHA1 73424f1f9bc2ed77a590f90be61f376f0b302776 SHA256 f25b590be2f4bd6ee0255a67b1be4804f3efe80af39c3f6bca595df0ef4d7516
+MISC ChangeLog 2231 RMD160 f005e144a9604754d794222af47fad8a6cc888e5 SHA1 6c9f6f11677d228ef70baf828f959b2ba6e7c13f SHA256 6975e283f7bbe575cb6a956068eff392a4649db97410efd8532efdfedaadf36c
MISC metadata.xml 423 RMD160 9d009a8f49f9779eb0e508af34e0cc9e8d08c5f6 SHA1 c45842ff445b38e3085cc00ca266c097ebb1df14 SHA256 7e533fc54fb9f2a01faecc29086a7de01949da7f1e1e46edf8f0e6a7b76764cf
diff --git a/games-strategy/boswars/boswars-2.6.1.ebuild b/games-strategy/boswars/boswars-2.6.1.ebuild
new file mode 100644
index 000000000000..bad1451238a1
--- /dev/null
+++ b/games-strategy/boswars/boswars-2.6.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.6.1.ebuild,v 1.1 2010/05/24 20:39:27 mr_bones_ Exp $
+
+EAPI=2
+inherit toolchain-funcs eutils games
+
+DESCRIPTION="Futuristic real-time strategy game"
+HOMEPAGE="http://www.boswars.org/"
+SRC_URI="http://www.boswars.org/dist/releases/${P}-src.tar.gz
+ mirror://gentoo/bos.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/lua
+ media-libs/libsdl[audio,video]
+ media-libs/libpng
+ media-libs/libvorbis
+ media-libs/libtheora
+ media-libs/libogg
+ virtual/opengl
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ dev-util/scons"
+
+S=${WORKDIR}/${P}-src
+
+src_prepare() {
+ rm -f doc/{README-SDL.txt,guichan-copyright.txt}
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.patch
+ sed -i \
+ -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
+ engine/include/stratagus.h \
+ || die "sed stratagus.h failed"
+ sed -i \
+ -e "/-O2/s:-O2.*math:${CXXFLAGS} -Wall:" \
+ SConstruct \
+ || die "sed SConstruct failed"
+}
+
+src_compile() {
+ local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[:space:]*[0-9]\+\).*/\1/; p }")
+
+ scons CXX=$(tc-getCXX) ${sconsopts} || die "scons failed"
+}
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r campaigns graphics intro languages maps patches scripts sounds units \
+ || die "doins failed"
+ doicon "${DISTDIR}"/bos.png
+ make_desktop_entry ${PN} "Bos Wars" bos
+ dodoc CHANGELOG COPYRIGHT.txt README.txt
+ dohtml -r doc/*
+ prepgamesdirs
+}
diff --git a/games-strategy/boswars/files/boswars-2.6.1-gentoo.patch b/games-strategy/boswars/files/boswars-2.6.1-gentoo.patch
new file mode 100644
index 000000000000..9459c77d89bc
--- /dev/null
+++ b/games-strategy/boswars/files/boswars-2.6.1-gentoo.patch
@@ -0,0 +1,12 @@
+diff -ru boswars-2.6.1-src.orig/engine/include/stratagus.h boswars-2.6.1-src/engine/include/stratagus.h
+--- boswars-2.6.1-src.orig/engine/include/stratagus.h 2010-04-11 08:12:18.000000000 -0400
++++ boswars-2.6.1-src/engine/include/stratagus.h 2010-05-22 02:33:50.021377764 -0400
+@@ -133,7 +133,7 @@
+ -- General
+ ----------------------------------------------------------------------------*/
+ #ifndef STRATAGUS_LIB_PATH
+-#define STRATAGUS_LIB_PATH "." /// Where to find the data files
++#define STRATAGUS_LIB_PATH "@GENTOO_DATADIR@" /// Where to find the data files
+ #endif
+
+ #ifndef STRATAGUS_HOME_PATH