diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-03-19 20:29:56 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-03-19 20:29:56 +0000 |
commit | 00a95c9a2b0a6b6fb05406648c39040379f427ba (patch) | |
tree | ff5c8fafd1880c260b4927dfc9ce84aeaa7bea5c /games-simulation/fgrun | |
parent | old (diff) | |
download | gentoo-2-00a95c9a2b0a6b6fb05406648c39040379f427ba.tar.gz gentoo-2-00a95c9a2b0a6b6fb05406648c39040379f427ba.tar.bz2 gentoo-2-00a95c9a2b0a6b6fb05406648c39040379f427ba.zip |
Version bump to 1.5.2 Bug #307681
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-simulation/fgrun')
-rw-r--r-- | games-simulation/fgrun/ChangeLog | 10 | ||||
-rw-r--r-- | games-simulation/fgrun/fgrun-1.5.2.ebuild | 40 | ||||
-rw-r--r-- | games-simulation/fgrun/files/fgrun-1.5.2-fltk.patch | 13 |
3 files changed, 61 insertions, 2 deletions
diff --git a/games-simulation/fgrun/ChangeLog b/games-simulation/fgrun/ChangeLog index de061bf5654c..66b0c1873267 100644 --- a/games-simulation/fgrun/ChangeLog +++ b/games-simulation/fgrun/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-simulation/fgrun -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/ChangeLog,v 1.8 2009/10/28 15:28:05 voyageur Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/ChangeLog,v 1.9 2010/03/19 20:29:56 tupone Exp $ + +*fgrun-1.5.2 (19 Mar 2010) + + 19 Mar 2010; Tupone Alfredo <tupone@gentoo.org> +fgrun-1.5.2.ebuild, + +files/fgrun-1.5.2-fltk.patch: + Version bump to 1.5.2 Bug #307681 by Auke Booij (tulcod) *fgrun-1.5.1 (28 Oct 2009) diff --git a/games-simulation/fgrun/fgrun-1.5.2.ebuild b/games-simulation/fgrun/fgrun-1.5.2.ebuild new file mode 100644 index 000000000000..b343cabf947e --- /dev/null +++ b/games-simulation/fgrun/fgrun-1.5.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/fgrun-1.5.2.ebuild,v 1.1 2010/03/19 20:29:56 tupone Exp $ + +EAPI=2 +inherit autotools eutils multilib games + +DESCRIPTION="A graphical frontend for the FlightGear Flight Simulator" +HOMEPAGE="http://sourceforge.net/projects/fgrun" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-games/simgear + || ( + <x11-libs/fltk-1.1.9:1.1[opengl] + >=x11-libs/fltk-1.1.9:1.1[opengl,threads] + )" +RDEPEND="${DEPEND} + >=games-simulation/flightgear-1.9.0" + +src_prepare() { + epatch "${FILESDIR}/${P}"-fltk.patch + AT_M4DIR=. eautoreconf +} + +src_configure() { + egamesconf \ + --with-plib-libraries=/usr/$(get_libdir) \ + --with-plib-includes=/usr/include +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS NEWS + prepgamesdirs +} diff --git a/games-simulation/fgrun/files/fgrun-1.5.2-fltk.patch b/games-simulation/fgrun/files/fgrun-1.5.2-fltk.patch new file mode 100644 index 000000000000..b473bdff9b98 --- /dev/null +++ b/games-simulation/fgrun/files/fgrun-1.5.2-fltk.patch @@ -0,0 +1,13 @@ +--- configure.ac.old 2007-04-25 22:26:19.000000000 +0200 ++++ configure.ac 2007-04-25 22:27:41.000000000 +0200 +*************** +*** 138,143 **** +--- 138,146 ---- + FLUID="$with_fltk/bin/fluid" + CPPFLAGS="-I$with_fltk/include $CPPFLAGS" + EXTRA_DIRS="${EXTRA_DIRS} $with_fltk" ++ else ++ CPPFLAGS="$(fltk-config --cxxflags) $CPPFLAGS" ++ LIBS="$(fltk-config --use-gl --ldflags) $LIBS" + fi + AC_SUBST(FLUID) |