diff options
Diffstat (limited to 'games-sports/speed-dreams/speed-dreams-1.4.0.ebuild')
-rw-r--r-- | games-sports/speed-dreams/speed-dreams-1.4.0.ebuild | 22 |
1 files changed, 8 insertions, 14 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 index 77590d3c3ffc..440fee3c8ad9 100644 --- a/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild +++ b/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild,v 1.6 2012/03/12 13:02:05 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild,v 1.7 2012/03/13 13:01:30 tupone Exp $ EAPI=2 inherit autotools eutils versionator games @@ -12,29 +12,22 @@ SRC_URI="mirror://sourceforge/speed-dreams/${P}-r2307-src.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" +IUSE="xrandr" RDEPEND="virtual/opengl virtual/glu media-libs/freeglut - >=media-libs/plib-1.8.3 media-libs/openal media-libs/freealut x11-libs/libX11 - x11-libs/libXext - x11-libs/libICE - x11-libs/libSM - x11-libs/libXt - x11-libs/libXi - x11-libs/libXmu x11-libs/libXxf86vm - x11-libs/libXrender - x11-libs/libXrandr + xrandr? ( x11-libs/libXrandr ) sys-libs/zlib >=media-libs/libpng-1.2.40" DEPEND="${RDEPEND} + >=media-libs/plib-1.8.3 x11-proto/xproto - x11-proto/randrproto" + xrandr? ( x11-proto/randrproto )" S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)-src @@ -44,6 +37,7 @@ src_prepare() { epatch \ "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-automake.patch \ "${FILESDIR}"/${P}-libpng15.patch sed -i \ @@ -56,7 +50,7 @@ src_prepare() { -e "/^datadir/s:=.*:= ${GAMES_DATADIR}/${PN}:" \ Make-config.in || die - AT_NOEAUTOMAKE=yes eautoreconf + eautoreconf } src_configure() { @@ -65,7 +59,7 @@ src_configure() { egamesconf \ --prefix=/usr \ --bindir="${GAMES_BINDIR}" \ - --disable-dependency-tracking + $(use_enable xrandr) } src_install() { |