summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2020-10-23 16:50:59 +0200
committerMichał Górny <mgorny@gentoo.org>2020-10-23 19:08:15 +0200
commitfb75467bcf4b8c308ebbc5b9121a6f42d43680d3 (patch)
tree3c364eebcd06eb8a87672dce877265210d5d7569 /games-simulation/simutrans/simutrans-0.120.2.2.ebuild
parentgames-simulation/simutrans: Version bump 0.122.0. (diff)
downloadgentoo-fb75467bcf4b8c308ebbc5b9121a6f42d43680d3.tar.gz
gentoo-fb75467bcf4b8c308ebbc5b9121a6f42d43680d3.tar.bz2
gentoo-fb75467bcf4b8c308ebbc5b9121a6f42d43680d3.zip
games-simulation/simutrans: Delete old ebuild.
It doesn't compile since 2018. Bug: https://bugs.gentoo.org/664634 Bug: https://bugs.gentoo.org/724470 Bug: https://bugs.gentoo.org/739360 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> Closes: https://github.com/gentoo/gentoo/pull/15314 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-simulation/simutrans/simutrans-0.120.2.2.ebuild')
-rw-r--r--games-simulation/simutrans/simutrans-0.120.2.2.ebuild71
1 files changed, 0 insertions, 71 deletions
diff --git a/games-simulation/simutrans/simutrans-0.120.2.2.ebuild b/games-simulation/simutrans/simutrans-0.120.2.2.ebuild
deleted file mode 100644
index f175a36b9e0..00000000000
--- a/games-simulation/simutrans/simutrans-0.120.2.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic eutils
-
-MY_PV=${PV/0./}
-MY_PV=${MY_PV//./-}
-SIMUPAK="simupak64-${MY_PV%-[0-9]*}.zip"
-
-DESCRIPTION="A free Transport Tycoon clone"
-HOMEPAGE="http://www.simutrans.com/"
-SRC_URI="mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
- http://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip
- mirror://sourceforge/simutrans/${SIMUPAK}"
-
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- sys-libs/zlib
- app-arch/bzip2
- media-libs/sdl-mixer
- media-libs/libpng:0
- media-libs/libsdl[sound,video]"
-
-DEPEND="
- ${RDEPEND}
- app-arch/unzip"
-
-S=${WORKDIR}
-
-PATCHES=(
- "${FILESDIR}"/${P}-Makefile.patch
-)
-
-src_unpack() {
- unpack simutrans-src-${MY_PV}.zip
- unpack "${SIMUPAK}"
-
- # Bundled text files are incomplete, bug #580948
- cd "${S}/simutrans/text" || die
- unpack language_pack-Base+texts.zip
-}
-
-src_prepare() {
- default
-
- strip-flags # bug #293927
- printf "BACKEND=mixer_sdl\nCOLOUR_DEPTH=16\nOSTYPE=linux\nVERBOSE=1" \
- > config.default || die
-
- # make it look in the install location for the data
- sed -i \
- -e "s:argv\[0\]:\"/usr/share/${PN}/\":" \
- simmain.cc || die
-
- rm simutrans/*.txt || die
-}
-
-src_install() {
- newbin build/default/sim ${PN}
- insinto /usr/share/${PN}
- doins -r simutrans/*
- dodoc documentation/*
- doicon simutrans.ico
- make_desktop_entry simutrans Simutrans /usr/share/pixmaps/simutrans.ico
-}