diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-07 16:26:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-07 16:26:06 +0000 |
commit | f648953a6b35e180e9e1031c293a639b07d91439 (patch) | |
tree | 53559de77bfe0178eba753f95ce93debfd82ac35 /games-simulation/openttd | |
parent | Version bump. Remove old. (diff) | |
download | historical-f648953a6b35e180e9e1031c293a639b07d91439.tar.gz historical-f648953a6b35e180e9e1031c293a639b07d91439.tar.bz2 historical-f648953a6b35e180e9e1031c293a639b07d91439.zip |
old
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-simulation/openttd')
-rw-r--r-- | games-simulation/openttd/Manifest | 2 | ||||
-rw-r--r-- | games-simulation/openttd/openttd-0.7.5.ebuild | 119 |
2 files changed, 0 insertions, 121 deletions
diff --git a/games-simulation/openttd/Manifest b/games-simulation/openttd/Manifest index 084385cb7955..74935eb92377 100644 --- a/games-simulation/openttd/Manifest +++ b/games-simulation/openttd/Manifest @@ -1,7 +1,5 @@ AUX openttd.initd 529 RMD160 ff9fdf7a787ae3d08ec4dbef1b1b37eee12d1ccd SHA1 f833206fc430c6e7afec76c39e97af0f7ec6578a SHA256 a16e5c64a073d0b7e7092bb906b7f064414870a8607bebce16b4b08cff7f4112 -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.5.ebuild 3334 RMD160 47c013784c512ca623e494c341bed54fdb617c90 SHA1 41387d7536251787967a05a723803537f761602e SHA256 948489f7ab71ffa17502163be89c5c771ad64c5b369f9888c00ee0213ba12376 EBUILD openttd-1.0.1.ebuild 5003 RMD160 d5b794392cb3c7eb0a91487fd02757cccac054a2 SHA1 78576fb45f7a6fbdd671f6bf4d24a0b58c734e1e SHA256 807ad6dca8c6eff9d1280bbb22f5b3a495d1006a37eb5b650ddb0334f2fbbbd4 MISC ChangeLog 11998 RMD160 adf44f7dd19a7938969c6e885b71ee95b8163a7c SHA1 d56a77837d6050c4f21439ee05a794407ebc5edb SHA256 b0b4224497b8ee5132f7394530912b546dde312f82fac69efe5a6b11b992b04a MISC metadata.xml 658 RMD160 3e5f41ef03cfc2b3d91f3fe18939ded3aaf86cd1 SHA1 e5b0eefc09ca65a2dd09049aca0da1b6dcbe269c SHA256 d0e2ff0d4bbe57e15d58e5fc68884b70877561f127e8afd7b5ce3e4a46e97404 diff --git a/games-simulation/openttd/openttd-0.7.5.ebuild b/games-simulation/openttd/openttd-0.7.5.ebuild deleted file mode 100644 index 82365eb7939a..000000000000 --- a/games-simulation/openttd/openttd-0.7.5.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-0.7.5.ebuild,v 1.5 2010/05/21 21:02:06 pacho 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[audio,X,video] - 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 -} |