summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-03-25 04:45:39 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-03-25 04:45:39 +0000
commit11ddbc05f7583a4375e4bbd79b193ae8f836e60b (patch)
tree3c170353e4f56e660a6501a9b486db543ca7cbde /games-simulation/simutrans
parentStable for HPPA (bug #309703). (diff)
downloadhistorical-11ddbc05f7583a4375e4bbd79b193ae8f836e60b.tar.gz
historical-11ddbc05f7583a4375e4bbd79b193ae8f836e60b.tar.bz2
historical-11ddbc05f7583a4375e4bbd79b193ae8f836e60b.zip
Version bump (patch from Matthias Maier via bug #310931)
Package-Manager: portage-2.1.7.17/cvs/Linux i686
Diffstat (limited to 'games-simulation/simutrans')
-rw-r--r--games-simulation/simutrans/ChangeLog8
-rw-r--r--games-simulation/simutrans/Manifest6
-rw-r--r--games-simulation/simutrans/simutrans-0.102.2.2.ebuild65
3 files changed, 77 insertions, 2 deletions
diff --git a/games-simulation/simutrans/ChangeLog b/games-simulation/simutrans/ChangeLog
index c2c65d0747d6..82a374a0b51c 100644
--- a/games-simulation/simutrans/ChangeLog
+++ b/games-simulation/simutrans/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-simulation/simutrans
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/ChangeLog,v 1.23 2010/01/18 22:21:26 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/ChangeLog,v 1.24 2010/03/25 04:45:39 mr_bones_ Exp $
+
+*simutrans-0.102.2.2 (25 Mar 2010)
+
+ 25 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +simutrans-0.102.2.2.ebuild:
+ Version bump (patch from Matthias Maier via bug #310931)
18 Jan 2010; Markus Meier <maekke@gentoo.org> simutrans-0.102.2.ebuild:
amd64/x86 stable, bug #299697
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index c77eb4c2c6ce..fb12e7cac0e2 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -1,6 +1,10 @@
+DIST simulinux-complete-102-2-2.zip 6115022 RMD160 6539c3bc66d4c6a9e6f67dbcf640e0f1588c9618 SHA1 f74d2ac9e03f86754881006c7a36d7089a6d1d6b SHA256 0f7752b7625ecfe18ab29f724321249ca9cc49cc9e05e392b3d19190188a6c98
DIST simulinux-complete-102-2.zip 5676679 RMD160 b0c996430c2faae641f00acab2be12d3691ca4dc SHA1 870e62b3c8e91f4e7590c13c3ab9b9f831bb5d29 SHA256 157dcb87fd33a1f03aece0acd2a1cfe7b898ded28751900cb8f9acdbeb00960e
+DIST simupak64-addon-food-102-2-1.zip 113454 RMD160 f57902d9c882196e50042daa31ba8f0b540599ee SHA1 e41abf1bdd480190bf7a46764895b43b9d65d3c1 SHA256 7add9c3e3dc3959c6a39776043a16beb92f6f59190fcae25b29e367c17e24607
DIST simupak64-addon-food-102-2.zip 112420 RMD160 ebb1c89d9d9aa333bda497db61fa211d0e036ea3 SHA1 1e6381024ef467140718b3fb6154168cb2e5c845 SHA256 61c9ef9858277c3ba71c14ff156f1392c69af0f3fe33ed15d6cdd646f658cc7b
+DIST simutrans-src-102-2-2.zip 2498680 RMD160 c521a50a25fff19a292571f093c0352dead4e941 SHA1 e956fefcf181a32f999d68ff49dbb73c9d9ff566 SHA256 b105013ba180706a4790eddf19e007e1955c4ef7daa1c90fb6aaa48c28134351
DIST simutrans-src-102-2.zip 2423163 RMD160 51c8e40c00e216e62b453c0c51122fbe9a996424 SHA1 ac4c220041e97c0d060822d380ff3b2d1b6db55a SHA256 1fb6a43f0b5818b72b56f370808a1766eaf6d024f7510e1bd13b3e972d65f9e4
+EBUILD simutrans-0.102.2.2.ebuild 1635 RMD160 187ceba1f3577f299c0a6ee88c4e6a050e7f52a6 SHA1 b2b854c75c5d584baa7dfda772ecfe6ce956a43f SHA256 f044b4a0b9fc441b8fbeb277632ccaf7aabbf78333a44c2b82f2f266643013eb
EBUILD simutrans-0.102.2.ebuild 1643 RMD160 a6a5378d397ad1e94c603a4cb26e6d29a90a9bee SHA1 7ed9a655726122dc1b9d749808ddcc6e29ac64cd SHA256 38dd2d26841b0bfc9e61ffa10e02b04e6079017cea4d8a10c1eef2f755ac1b20
-MISC ChangeLog 3977 RMD160 0204ddc5954fc0b6f896ae5ee9888f6bcffd820e SHA1 72e500312507f2bbd926164bef8409f19b9f65d6 SHA256 04a55911966cec5f5c8e6fccbf217d7b10de4723244d3209f19b9b8aea1dbb2c
+MISC ChangeLog 4162 RMD160 7477f2210739677cbc407f36eb398666caf2cc70 SHA1 c364a65f7e66513227d20c4d50932792172f25f6 SHA256 1588ec549947290fbaf4e974846050fbc61f45674ce0e9092b063a6e65391193
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-simulation/simutrans/simutrans-0.102.2.2.ebuild b/games-simulation/simutrans/simutrans-0.102.2.2.ebuild
new file mode 100644
index 000000000000..2f8fe9f86a80
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-0.102.2.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/simutrans-0.102.2.2.ebuild,v 1.1 2010/03/25 04:45:39 mr_bones_ Exp $
+
+EAPI=2
+inherit flag-o-matic eutils games
+
+MY_PV=${PV/0./}
+MY_PV=${MY_PV//./-}
+MY_FOOD_PV=${MY_PV/%-2/-1}
+DESCRIPTION="A free Transport Tycoon clone"
+HOMEPAGE="http://www.simutrans.com/"
+SRC_URI="mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
+ mirror://sourceforge/simutrans/simulinux-complete-${MY_PV}.zip
+ mirror://sourceforge/simutrans/simupak64-addon-food-${MY_FOOD_PV}.zip"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl[audio,video]
+ sys-libs/zlib
+ media-libs/libpng
+ media-libs/sdl-mixer"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+src_prepare() {
+ strip-flags # bug #293927
+ echo "BACKEND=mixer_sdl
+COLOUR_DEPTH=16
+OSTYPE=linux
+FLAGS=-DSTEPS16" > config.default \
+ || die "echo failed"
+
+ if use amd64; then
+ echo "FLAGS+=-DUSE_C" >> config.default
+ fi
+ # make it look in the install location for the data
+ sed -i \
+ -e "s:argv\[0\]:\"${GAMES_DATADIR}/${PN}/\":" \
+ simmain.cc \
+ || die "sed failed"
+
+ # Please don't override our CFLAGS, kthx
+ sed -i \
+ -e '/-O$/d' \
+ Makefile \
+ || die "sed failed"
+
+ rm -f simutrans/simutrans
+}
+
+src_install() {
+ newgamesbin sim ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r simutrans/* || die "doins failed"
+ dodoc documentation/* todo.txt
+ doicon simutrans.ico
+ make_desktop_entry simutrans Simutrans /usr/share/pixmaps/simutrans.ico
+ prepgamesdirs
+}