summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2011-10-16 02:31:24 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2011-10-16 02:31:24 +0000
commitc7b767aeef3c572163a84831cb4d759bca72af3d (patch)
tree89670c4fe13bea05d061a8c3128a243af831b46a /games-simulation/flightgear
parentVersion bump, bug 379617. Take over maintenance. (diff)
downloadgentoo-2-c7b767aeef3c572163a84831cb4d759bca72af3d.tar.gz
gentoo-2-c7b767aeef3c572163a84831cb4d759bca72af3d.tar.bz2
gentoo-2-c7b767aeef3c572163a84831cb4d759bca72af3d.zip
Version bump, bug 379617. Take over maintenance.
(Portage version: 2.2.0_alpha67/cvs/Linux x86_64)
Diffstat (limited to 'games-simulation/flightgear')
-rw-r--r--games-simulation/flightgear/ChangeLog8
-rw-r--r--games-simulation/flightgear/flightgear-2.4.0.ebuild58
-rw-r--r--games-simulation/flightgear/metadata.xml4
3 files changed, 69 insertions, 1 deletions
diff --git a/games-simulation/flightgear/ChangeLog b/games-simulation/flightgear/ChangeLog
index 49b6a0c14874..4427256768e3 100644
--- a/games-simulation/flightgear/ChangeLog
+++ b/games-simulation/flightgear/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-simulation/flightgear
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/ChangeLog,v 1.49 2011/02/26 13:30:27 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/ChangeLog,v 1.50 2011/10/16 02:31:24 reavertm Exp $
+
+*flightgear-2.4.0 (16 Oct 2011)
+
+ 16 Oct 2011; Maciej Mrozowski <reavertm@gentoo.org> +flightgear-2.4.0.ebuild,
+ metadata.xml:
+ Version bump, bug 379617. Take over maintenance.
26 Feb 2011; Raúl Porcel <armin76@gentoo.org> flightgear-1.9.1.ebuild,
flightgear-2.0.0.ebuild:
diff --git a/games-simulation/flightgear/flightgear-2.4.0.ebuild b/games-simulation/flightgear/flightgear-2.4.0.ebuild
new file mode 100644
index 000000000000..8266f25c0b95
--- /dev/null
+++ b/games-simulation/flightgear/flightgear-2.4.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/flightgear-2.4.0.ebuild,v 1.1 2011/10/16 02:31:24 reavertm Exp $
+
+EAPI=3
+
+inherit autotools eutils games
+
+DESCRIPTION="Open Source Flight Simulator"
+HOMEPAGE="http://www.flightgear.org/"
+SRC_URI="mirror://flightgear/Source/${P}.tar.bz2
+ mirror://flightgear/Shared/FlightGear-data-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug sdl"
+
+COMMON_DEPEND="
+ >=dev-games/openscenegraph-3.0.1[png]
+ dev-vcs/subversion
+ media-libs/freealut
+ media-libs/openal
+ sys-libs/zlib
+ virtual/jpeg
+ x11-libs/libXi
+ x11-libs/libXmu
+"
+# Those provide either only C++ headers or static libraries
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/boost-1.37
+ ~dev-games/simgear-2.4.0
+ >=media-libs/plib-1.8.5
+"
+RDEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.0-sdl.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-glut \
+ $(use_with debug logging) \
+ $(use_enable sdl)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r ../data/* || die "doins failed"
+ newicon ../data/Aircraft/A6M2/thumbnail.jpg ${PN}.jpg
+ make_desktop_entry fgfs FlightGear /usr/share/pixmaps/${PN}.jpg
+ dodoc AUTHORS ChangeLog NEWS README Thanks
+ prepgamesdirs
+}
diff --git a/games-simulation/flightgear/metadata.xml b/games-simulation/flightgear/metadata.xml
index d3c2cc926f0b..bf9480ea717d 100644
--- a/games-simulation/flightgear/metadata.xml
+++ b/games-simulation/flightgear/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
+<maintainer>
+ <email>reavertm@gentoo.org</email>
+ <name>Maciej Mrozowski</name>
+</maintainer>
</pkgmetadata>