summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/fgrun')
-rw-r--r--games-simulation/fgrun/ChangeLog8
-rw-r--r--games-simulation/fgrun/Manifest5
-rw-r--r--games-simulation/fgrun/fgrun-1.5.1.ebuild43
-rw-r--r--games-simulation/fgrun/files/fgrun-1.5.1-fltk.patch13
4 files changed, 67 insertions, 2 deletions
diff --git a/games-simulation/fgrun/ChangeLog b/games-simulation/fgrun/ChangeLog
index 239b0076962e..de061bf5654c 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.7 2009/10/17 17:34:40 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/ChangeLog,v 1.8 2009/10/28 15:28:05 voyageur Exp $
+
+*fgrun-1.5.1 (28 Oct 2009)
+
+ 28 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> +fgrun-1.5.1.ebuild,
+ +files/fgrun-1.5.1-fltk.patch:
+ Version bump, closes bug #255094
17 Oct 2009; Tupone Alfredo <tupone@gentoo.org> fgrun-1.0.0.ebuild:
Fix typo on src_configure. Bug #258405 by Steven Parker
diff --git a/games-simulation/fgrun/Manifest b/games-simulation/fgrun/Manifest
index 7486fde2833d..ee0ddabff77b 100644
--- a/games-simulation/fgrun/Manifest
+++ b/games-simulation/fgrun/Manifest
@@ -1,6 +1,9 @@
AUX fgrun-1.0.0-fltk.patch 378 RMD160 208e5cbfd18178ee38cece1488893fecd6cc9330 SHA1 4ecc9fc0c0f2a9cb8e78277860616ab5ce362688 SHA256 88981af0652aecd3d953b4aa94393da9aff4ec8092f8edb68884741eef17050f
AUX fgrun-1.0.0-gcc43.patch 499 RMD160 cb644ffdcc65b789ce62a9e5c537d1a7e33ea337 SHA1 003786f207bb9da47797d15a5c815f7ddd49abaf SHA256 7c9c5a0e7e39d5902193c2002ba51b6394a239db5d08420cb7c7021b2d01b3a8
+AUX fgrun-1.5.1-fltk.patch 410 RMD160 1ae552ea62a207879b6a35c15ca9e9a69fe49e83 SHA1 e7f44964f54c82ff73f2ef74181071c4d71dda34 SHA256 828f904265a57a28639014b3de3a804ed32237558160adbf592911503aa46c9b
DIST fgrun-1.0.0.tar.gz 196526 RMD160 54290845d43000a5cb040a6f48628453bc14a41c SHA1 23593e8547d277fba6da8c3019388d7a4d25a394 SHA256 55cdaedcf91217808374fa6e4f6ae32a80fdcaea3d6d9e8056b0afa0aa88933c
+DIST fgrun-1.5.1.tar.gz 381289 RMD160 234a62371c9657063982d54ad517361d9987f36d SHA1 43bf45aaa5d86268a366c9366af89b6df36d0bcc SHA256 a91a7d3494943876e9bc9e67aa5f366f5a6fa1fd5ebdd7ef239280439e4cb2d7
EBUILD fgrun-1.0.0.ebuild 966 RMD160 06662db51d043bbfd64851bfd7f20745e0277ab9 SHA1 4b5a7fc03c316842cca8a110f5c03564833e9a10 SHA256 07d950901cb60288e7f7888263289025bf1b2be102c58e9709b29ed65de3cc29
-MISC ChangeLog 1230 RMD160 7766319f3f41e5fdc7cfbe663ec0638ed1be3aeb SHA1 97aeccad6a4c8579dde3d2c5d3b7e510fb6c9e57 SHA256 8778d678d8ba6b88f575f178b9f5478089440f40cac4ffdaa95251ad0fe3c784
+EBUILD fgrun-1.5.1.ebuild 1028 RMD160 439039a0210da6088559df549f76ea1e9923e149 SHA1 ed17718be35172dd49abc43bd5f76e8211d80a46 SHA256 c225c1bcda0e6edaef03fec56f3e9946d68d03b6bbc7c43ab1f7d34dfea02db2
+MISC ChangeLog 1405 RMD160 5be4038c6a7ef82105c5b88e93d230533749e8be SHA1 8a49fffca397959bb5909599af982354a08fe7c8 SHA256 1c605fe11191ea9669e9f37875bf1f1c7a3293fc2b63581fb6043b873f355e52
MISC metadata.xml 262 RMD160 6caf1de687e211ac5d8998c6e22a31bf6dbbc6eb SHA1 3e9e34c4b383660a2098c635ea47b25d3c0888de SHA256 2e1cbb9454546139eba961c493b0f44dd42548536d93fdb44a79a0ecbaea3299
diff --git a/games-simulation/fgrun/fgrun-1.5.1.ebuild b/games-simulation/fgrun/fgrun-1.5.1.ebuild
new file mode 100644
index 000000000000..24f7f1e5c167
--- /dev/null
+++ b/games-simulation/fgrun/fgrun-1.5.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/fgrun-1.5.1.ebuild,v 1.1 2009/10/28 15:28:05 voyageur 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]
+ )
+ x11-libs/libXi
+ x11-libs/libXmu"
+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 \
+ || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS NEWS
+ prepgamesdirs
+}
diff --git a/games-simulation/fgrun/files/fgrun-1.5.1-fltk.patch b/games-simulation/fgrun/files/fgrun-1.5.1-fltk.patch
new file mode 100644
index 000000000000..dc00c9a6cfd5
--- /dev/null
+++ b/games-simulation/fgrun/files/fgrun-1.5.1-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"
++ LDFLAGS="$(fltk-config --ldflags) $LDFLAGS"
+ fi
+ AC_SUBST(FLUID)