diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2012-03-13 13:01:30 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2012-03-13 13:01:30 +0000 |
commit | ac96516cb4316de3f5c0b740a25951ef131459b4 (patch) | |
tree | 7d50edd92d73f933fc44058cd390f834ce4e12bc /games-sports/speed-dreams | |
parent | backport upstream addition to CXXFLAGS, #407881 (diff) | |
download | gentoo-2-ac96516cb4316de3f5c0b740a25951ef131459b4.tar.gz gentoo-2-ac96516cb4316de3f5c0b740a25951ef131459b4.tar.bz2 gentoo-2-ac96516cb4316de3f5c0b740a25951ef131459b4.zip |
Add xrandr use flag. Bug #334491
(Portage version: 2.1.10.49/cvs/Linux i686)
Diffstat (limited to 'games-sports/speed-dreams')
-rw-r--r-- | games-sports/speed-dreams/ChangeLog | 6 | ||||
-rw-r--r-- | games-sports/speed-dreams/files/speed-dreams-1.4.0-automake.patch | 35 | ||||
-rw-r--r-- | games-sports/speed-dreams/metadata.xml | 3 | ||||
-rw-r--r-- | games-sports/speed-dreams/speed-dreams-1.4.0.ebuild | 22 |
4 files changed, 51 insertions, 15 deletions
diff --git a/games-sports/speed-dreams/ChangeLog b/games-sports/speed-dreams/ChangeLog index d76e8c486513..638a11addac1 100644 --- a/games-sports/speed-dreams/ChangeLog +++ b/games-sports/speed-dreams/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/speed-dreams # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/speed-dreams/ChangeLog,v 1.10 2012/03/12 13:02:05 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/speed-dreams/ChangeLog,v 1.11 2012/03/13 13:01:30 tupone Exp $ + + 13 Mar 2012; Tupone Alfredo <tupone@gentoo.org> speed-dreams-1.4.0.ebuild, + +files/speed-dreams-1.4.0-automake.patch, metadata.xml: + Add xrandr use flag. Bug #334491 by Ben 12 Mar 2012; Alfredo Tupone <tupone@gentoo.org> speed-dreams-1.4.0.ebuild: Make it build with new automake diff --git a/games-sports/speed-dreams/files/speed-dreams-1.4.0-automake.patch b/games-sports/speed-dreams/files/speed-dreams-1.4.0-automake.patch new file mode 100644 index 000000000000..1e34990da7f1 --- /dev/null +++ b/games-sports/speed-dreams/files/speed-dreams-1.4.0-automake.patch @@ -0,0 +1,35 @@ +--- configure.in.old 2012-03-13 08:15:34.891163505 +0100 ++++ configure.in 2012-03-13 08:18:40.154092687 +0100 +@@ -14,9 +14,10 @@ + # + ############################################################################## + +-AC_INIT(Make-config.in) ++AC_INIT([speed-dreams], [1.4.0-r2307]) ++AC_CONFIG_SRCDIR([Make-config.in]) + AC_CONFIG_HEADERS(config.h) +-AM_INIT_AUTOMAKE(speed-dreams, 1.4.0-r2307) ++AC_DEFINE(VERSION, ["1.4.0-r2307"]) + + dnl Checks for programs. + AC_PROG_CC +--- Makefile.old 2012-03-13 10:43:30.563720337 +0100 ++++ Makefile 2012-03-13 10:44:26.339794119 +0100 +@@ -88,17 +88,7 @@ + -include ${MAKE_DEFAULT} + + Make-config: configure Make-config.in +- rm -f config.status config.log config.cache + ./configure +- rm -f config.status config.log config.cache +- +-configure: configure.in config.h.in aclocal.m4 +- rm -f config.status config.log config.cache +- autoheader +- autoconf +- +-aclocal.m4: acinclude.m4 +- aclocal + + distclean: clean + rm -f config.status config.log config.cache diff --git a/games-sports/speed-dreams/metadata.xml b/games-sports/speed-dreams/metadata.xml index d3c2cc926f0b..503f277f7014 100644 --- a/games-sports/speed-dreams/metadata.xml +++ b/games-sports/speed-dreams/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>games</herd> + <use> + <flag name="xrandr">Enable support for the X xrandr extension</flag> + </use> </pkgmetadata> 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() { |