summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-08-01 17:00:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-08-01 17:00:49 +0000
commit2535dd9019e35dcd101a8e186640406bd166f0d6 (patch)
tree169efba43beb1fb4626c3ac089f6094432d5c04b /games-simulation
parentMarked ~hppa (bug #277805). (diff)
downloadhistorical-2535dd9019e35dcd101a8e186640406bd166f0d6.tar.gz
historical-2535dd9019e35dcd101a8e186640406bd166f0d6.tar.bz2
historical-2535dd9019e35dcd101a8e186640406bd166f0d6.zip
version bump; clean old
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/openttd/ChangeLog9
-rw-r--r--games-simulation/openttd/Manifest9
-rw-r--r--games-simulation/openttd/files/openttd-0.7.0-build.patch75
-rw-r--r--games-simulation/openttd/openttd-0.7.0.ebuild117
-rw-r--r--games-simulation/openttd/openttd-0.7.2.ebuild (renamed from games-simulation/openttd/openttd-0.7.1.ebuild)2
5 files changed, 12 insertions, 200 deletions
diff --git a/games-simulation/openttd/ChangeLog b/games-simulation/openttd/ChangeLog
index 01814b491d77..2f610cae9df9 100644
--- a/games-simulation/openttd/ChangeLog
+++ b/games-simulation/openttd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-simulation/openttd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/ChangeLog,v 1.73 2009/08/01 12:07:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/ChangeLog,v 1.74 2009/08/01 17:00:49 mr_bones_ Exp $
+
+*openttd-0.7.2 (01 Aug 2009)
+
+ 01 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ -openttd-0.7.0.ebuild, -files/openttd-0.7.0-build.patch,
+ -openttd-0.7.1.ebuild, +openttd-0.7.2.ebuild:
+ version bump; clean old
01 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> openttd-0.7.0.ebuild,
openttd-0.7.1.ebuild:
diff --git a/games-simulation/openttd/Manifest b/games-simulation/openttd/Manifest
index 90baffebcdc3..1dd2ebfbcf95 100644
--- a/games-simulation/openttd/Manifest
+++ b/games-simulation/openttd/Manifest
@@ -1,15 +1,12 @@
AUX install.patch 5471 RMD160 3db7bbfcf7b1e8da872263d24184220296f2d982 SHA1 3d1fab46598dc8c20558dad18488e6b5f08352c2 SHA256 02b3ff940a49ad59e24846b6488a81e01828260cd33c4f620262e3d009fc2043
AUX libiconv.patch 1461 RMD160 8122de4e7a15f877c3948ee23231376640b7bde0 SHA1 651dd41c29ed0b260c4a7056950b8f346025bcae SHA256 38208cd0c32bbc367356620f9f2e4452b2004d59496ac8fb05dc165aea307c16
AUX menu_name.patch 439 RMD160 eab4d7d23fdea12c4589b5735d22a7bccfa38376 SHA1 513ab0ccc9d75fd118030d88659a731f55c7fe8b SHA256 8b5a9c0cc3d804dee0cc6f7a8298f69370951593cec2b2644ee1bc8c4a0b3b52
-AUX openttd-0.7.0-build.patch 2571 RMD160 8e5807c5533f908c37e2f529baa887c00c873076 SHA1 2008f6aa9b9efbdc31f0f2e6f1db6cf56ba1e0c2 SHA256 df4b71d9f53a1c0fbe613fe0a71ba35eb32b2e6d04dd59c8d27b4f71b6a6d12f
AUX openttd.initd 529 RMD160 ff9fdf7a787ae3d08ec4dbef1b1b37eee12d1ccd SHA1 f833206fc430c6e7afec76c39e97af0f7ec6578a SHA256 a16e5c64a073d0b7e7092bb906b7f064414870a8607bebce16b4b08cff7f4112
DIST openttd-0.4.8-scenarios.tar.bz2 5000799 RMD160 a6c2fa9f81e4e4628adb9c3932dec46ab4789777 SHA1 88b3caff739fbf7bd4eb143ae97925556e813ce4 SHA256 61788035bd78a3c0e393d5992432c37e0b6036d19a960543f26d43a46e39e6ca
DIST openttd-0.5.0-scenarios.tar.bz2 917117 RMD160 f6ea4a4004bb0c90de9283a92b14da4bd99bc33c SHA1 965fc34bbe9998741ea07531772c9673b33aab99 SHA256 c89e652aca1a9ad9f0f4936dd99cd8a9c96f4c53450990ff87d87483f8e74a31
DIST openttd-0.6.3-source.tar.bz2 4609714 RMD160 ab1f2ae17cbc97c2ebc4eceb1496bc708e6d83d4 SHA1 5fb359789fae9b03550da268973fb1238ddf224c SHA256 2d60e8a08768a9c81f37e699df6890c12d53f4d56b5562724c3a9ffa302c7197
-DIST openttd-0.7.0-source.tar.bz2 4827319 RMD160 389618bea76513e1891d9eb5bfead834c66b173d SHA1 a55402a49ccd87b574b12183abb4239b92ea98f5 SHA256 5606338bd504c8248c7c39f00c5b66234158e92177d64715748adcc98c8f4720
-DIST openttd-0.7.1-source.tar.bz2 4856729 RMD160 cb16b6deb761b1cf3d835527df5f46f949e136eb SHA1 dfb3dd962b6321ce461fc45a61e25a7bebb487ca SHA256 d3a78fab9e8135a30a4793c7ecac3dcfcb1ddca98aa679c73fd7d8fd8b9273bc
+DIST openttd-0.7.2-source.tar.bz2 4874252 RMD160 da1c95310988c1f58d3d0a2e35aa57e6d323b985 SHA1 d020a2e371c2317e43b248964742483229d35b87 SHA256 43bd8c7139cf681425a790c668eb397b83c18879f6c8ae3ca55f264c8cf6b1d8
EBUILD openttd-0.6.3.ebuild 4226 RMD160 1b9c87b272b79aa0a7b5ca3ecab1654092b6bb3f SHA1 b2de50caf8c5c37423dcd988783af6abb6536649 SHA256 00cb692cd9a906e3d2185008f48f8c57a2e8743029a012934daa134bc759dabc
-EBUILD openttd-0.7.0.ebuild 3224 RMD160 a18f54032693b6d2098666915b5c745b01515da7 SHA1 2a707d8623565b56fd243ef058bcc02aebb5d644 SHA256 0632b90cec121cf97a65f5f5027a8d2ac905314736c28b9ac4f12bf7fd8e22ef
-EBUILD openttd-0.7.1.ebuild 3317 RMD160 890ca84092ea7082ff19ca8d503fdccd27f0a77f SHA1 03cfd94ef08f528d373731a2b7663cc69c0cd7a3 SHA256 d94a6c4acf82b058663bc66052e71fcd856a3f760f34df9a29c7587fd0b2f249
-MISC ChangeLog 9533 RMD160 6d42f2ec5df948585c15fe54619ae184965ff6c5 SHA1 7e8fa8a62198b4d027321d427079347a5d9874e4 SHA256 ce53067b9304387e1c3bee2e66bfa67e24101d0566533a38a40350373ead4acf
+EBUILD openttd-0.7.2.ebuild 3317 RMD160 dcd33513503abc25819b02924e3df14a876a595c SHA1 b30681402933c40d8e10192a338a45258cae102e SHA256 93459832fa6ed8c6c59677b4ad758e7a0987853693d7626d81c4c3d46428df00
+MISC ChangeLog 9752 RMD160 cd8fe95a10d98f9abfb136180ebac9f0730be901 SHA1 ded6257af5d39f7e7c2c31aa647d65dadd691d91 SHA256 2d09aeb3af4beb3d1e08d7415b535f3fd8446227a2e25e95f35fdb3879f6e498
MISC metadata.xml 307 RMD160 83f20da47827470c3f19c6849fc14217b47389a7 SHA1 ca4ccf0fe4b5abf21a994189f9d689e8a2616128 SHA256 ab66512663eaf8f6d321f0efb9643951f9dab6fda5d8789d1cb83eb6cc82e8e7
diff --git a/games-simulation/openttd/files/openttd-0.7.0-build.patch b/games-simulation/openttd/files/openttd-0.7.0-build.patch
deleted file mode 100644
index 6d50c07a5366..000000000000
--- a/games-simulation/openttd/files/openttd-0.7.0-build.patch
+++ /dev/null
@@ -1,75 +0,0 @@
---- config.lib 2009-04-01 16:36:05.000000000 +0200
-+++ config.lib.new 2009-04-02 13:08:50.000000000 +0200
-@@ -1389,7 +1389,8 @@
- CFLAGS="$CFLAGS -DWITH_SHARED_DIR -DSHARED_DIR=\\\\\"$shared_dir\\\\\""
- fi
-
-- CFLAGS="$CFLAGS -DGLOBAL_DATA_DIR=\\\\\"$prefix_dir/$data_dir\\\\\""
-+ [[ $data_dir = "/"* ]] || data_dir="$prefix_dir/$data_dir"
-+ CFLAGS="$CFLAGS -DGLOBAL_DATA_DIR=\\\\\"$data_dir\\\\\""
-
- log 1 "using CFLAGS... $CFLAGS $CC_CFLAGS"
- log 1 "using LDFLAGS... $LIBS $LDFLAGS"
-@@ -2532,6 +2533,16 @@
-
- SRC_OBJS_DIR="$BASE_SRC_OBJS_DIR/$OBJS_SUBDIR"
-
-+ # we have to replace all prefix/x_dir with x_dir
-+ # and append prefix only when needed
-+ [[ $data_dir = "/"* ]] || data_dir="$prefix_dir/$data_dir"
-+ [[ $binary_dir = "/"* ]] || binary_dir="$prefix_dir/$binary_dir"
-+ [[ $doc_dir = "/"* ]] || doc_dir="$prefix_dir/$doc_dir"
-+ [[ $man_dir = "/"* ]] || man_dir="$prefix_dir/$man_dir"
-+ [[ $icon_dir = "/"* ]] || icon_dir="$prefix_dir/$icon_dir"
-+ [[ $icon_theme_dir = "/"* ]] || icon_theme_dir="$prefix_dir/$icon_theme_dir"
-+ [[ $menu_dir = "/"* ]] || menu_dir="$prefix_dir/$menu_dir"
-+
- # All the data needed to compile a single target
- # Make sure if you compile multiple targets to
- # use multiple OBJS_DIR, because all in-between
-@@ -2561,12 +2572,12 @@
- s~!!OSXAPP!!~$OSXAPP~g;
- s~!!LANG_DIR!!~$LANG_DIR~g;
- s~!!TTD!!~$TTD~g;
-- s~!!BINARY_DIR!!~$prefix_dir/$binary_dir~g;
-- s~!!DATA_DIR!!~$prefix_dir/$data_dir~g;
-- s~!!DOC_DIR!!~$prefix_dir/$doc_dir~g;
-- s~!!MAN_DIR!!~$prefix_dir/$man_dir~g;
-- s~!!ICON_DIR!!~$prefix_dir/$icon_dir~g;
-- s~!!ICON_THEME_DIR!!~$prefix_dir/$icon_theme_dir~g;
-+ s~!!BINARY_DIR!!~$binary_dir~g;
-+ s~!!DATA_DIR!!~$data_dir~g;
-+ s~!!DOC_DIR!!~$doc_dir~g;
-+ s~!!MAN_DIR!!~$man_dir~g;
-+ s~!!ICON_DIR!!~$icon_dir~g;
-+ s~!!ICON_THEME_DIR!!~$icon_theme_dir~g;
- s~!!PERSONAL_DIR!!~$personal_dir~g;
- s~!!SHARED_DIR!!~$shared_dir~g;
- s~!!INSTALL_DIR!!~$install_dir~g;
-@@ -2601,7 +2612,7 @@
-
- if [ "$icon_theme_dir" != "" ]; then
- SRC_REPLACE="$SRC_REPLACE
-- s#!!ICON_THEME_DIR!!#$prefix_dir/$icon_theme_dir#g;
-+ s#!!ICON_THEME_DIR!!#$icon_theme_dir#g;
- "
- else
- SRC_REPLACE="$SRC_REPLACE
-@@ -2611,7 +2622,7 @@
-
- if [ "$man_dir" != "" ]; then
- SRC_REPLACE="$SRC_REPLACE
-- s#!!MAN_DIR!!#$prefix_dir/$man_dir#g;
-+ s#!!MAN_DIR!!#$man_dir#g;
- "
- else
- SRC_REPLACE="$SRC_REPLACE
-@@ -2621,7 +2632,7 @@
-
- if [ "$menu_dir" != "" ]; then
- SRC_REPLACE="$SRC_REPLACE
-- s#!!MENU_DIR!!#$prefix_dir/$menu_dir#g;
-+ s#!!MENU_DIR!!#$menu_dir#g;
- "
- else
- SRC_REPLACE="$SRC_REPLACE \ No newline at end of file
diff --git a/games-simulation/openttd/openttd-0.7.0.ebuild b/games-simulation/openttd/openttd-0.7.0.ebuild
deleted file mode 100644
index 718b1dadd483..000000000000
--- a/games-simulation/openttd/openttd-0.7.0.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-0.7.0.ebuild,v 1.3 2009/08/01 11:59:43 ssuominen Exp $
-
-EAPI=2
-inherit eutils games
-
-DESCRIPTION="OpenTTD is a clone of Transport Tycoon Deluxe"
-HOMEPAGE="http://www.openttd.org/"
-SRC_URI="http://binaries.openttd.org/releases/${PV}/${P}-source.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="alsa debug dedicated iconv icu +png +truetype zlib"
-RESTRICT="test"
-
-DEPEND="
- !dedicated? (
- media-libs/libsdl[X]
- icu? ( dev-libs/icu )
- truetype? (
- media-libs/fontconfig
- media-libs/freetype:2
- sys-libs/zlib
- )
- )
- iconv? ( virtual/libiconv )
- png? ( media-libs/libpng )
- zlib? ( sys-libs/zlib )"
-RDEPEND="${DEPEND}
- !dedicated? (
- alsa? ( media-sound/alsa-utils )
- )"
-
-PATCHES=( "${FILESDIR}"/${P}-build.patch )
-
-src_configure() {
- local myopts
-
- use debug && myopts="${myopts} --enable-debug=3"
-
- if use dedicated ; then
- myopts="${myopts} --enable-dedicated"
- else
- use alsa && myopts="${myopts} --with-midi=/usr/bin/aplaymidi"
- myopts="${myopts}
- $(use_with truetype freetype)
- $(use_with icu)
- --with-sdl"
- fi
- if use png || { use !dedicated && use truetype; } || use zlib ; then
- myopts="${myopts} --with-zlib"
- else
- myopts="${myopts} --without-zlib"
- fi
-
- # there is an allegro interface available as well as sdl, but
- # the configure for it looks broken so the sdl interface is
- # always built instead.
- myopts="${myopts} --without-allegro"
-
- # configure is a hand-written bash-script, so econf will not work
- bash ./configure \
- --disable-strip \
- --prefix-dir=/usr \
- --binary-dir="${GAMES_BINDIR}" \
- --data-dir="${GAMES_DATADIR}/${PN}" \
- --install-dir="${D}" \
- --doc-dir=share/doc/${PF} \
- --menu-group="Game;Simulation;" \
- ${myopts} \
- $(use_with iconv) \
- $(use_with png) \
- || die "configure failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- if use dedicated ; then
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- rm -rf "${D}"/usr/share/{applications,icons,pixmaps}
- fi
- rm -f "${D}"/usr/share/doc/${PF}/COPYING
- prepalldocs
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- elog
- elog "In order to play, you must copy the following 6 files from "
- elog "a version of TTD to ${GAMES_DATADIR}/${PN}/data/."
- elog
- elog "From the WINDOWS version you need: "
- elog " sample.cat trg1r.grf trgcr.grf trghr.grf trgir.grf trgtr.grf"
- elog "OR from the DOS version you need: "
- elog " SAMPLE.CAT TRG1.GRF TRGC.GRF TRGH.GRF TRGI.GRF TRGT.GRF"
- elog
- elog "File names are case sensitive so make sure they are "
- elog "correct for whichever version you have."
- elog
-
- if use dedicated ; then
- ewarn "Warning: The init script will kill all running openttd"
- ewarn "processes when run, including any running client sessions!"
- else
- if use alsa ; then
- elog "You have emerged with 'aplaymidi' for playing MIDI."
- elog "You have to set the environment variable ALSA_OUTPUT_PORTS."
- elog "Available ports can be listed by using 'aplaymidi -l'."
- else
- elog "alsa not in USE so music will not be played during the game."
- fi
- fi
-}
diff --git a/games-simulation/openttd/openttd-0.7.1.ebuild b/games-simulation/openttd/openttd-0.7.2.ebuild
index a0715ff65cbd..27d16809067f 100644
--- a/games-simulation/openttd/openttd-0.7.1.ebuild
+++ b/games-simulation/openttd/openttd-0.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-0.7.1.ebuild,v 1.3 2009/08/01 11:59:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-0.7.2.ebuild,v 1.1 2009/08/01 17:00:49 mr_bones_ Exp $
EAPI=2
inherit eutils games