From 60fa8163a6a652a942acbf28a2adf8452fce9d70 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Mon, 10 Sep 2007 04:32:15 +0000 Subject: version bump Package-Manager: portage-2.1.2.12 --- games-strategy/boswars/ChangeLog | 8 ++- games-strategy/boswars/Manifest | 20 ++++++-- games-strategy/boswars/boswars-2.4.1.ebuild | 57 ++++++++++++++++++++++ .../boswars/files/boswars-2.4.1-gentoo.patch | 29 +++++++++++ games-strategy/boswars/files/digest-boswars-2.4.1 | 6 +++ 5 files changed, 115 insertions(+), 5 deletions(-) create mode 100644 games-strategy/boswars/boswars-2.4.1.ebuild create mode 100644 games-strategy/boswars/files/boswars-2.4.1-gentoo.patch create mode 100644 games-strategy/boswars/files/digest-boswars-2.4.1 (limited to 'games-strategy/boswars') diff --git a/games-strategy/boswars/ChangeLog b/games-strategy/boswars/ChangeLog index 5766a7036e4a..08d11faa28a8 100644 --- a/games-strategy/boswars/ChangeLog +++ b/games-strategy/boswars/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/boswars # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.3 2007/08/11 00:44:32 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.4 2007/09/10 04:32:15 mr_bones_ Exp $ + +*boswars-2.4.1 (10 Sep 2007) + + 10 Sep 2007; Michael Sterrett + +files/boswars-2.4.1-gentoo.patch, +boswars-2.4.1.ebuild: + version bump *boswars-2.4 (11 Aug 2007) diff --git a/games-strategy/boswars/Manifest b/games-strategy/boswars/Manifest index 46d6999e6ad6..28d3d3808635 100644 --- a/games-strategy/boswars/Manifest +++ b/games-strategy/boswars/Manifest @@ -6,21 +6,30 @@ AUX boswars-2.4-gentoo.patch 1025 RMD160 e1308e93f80eeac323f5dda5c9586abe2db1d08 MD5 7e63ed71d9e5a0cb47f41f31a0457590 files/boswars-2.4-gentoo.patch 1025 RMD160 e1308e93f80eeac323f5dda5c9586abe2db1d088 files/boswars-2.4-gentoo.patch 1025 SHA256 cdd3bc4beaa5060343c7cb7ac5219b5eb6fb9384cf251590d8f2df3cdb840546 files/boswars-2.4-gentoo.patch 1025 +AUX boswars-2.4.1-gentoo.patch 1025 RMD160 e1308e93f80eeac323f5dda5c9586abe2db1d088 SHA1 3b9ef3962d2cc37e64bb9f575e99971a2ef036da SHA256 cdd3bc4beaa5060343c7cb7ac5219b5eb6fb9384cf251590d8f2df3cdb840546 +MD5 7e63ed71d9e5a0cb47f41f31a0457590 files/boswars-2.4.1-gentoo.patch 1025 +RMD160 e1308e93f80eeac323f5dda5c9586abe2db1d088 files/boswars-2.4.1-gentoo.patch 1025 +SHA256 cdd3bc4beaa5060343c7cb7ac5219b5eb6fb9384cf251590d8f2df3cdb840546 files/boswars-2.4.1-gentoo.patch 1025 DIST bos.png 620 RMD160 19822ea636b7a7995a348332dffb40e302c61a6e SHA1 e0088d4e3d9b7376563e4bb31dba30e1820dcf66 SHA256 fe1d24bc722093bd3882ecab15c15f61b6b0edee263bfd58af662825e76d8b0a DIST boswars-2.3-src.tar.gz 45656754 RMD160 70dd2f6bde92e17d64997a7b07555e705ef83cc4 SHA1 51c78322d96eddc05182c2b1c72cf8f5a53d0ef9 SHA256 09206df851374c548f12918a022cd54bb0f199bf3902bd3b604175e0997db81d DIST boswars-2.4-src.tar.gz 48856425 RMD160 1235bc79115c21150eeb6501636cbb6030894d35 SHA1 842bdd80f78e120833e876ca5f010588f9f7d56b SHA256 838ae9836b9dad5ad06ee4164ad9af170ae91ed06f4df5fdf2e61e1219786039 +DIST boswars-2.4.1-src.tar.gz 48870528 RMD160 198271714b4d899e0f2292c7c34de0054727c2e3 SHA1 12d3658f651c5bd57856ea890b7ee944bae797e6 SHA256 8acd6e1e7553bc61a1685e0e5ea3955130b93f4ed1671027911a953095a87aa0 EBUILD boswars-2.3.ebuild 1327 RMD160 bb652d33b73d75714f6fae0fe25bcd6c74c8dc44 SHA1 f0bfae3d151fbb1793b4582249f0fba0f0ca7838 SHA256 5e8d842863f3542531afd79014a222a8189b94259d7720918b0983e88ea257a2 MD5 234077059b43080d82f8a545e2f563e5 boswars-2.3.ebuild 1327 RMD160 bb652d33b73d75714f6fae0fe25bcd6c74c8dc44 boswars-2.3.ebuild 1327 SHA256 5e8d842863f3542531afd79014a222a8189b94259d7720918b0983e88ea257a2 boswars-2.3.ebuild 1327 +EBUILD boswars-2.4.1.ebuild 1337 RMD160 ccd621555a14fe35643e6a7c99d2bf5946921f7b SHA1 69b16a847d7a57cc1e312182ee051a6308b0b575 SHA256 bcabca9c888280906d3ae695f0b6170acd77b304614893dd6da8439308853188 +MD5 42ff4344492387c9b87f30defb197fa5 boswars-2.4.1.ebuild 1337 +RMD160 ccd621555a14fe35643e6a7c99d2bf5946921f7b boswars-2.4.1.ebuild 1337 +SHA256 bcabca9c888280906d3ae695f0b6170acd77b304614893dd6da8439308853188 boswars-2.4.1.ebuild 1337 EBUILD boswars-2.4.ebuild 1327 RMD160 5a59895560e6e36c27a4f95c03c80185da37f6a8 SHA1 cb889a68631bcb9d570394e7d0a017946ee20bfd SHA256 9b539f04c60fd74fe83968feecbc07ff8f10f4c4ba4d0fadcd7d40d7254bc79a MD5 6868b99e6aed6c3d5a76ec709e724cb6 boswars-2.4.ebuild 1327 RMD160 5a59895560e6e36c27a4f95c03c80185da37f6a8 boswars-2.4.ebuild 1327 SHA256 9b539f04c60fd74fe83968feecbc07ff8f10f4c4ba4d0fadcd7d40d7254bc79a boswars-2.4.ebuild 1327 -MISC ChangeLog 768 RMD160 1cf49032c0f82e7b2ebdb6b835e3d2603333371f SHA1 7b0a3452de9de254362837e409975cafba8901eb SHA256 29fe25a8b6d0b09661adcfc4339f704687a0737423827716760756cee5c8863d -MD5 90af397b56123336fa28dcce7691aff3 ChangeLog 768 -RMD160 1cf49032c0f82e7b2ebdb6b835e3d2603333371f ChangeLog 768 -SHA256 29fe25a8b6d0b09661adcfc4339f704687a0737423827716760756cee5c8863d ChangeLog 768 +MISC ChangeLog 929 RMD160 890eccc0e012e1b4f898a9ff708f383e67539f34 SHA1 032655a6c03d99d7354a67ff80b9ecbffdd7f777 SHA256 47b98217a4a76fd7c368e3a20c35705a5c3342ab30c8582d1604f7647d865173 +MD5 dbe2394ca0484acd684109ff74924cf0 ChangeLog 929 +RMD160 890eccc0e012e1b4f898a9ff708f383e67539f34 ChangeLog 929 +SHA256 47b98217a4a76fd7c368e3a20c35705a5c3342ab30c8582d1604f7647d865173 ChangeLog 929 MISC metadata.xml 423 RMD160 9d009a8f49f9779eb0e508af34e0cc9e8d08c5f6 SHA1 c45842ff445b38e3085cc00ca266c097ebb1df14 SHA256 7e533fc54fb9f2a01faecc29086a7de01949da7f1e1e46edf8f0e6a7b76764cf MD5 7a6a7bff55fb134b2d06d9300adc689a metadata.xml 423 RMD160 9d009a8f49f9779eb0e508af34e0cc9e8d08c5f6 metadata.xml 423 @@ -31,3 +40,6 @@ SHA256 c8fece8b39ed13885f45646d00594a5d5af21eaa4865b7ab71e0125a15268ff0 files/di MD5 f4f75a25b6323188a4d76971d5e64913 files/digest-boswars-2.4 446 RMD160 691a2d9b2e3ffdad8eb9726aad220985d46dab1c files/digest-boswars-2.4 446 SHA256 17e8c65d9ce7a20adf74fd03f222bc85f98fd7a54f6e7f508455dc27904e6a5f files/digest-boswars-2.4 446 +MD5 90a78d93cb0debcfdf06b9f3e715d272 files/digest-boswars-2.4.1 452 +RMD160 c0d94931921f13c48ce99cecc0cc7f94ea32f705 files/digest-boswars-2.4.1 452 +SHA256 cc5be1f9d8c81bff182800dc2780352d90767325beac063707b52d52600fa698 files/digest-boswars-2.4.1 452 diff --git a/games-strategy/boswars/boswars-2.4.1.ebuild b/games-strategy/boswars/boswars-2.4.1.ebuild new file mode 100644 index 000000000000..2b7dc777ca67 --- /dev/null +++ b/games-strategy/boswars/boswars-2.4.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.4.1.ebuild,v 1.1 2007/09/10 04:32:15 mr_bones_ Exp $ + +inherit 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 + media-libs/libpng + media-libs/libvorbis + media-libs/libtheora + media-libs/libogg + x11-libs/libX11" +DEPEND="${RDEPEND} + dev-util/scons" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A/bos.png} + cd "${S}" + rm doc/README-SDL.txt + rm doc/guichan-copyright.txt + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + engine/include/stratagus.h \ + || die "sed failed" +} + +src_compile() { + scons || die "scons failed" +} + +src_install() { + dogamesbin ${PN} || die "dogamesbin failed" + dodoc CHANGELOG COPYRIGHT.txt README.txt + dohtml -r doc/* + insinto "${GAMES_DATADIR}"/${PN} + doins -r campaigns graphics languages maps scripts sounds units video \ + || die "doins failed" + + doicon "${DISTDIR}"/bos.png + make_desktop_entry ${PN} "Bos Wars" bos.png + + prepgamesdirs +} diff --git a/games-strategy/boswars/files/boswars-2.4.1-gentoo.patch b/games-strategy/boswars/files/boswars-2.4.1-gentoo.patch new file mode 100644 index 000000000000..1c7f35da0760 --- /dev/null +++ b/games-strategy/boswars/files/boswars-2.4.1-gentoo.patch @@ -0,0 +1,29 @@ +--- engine/include/stratagus.h.old 2007-08-04 21:54:17.000000000 +0200 ++++ engine/include/stratagus.h 2007-08-04 21:55:20.000000000 +0200 +@@ -188,7 +188,7 @@ + extern char NameLine[]; + + #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 +--- SConstruct.orig 2007-08-10 20:00:53.000000000 -0400 ++++ SConstruct 2007-08-10 20:11:07.000000000 -0400 +@@ -183,14 +183,8 @@ + return 0 + + lualibfound = 0 +- if conf.CheckFunc('luaopen_base'): ++ if conf.CheckLibWithHeader('lua', 'lualib.h', 'c'): + return 1 +- if conf.CheckLibWithHeader('lualib', 'lualib.h', 'c'): +- lualibfound = 1 +- elif conf.CheckLibWithHeader('lualib50', 'lualib.h', 'c'): +- lualibfound = 1 +- elif conf.CheckLibWithHeader('lualib5.0', 'lualib.h', 'c'): +- lualibfound = 1 + # the lua library should be after lualib + env["LIBS"].remove(found) + env.Append(LIBS = found) diff --git a/games-strategy/boswars/files/digest-boswars-2.4.1 b/games-strategy/boswars/files/digest-boswars-2.4.1 new file mode 100644 index 000000000000..fb46b5ec04fa --- /dev/null +++ b/games-strategy/boswars/files/digest-boswars-2.4.1 @@ -0,0 +1,6 @@ +MD5 ac9b93116c88d575ba8ec3b7559da27e bos.png 620 +RMD160 19822ea636b7a7995a348332dffb40e302c61a6e bos.png 620 +SHA256 fe1d24bc722093bd3882ecab15c15f61b6b0edee263bfd58af662825e76d8b0a bos.png 620 +MD5 ad4fe087da5697e920c746c75c20b07f boswars-2.4.1-src.tar.gz 48870528 +RMD160 198271714b4d899e0f2292c7c34de0054727c2e3 boswars-2.4.1-src.tar.gz 48870528 +SHA256 8acd6e1e7553bc61a1685e0e5ea3955130b93f4ed1671027911a953095a87aa0 boswars-2.4.1-src.tar.gz 48870528 -- cgit v1.2.3-65-gdbad