summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-simulation/openttd/Manifest2
-rw-r--r--games-simulation/openttd/openttd-0.7.3.ebuild119
2 files changed, 0 insertions, 121 deletions
diff --git a/games-simulation/openttd/Manifest b/games-simulation/openttd/Manifest
index 95f8ef6cd8b4..97f58d9330f9 100644
--- a/games-simulation/openttd/Manifest
+++ b/games-simulation/openttd/Manifest
@@ -1,8 +1,6 @@
AUX openttd.initd 529 RMD160 ff9fdf7a787ae3d08ec4dbef1b1b37eee12d1ccd SHA1 f833206fc430c6e7afec76c39e97af0f7ec6578a SHA256 a16e5c64a073d0b7e7092bb906b7f064414870a8607bebce16b4b08cff7f4112
-DIST openttd-0.7.3-source.tar.bz2 4876403 RMD160 9455d2e25bc0123f858309906c558544c7f076dc SHA1 3e34ceec85b00c0918423790aad0d72ef4cd14c1 SHA256 eccfa15038c5f7991d2692cb190f34ba1fd9deaff8f181dd99145e41790fdbc3
DIST openttd-0.7.5-source.tar.bz2 4891206 RMD160 43367ba8b95d0e1f38bbfb6beb3b2dfe81af639d SHA1 dea6eaea56eb96a972c735ca25ccc49c21a252e6 SHA256 635dfcf83b43b2b808d65167a1b37601aee2b8bd873a8f57aa5fa9779e1156c3
DIST openttd-1.0.1-source.tar.bz2 5341259 RMD160 b14e45853e0475fe25508be888f38e6467ebc495 SHA1 8f1a35b3dea0c41386399d9889e2147c6b6e49c0 SHA256 6067601979736e8b1acb1b67919c13a9f53f3407d0f0704bd310a55ac15bbc1f
-EBUILD openttd-0.7.3.ebuild 3323 RMD160 840a97ad10656b74c9ef7bd30563f607e068f1c2 SHA1 f6d2f75f006fe09925a0c7995ec18e717a7d5a58 SHA256 5f16b7ff6a97d0af6824e2ca463c5d16972175e76117d7320d6fe22151d1a1ab
EBUILD openttd-0.7.5.ebuild 3334 RMD160 47c013784c512ca623e494c341bed54fdb617c90 SHA1 41387d7536251787967a05a723803537f761602e SHA256 948489f7ab71ffa17502163be89c5c771ad64c5b369f9888c00ee0213ba12376
EBUILD openttd-1.0.1.ebuild 5008 RMD160 bc426fcd4ed3921056a0432883a1a9784fa37265 SHA1 67d3a57448a823fc0a4fab5496a864efa9d37fba SHA256 0ffe3dc769238cd3086d9e9a58c2d73cced399c0c0f80be6f58cdb98357a45c5
MISC ChangeLog 11668 RMD160 e28fb15d3a2afc7d7a462bd18a5ee652850374e8 SHA1 31bd59560b0cff6c8b0784d1b93afd5641c28869 SHA256 5fca0fe6c090e49867999bff2c9dae5bcae709029123bc71eae09dd4e34bf617
diff --git a/games-simulation/openttd/openttd-0.7.3.ebuild b/games-simulation/openttd/openttd-0.7.3.ebuild
deleted file mode 100644
index ef7cf1d69b7e..000000000000
--- a/games-simulation/openttd/openttd-0.7.3.ebuild
+++ /dev/null
@@ -1,119 +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.3.ebuild,v 1.3 2009/11/09 21:30:45 josejx 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 )
- )"
-
-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
- ./configure \
- --disable-strip \
- --prefix-dir=/ \
- --binary-dir="${GAMES_BINDIR}" \
- --data-dir="${GAMES_DATADIR}/${PN}" \
- --install-dir="${D}" \
- --icon-dir=/usr/share/pixmaps \
- --menu-dir=/usr/share/applications \
- --icon-theme-dir=/usr/share/icons/hicolor \
- --man-dir=/usr/share/man/man6 \
- --doc-dir=/usr/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
-}