summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:31 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:53:54 +0100
commitd9783548b0ed72ee707f77f5681f7986e7965438 (patch)
tree78d09b6b2a727cf93de7696aeee81633e7144bba /games-sports
parentgames-sports/ski: Remove old (diff)
downloadgentoo-d9783548b0ed72ee707f77f5681f7986e7965438.tar.gz
gentoo-d9783548b0ed72ee707f77f5681f7986e7965438.tar.bz2
gentoo-d9783548b0ed72ee707f77f5681f7986e7965438.zip
games-sports/speed-dreams: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/speed-dreams/speed-dreams-1.4.0.ebuild84
1 files changed, 0 insertions, 84 deletions
diff --git a/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild b/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild
deleted file mode 100644
index 4b60f6cb08e5..000000000000
--- a/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils versionator games
-
-DESCRIPTION="A fork of the famous open racing car simulator TORCS"
-HOMEPAGE="http://speed-dreams.sourceforge.net/"
-SRC_URI="mirror://sourceforge/speed-dreams/${P}-r2307-src.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="xrandr"
-
-RDEPEND="virtual/opengl
- virtual/glu
- media-libs/freeglut
- media-libs/openal
- media-libs/freealut
- x11-libs/libX11
- x11-libs/libXxf86vm
- xrandr? ( x11-libs/libXrandr )
- sys-libs/zlib
- >=media-libs/libpng-1.2.40:0"
-DEPEND="${RDEPEND}
- >=media-libs/plib-1.8.3
- x11-proto/xproto
- x11-libs/libXext
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXt
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXrender
- xrandr? ( x11-proto/randrproto )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)-src
-
-src_prepare() {
- # https://sourceforge.net/apps/trac/speed-dreams/ticket/111
- MAKEOPTS="${MAKEOPTS} -j1"
-
- epatch \
- "${FILESDIR}"/${P}-asneeded.patch \
- "${FILESDIR}"/${P}-automake.patch \
- "${FILESDIR}"/${P}-libpng15.patch \
- "${FILESDIR}"/${P}-math-hack.patch
-
- sed -i \
- -e '/ADDCFLAGS/s: -O2::' \
- configure.in || die
- sed -i \
- -e '/COPYING/s:=.*:= \\:' \
- Makefile || die
- sed -i \
- -e '/LDFLAGS/s:-L/usr/lib::' \
- -e "/^datadir/s:=.*:= ${GAMES_DATADIR}/${PN}:" \
- Make-config.in || die
-
- eautoreconf
-}
-
-src_configure() {
- addpredict $(echo /dev/snd/controlC? | sed 's/ /:/g')
- [[ -e /dev/dsp ]] && addpredict /dev/dsp
- egamesconf \
- --prefix=/usr \
- --bindir="${GAMES_BINDIR}" \
- $(use_enable xrandr)
-}
-
-src_install() {
- emake DESTDIR="${D}" install datainstall
-
- find "${D}" -name Makefile -exec rm -f {} +
-
- dodoc CHANGES README TODO
-
- newicon icon.svg ${PN}.svg
- make_desktop_entry ${PN} "Speed Dreams"
-
- prepgamesdirs
-}