summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2012-08-27 23:59:46 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2012-08-27 23:59:46 +0000
commit930aec1cea035a3318f789602635f5d54db3ba2c (patch)
tree64c11e5349b8c9816514b3cf514133a7d9acfe40 /games-simulation/flightgear
parentVersion bump, bug 405281. Original ebuild by Julian Ospald. (diff)
downloadhistorical-930aec1cea035a3318f789602635f5d54db3ba2c.tar.gz
historical-930aec1cea035a3318f789602635f5d54db3ba2c.tar.bz2
historical-930aec1cea035a3318f789602635f5d54db3ba2c.zip
Version bump, bug 405281. Remove old. Original ebuild by Christian Schmitt.
Package-Manager: portage-2.2.0_alpha123/cvs/Linux x86_64
Diffstat (limited to 'games-simulation/flightgear')
-rw-r--r--games-simulation/flightgear/ChangeLog10
-rw-r--r--games-simulation/flightgear/Manifest26
-rw-r--r--games-simulation/flightgear/files/flightgear-1.9.1-gcc44.patch10
-rw-r--r--games-simulation/flightgear/files/flightgear-1.9.1-parallel.patch11
-rw-r--r--games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch11
-rw-r--r--games-simulation/flightgear/flightgear-1.9.1.ebuild48
-rw-r--r--games-simulation/flightgear/flightgear-2.0.0.ebuild48
-rw-r--r--games-simulation/flightgear/flightgear-2.8.0.ebuild79
-rw-r--r--games-simulation/flightgear/metadata.xml9
9 files changed, 107 insertions, 145 deletions
diff --git a/games-simulation/flightgear/ChangeLog b/games-simulation/flightgear/ChangeLog
index 0799b19bff55..4ca81863fa3b 100644
--- a/games-simulation/flightgear/ChangeLog
+++ b/games-simulation/flightgear/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for games-simulation/flightgear
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/ChangeLog,v 1.54 2012/08/21 07:08:05 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/ChangeLog,v 1.55 2012/08/27 23:59:46 reavertm Exp $
+
+*flightgear-2.8.0 (27 Aug 2012)
+
+ 27 Aug 2012; Maciej Mrozowski <reavertm@gentoo.org> +flightgear-2.8.0.ebuild,
+ -files/flightgear-1.9.1-gcc44.patch, -files/flightgear-1.9.1-parallel.patch,
+ -files/flightgear-1.9.1-sdl.patch, -flightgear-1.9.1.ebuild,
+ -flightgear-2.0.0.ebuild, metadata.xml:
+ Version bump, bug 405281. Remove old. Original ebuild by Christian Schmitt.
21 Aug 2012; Michael Weber <xmw@gentoo.org> flightgear-2.4.0.ebuild:
ppc stable (405665)
diff --git a/games-simulation/flightgear/Manifest b/games-simulation/flightgear/Manifest
index 554b92676d7a..130f7ee26483 100644
--- a/games-simulation/flightgear/Manifest
+++ b/games-simulation/flightgear/Manifest
@@ -1,26 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX flightgear-1.9.1-gcc44.patch 268 SHA256 af4f9eb165175b761ebba3734f39c201b8968a3c79998a215e749a432fcd0467 SHA512 00005a73d042cafc24ba463c279fb58b8b6b4768ff0eb8a9ea990fc9954f3b3301b96d9a8ec4019820c40c63f1cbd13fd4eeeb99e2e0e75ae026dfcc3643e458 WHIRLPOOL dadb48656dccf451f1f4a76c2daa84c0a34b26e2482171aa264a5dd8192810d810d88382a3ce6400498a666393c90fd7aea9bd95c089c18f787b95f42409573d
-AUX flightgear-1.9.1-parallel.patch 390 SHA256 f37ee6216f36a247207ca48ebd99e96e0065eff6ff14ad00afea6eef2908287f SHA512 fb4b789517bb60ba7a8c5b2d249b85c5a46521babe3a12ac4253973e06bde451ba0c33ef988d2bb3e9f44ad2836ecca26d26640566418d8f458390b9622e2c0c WHIRLPOOL 729ae9ba0b787ce544f66aee0141de12c89ef93941ecce70e9eb722f9db6370f38451de6ed672ae12154f47c5f2b791f7754bd92686eeca3f762b06d96113c4a
-AUX flightgear-1.9.1-sdl.patch 388 SHA256 30b75c4cd89bb443ff6c6f8415dea096ba32245840772a8e0f2c554845815b50 SHA512 7f13289c1aad5cdab4181b87e289feec9f977a2c9eaf4d25eebff8fcaf9f2d5f47eab238cb7f643162f2d9a6eee771e73d1af27ec271dcab29c3930a58fc51ed WHIRLPOOL f53cbaf9dce2c0c07381ad1585164c25ad6a259e6381f0f2de7d80c69c41b28b6305ad29fde98c38416f48b85b2026356b9ef0d8531b33730b0c4d8b400f744c
AUX flightgear-2.0.0-sdl.patch 388 SHA256 30b75c4cd89bb443ff6c6f8415dea096ba32245840772a8e0f2c554845815b50 SHA512 7f13289c1aad5cdab4181b87e289feec9f977a2c9eaf4d25eebff8fcaf9f2d5f47eab238cb7f643162f2d9a6eee771e73d1af27ec271dcab29c3930a58fc51ed WHIRLPOOL f53cbaf9dce2c0c07381ad1585164c25ad6a259e6381f0f2de7d80c69c41b28b6305ad29fde98c38416f48b85b2026356b9ef0d8531b33730b0c4d8b400f744c
AUX flightgear-2.4.0-svn.patch 328 SHA256 317fa1ba9dd98f124880db56a660c5b83ec655743b59ae2dd7cf1fadd467c6dd SHA512 56142e9d85d94689cef468004e355ea151506dc6f537c644e565ab77ed816b15f80c0db2ae013d2aca02d2fbe8d898c89d9eae4cd25c019475597f060c84813d WHIRLPOOL d5334b96a969c38ba2be037092ca45cb1a8e73b724d82a0c122628a8575964efa2848734dde97226d0523b6dcfa86de0b6fea852c77ed0bd06fdd549802c3fca
-DIST FlightGear-1.9.1.tar.gz 2246411 SHA256 81162a349137bcc98934a9606b50dad9b293d561a089423814af4d178f0b3d01
-DIST FlightGear-2.0.0.tar.gz 2425099 SHA256 8f874534b4f62de6ebac8a513f51cbc5b408aa57424c3715036df65292b6079e
-DIST FlightGear-data-1.9.0.tar.bz2 239976097 SHA256 19600130d862108678d415e71b2fe3d8c9cd4168e123704b0121dd7fd6adc3c0
-DIST FlightGear-data-2.0.0.tar.bz2 302068846 SHA256 814512de047e6ac12625af09ce1fab357249e162405011ba6c77318f0bdc754f
-DIST FlightGear-data-2.4.0.tar.bz2 431295521 SHA256 9f88a37ec2e21746c01f9b441bd58df4b95817e676fae13e481e73ee91bfe67e
-DIST flightgear-2.4.0.tar.bz2 1909473 SHA256 3f2fdad171b86746b0dfa67510aabfb0c24731951a6d5646c6f0a4f98f01dbe1
-EBUILD flightgear-1.9.1.ebuild 1257 SHA256 b492cb4d517ec0eef6b0377efb48769194d04654b3a3ace882c620212b831854 SHA512 d206a1e14b50531f9c39db94738e1eacde3f8a9376969e5735c279b95c8f2295af76a41912152d9f13c7eea95ea84306310ebbee5e0f2143643931de0711d0ae WHIRLPOOL 0412b59f925ac1b248ff2a0c7914ac416bdb64ec93ad34658975621ed3fbfe25c77523b0dc11d8a7efcdbf8a75b4604133544798ee06f23f3faa5523a951f079
-EBUILD flightgear-2.0.0.ebuild 1230 SHA256 643e21cb3a7c7899ff865b2426631885bd2720e54fb2174e29a2764badb3d400 SHA512 c89f10cd6ccd7115e9d2ab6d7ff34aae3728062a52c7dd56d2f6423bf7020d4ea4eb30ed98d5f0f551e3df32731d614eb62c71b452e86b79366a6a9140f46c4a WHIRLPOOL 4cda5672499cb4fb190864d8309a802bc84d670c3ff36991311b4438cdeff93c41b36974ef5492bc2f9acc5afef5caebceeba7515b2cc434222cb777cf5cee25
+DIST FlightGear-data-2.4.0.tar.bz2 431295521 SHA256 9f88a37ec2e21746c01f9b441bd58df4b95817e676fae13e481e73ee91bfe67e SHA512 c1eb22bced1bab5e53f46c62a0815ceae4d449164d3fea37b1ed9ad272dd8660ef6857dd095c65fc80a6df887fd0af858db0e8ada7519c01f8049670ac43a8b4 WHIRLPOOL 57c85514bb53da8be2fcb5788d0637ccc29caedbb2465e164b47a8f84cbd31b10beaed69951fe996a1d571afb101fc4b6c77f407b0b6f8f5db81b7fe513696e2
+DIST FlightGear-data-2.8.0.tar.bz2 685330156 SHA256 ad9ba1d12b5c771193561d452ec300e4c9321749d478dd6c1f59976932ba8d74 SHA512 ef86b636ed0393ead8e67ad13e3170790bc2373bd77556fe8ec45e55f70d6dc6380be47b8c882299bb5665362352c61c9f3d142fe17e1b76a5e5ae3d6d43dea3 WHIRLPOOL e087cf04429430d3dbcbe88c950feea054e066343d6753dc083806f959cf323bd7044a7f47222ed787af21b1d9ccbaae4aecbd2b84ec244b14050935398955d9
+DIST flightgear-2.4.0.tar.bz2 1909473 SHA256 3f2fdad171b86746b0dfa67510aabfb0c24731951a6d5646c6f0a4f98f01dbe1 SHA512 e1a2618891606f16d35db501cc7f08f226fb53da25a669f0b426fbec84a36538b483c7178dbdc35f988f0b0344d3dbd7c403601afcdba6d465255f827fc4a8f0 WHIRLPOOL b7c5f1585693b9d74e18c4ded6a21fb8db18e6083450a4956c17cc6710c94cf56c25759aff947f5d1c0b20b6c2adbfc61c4814f7c0586c513f1dc9734ff036cc
+DIST flightgear-2.8.0.tar.bz2 2311023 SHA256 bfda4f269d90128f4e4cb828de692a49dc0b93db41fe20a2b5272f3f271f3a01 SHA512 4d9b2584dd7c2fa4ad28d9769a9429809e420c7bf858967a5bb461f8ecb78dd079ff01c78febb95b7c3edce40dbf01e077bf7423324958e0b0a3cc74df12e1c1 WHIRLPOOL 615467c08d7b5f4f9e85d8248359452f2b9dc438e2184a7f8d126e57369f9b5d16b49c3779f0f58915236435f83610b3c76671cf049e5dffcb9428cd4bf82823
EBUILD flightgear-2.4.0.ebuild 1477 SHA256 4c1ecebbd0c97aa443a68515f9fbe455e1edd58b455985e0e2ff769dcba66ddf SHA512 ddb19d194cdbb2b5aff0b81350993506495d63c6f6ae80379753bc5d281bf99205d9497beca9d59a2620107a53516e2baf7eee0165d1a1190fb4e95f9d07e9d9 WHIRLPOOL 153c84f2ec6d1cb7d0730b00b15f6f1d122a53d7ebf012a62163994f59866b92f18e782ee76e2d4e46e372d7c17184ac2ae57449707184d8b265d34d19b7702e
-MISC ChangeLog 9385 SHA256 b04eec68069af31be064550b54087a6a90f22fc1d429d632f24ae2f850ab820e SHA512 e1137384f928e1c3a82d5085f493b177c245c7b3ed33bd4d28ea0d03b423fe8940d02b2a1e21216fdc1f53f5c56c4eecb819b4213362674061e0d081824e9b38 WHIRLPOOL 1a09c86f5fa24c9771c03a6cd9de58a6de9eb81cd87a775d239264f6cb9036e6458e44d43b5986c3952ddace202e7d2547e65c012ce4e8ecb8715ba79237e335
-MISC metadata.xml 252 SHA256 2dc38e2edb5ef0ce76845cfb7ab60e702c61eaff8e5ae142025b1793ed81084c SHA512 e2066947e3e2bd14b22fc53e21b62a03cb07522cdb4869649bd6aa9166af8c83b9635255d20a1fdd7a7fc50c9d9f64f8298249f5c698f753e996c24958f48e52 WHIRLPOOL b8ded12a25e375d3ba15c1d550df9dfc49b8320d8d89211980c144192a54786318842a6ab653fd5e56a7b58d181c4a24b4461901630f7b007b4df225ee120869
+EBUILD flightgear-2.8.0.ebuild 2033 SHA256 9012f9c91fb5cad5dcc1e7bb958ade3e3d1104aa4532e7656a3a5f05c838ddcc SHA512 99e153bd98525a703492d60f9babcb88e55ac9b7c355b6517e85ebbf406ac3bee86689dcbfdab9fae30947353d1c062fcffa203568c6b5d8332de04bdb99f282 WHIRLPOOL 9fa2fac489a201f9e248b3ea791066978432da4f365fae4af1483a5b4fb03b93e98f6656a3c8200c3f5de5c7231aa05525ce211b6dc6d9ff2c815d5288deef31
+MISC ChangeLog 9766 SHA256 dd8a2a6fd04b1e40c0e70442b75408cc4398c0f12261ae72f7f7776c81c056a3 SHA512 1a4659e53afe0bdd9ed87ea0016bdec4774c1764f537b0f40b6447a70394f1c77fdf75c6c3bb9e4572bb3ecd40a2cecd71e791ad866c7a8ee4aaf6e585277f6d WHIRLPOOL 14f70191069f17b22eb361b29d196d87a4ad1c803ba2a5b0286fb1c976b8e450a92c905f627037990a867002f9e14d3ccc6101ee73557e58b0648984211c4a27
+MISC metadata.xml 786 SHA256 6a829fc8b295a3a8b45b1fefadba9a147cd08b6f68a9cf7b876910c501ef9a55 SHA512 5b815f6b9b25ac3448021d94298a526dc9ac5a54faff1f133debc8f299ffcc0720d5f9bdd26d8af7468e1f03fb141f21ed063ede3414ae2b1b0934615aef2622 WHIRLPOOL 4dc0a5b6c6f4bb7466d7392f0e72dba0bac6709532abd3ae78efedd572edbdc9bcfc52fc5164b83fd161561915abaea9502f28f36bef2cbdcbbb498c0880634a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAlAzM/AACgkQknrdDGLu8JA7AAEAk5s+a3Zl0XtnKODJVkrUcI81
-GiqQG1WOf8DRr1TMYlUA/AsiXbrLMfEFcZrTRj0Jin9Jffd7rUsuFFu1gcQCNnu+
-=YZUS
+iEYEAREIAAYFAlA8CfIACgkQFuHa/bHpVdsulwCfXoBdN4BQLxlC/AxmEEQsth5H
+q7IAoJzSayKGEzY35y5Fi0yxJbqzt0wj
+=OlJJ
-----END PGP SIGNATURE-----
diff --git a/games-simulation/flightgear/files/flightgear-1.9.1-gcc44.patch b/games-simulation/flightgear/files/flightgear-1.9.1-gcc44.patch
deleted file mode 100644
index 778ffe506d99..000000000000
--- a/games-simulation/flightgear/files/flightgear-1.9.1-gcc44.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- utils/GPSsmooth/UGear_command.cxx.old 2009-05-22 08:46:02.000000000 +0200
-+++ utils/GPSsmooth/UGear_command.cxx 2009-05-22 08:46:58.000000000 +0200
-@@ -1,6 +1,7 @@
- #include <cstring>
-
- #include "UGear_command.hxx"
-+#include <cstdio>
-
-
- UGCommand::UGCommand():
diff --git a/games-simulation/flightgear/files/flightgear-1.9.1-parallel.patch b/games-simulation/flightgear/files/flightgear-1.9.1-parallel.patch
deleted file mode 100644
index 61147475ed4a..000000000000
--- a/games-simulation/flightgear/files/flightgear-1.9.1-parallel.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Main/Makefile.am.old 2009-03-05 16:57:02.000000000 +0100
-+++ src/Main/Makefile.am 2009-03-05 16:57:26.000000000 +0100
-@@ -61,7 +61,7 @@
- fgfs_SOURCES = bootstrap.cxx
-
- fgfs_LDADD = \
-- $(top_builddir)/src/Main/libMain.a \
-+ libMain.a \
- $(top_builddir)/src/Aircraft/libAircraft.a \
- $(top_builddir)/src/ATCDCL/libATCDCL.a \
- $(top_builddir)/src/Cockpit/libCockpit.a \
diff --git a/games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch b/games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch
deleted file mode 100644
index 835d0f4c0006..000000000000
--- a/games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac.orig 2008-09-08 12:57:35.000000000 -0400
-+++ configure.ac 2008-09-08 12:58:50.000000000 -0400
-@@ -268,6 +268,8 @@
- AC_SEARCH_LIBS(glutGetModifiers, [ glut freeglut ])
- if test "x$enable_sdl" = "xyes"; then
- AC_SEARCH_LIBS(SDL_Init, SDL)
-+ CFLAGS="$CFLAGS `sdl-config --cflags`"
-+ CXXFLAGS="$CXXFLAGS `sdl-config --cflags`"
- fi
- ;;
-
diff --git a/games-simulation/flightgear/flightgear-1.9.1.ebuild b/games-simulation/flightgear/flightgear-1.9.1.ebuild
deleted file mode 100644
index 9f0b5e4fca4c..000000000000
--- a/games-simulation/flightgear/flightgear-1.9.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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-1.9.1.ebuild,v 1.10 2011/02/26 13:30:27 armin76 Exp $
-
-EAPI=2
-inherit autotools eutils games
-
-MY_PN=FlightGear
-MY_P=${MY_PN}-${PV}
-DESCRIPTION="Open Source Flight Simulator"
-HOMEPAGE="http://www.flightgear.org/"
-SRC_URI="mirror://flightgear/Source/${MY_P}.tar.gz
- mirror://flightgear/Shared/${MY_PN}-data-1.9.0.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="sdl"
-
-DEPEND="media-libs/freeglut
- ~dev-games/simgear-1.9.1
- dev-games/openscenegraph[png]
- x11-libs/libXmu"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-sdl.patch \
- "${FILESDIR}"/${P}-gcc44.patch \
- "${FILESDIR}"/${P}-parallel.patch
- eautoreconf
-}
-
-src_configure() {
- egamesconf \
- --disable-dependency-tracking \
- $(use_enable sdl)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- insinto "${GAMES_DATADIR}"/${MY_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/flightgear-2.0.0.ebuild b/games-simulation/flightgear/flightgear-2.0.0.ebuild
deleted file mode 100644
index ee10cb80810d..000000000000
--- a/games-simulation/flightgear/flightgear-2.0.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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.0.0.ebuild,v 1.7 2011/02/26 13:30:27 armin76 Exp $
-
-EAPI=2
-inherit autotools eutils games
-
-MY_PN=FlightGear
-MY_P=${MY_PN}-${PV}
-DESCRIPTION="Open Source Flight Simulator"
-HOMEPAGE="http://www.flightgear.org/"
-SRC_URI="mirror://flightgear/Source/${MY_P}.tar.gz
- mirror://flightgear/Shared/${MY_PN}-data-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="sdl"
-
-DEPEND=">=media-libs/freeglut-2.6.0
- ~dev-games/simgear-2.0.0
- dev-games/openscenegraph[png]
- x11-libs/libXmu
- x11-libs/libXi
- dev-vcs/subversion"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-sdl.patch
- eautoreconf
-}
-
-src_configure() {
- egamesconf \
- --disable-dependency-tracking \
- $(use_enable sdl)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- insinto "${GAMES_DATADIR}"/${MY_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/flightgear-2.8.0.ebuild b/games-simulation/flightgear/flightgear-2.8.0.ebuild
new file mode 100644
index 000000000000..fa4ded0c3ce8
--- /dev/null
+++ b/games-simulation/flightgear/flightgear-2.8.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/flightgear-2.8.0.ebuild,v 1.1 2012/08/27 23:59:46 reavertm Exp $
+
+EAPI=4
+
+inherit games cmake-utils
+
+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 jpeg +jsbsim larcsim subversion test +udev uiuc +yasim"
+#fgpanel - disabled for now, doesn't link
+#fgpanel? (
+# media-libs/freeglut
+# media-libs/libpng
+# )
+
+COMMON_DEPEND="
+ >=dev-games/openscenegraph-3.0.1[png]
+ >=dev-games/simgear-2.8[jpeg?,subversion?]
+ sys-libs/zlib
+ virtual/opengl
+ udev? ( sys-fs/udev )
+"
+# Most entries below are just buildsystem bugs (deps unconditionally
+# inherited from static version of simgear)
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/boost-1.37
+ media-libs/freealut
+ media-libs/openal
+ >=media-libs/plib-1.8.5
+ jpeg? ( virtual/jpeg )
+ subversion? (
+ dev-libs/apr
+ dev-vcs/subversion
+ )
+"
+RDEPEND="${COMMON_DEPEND}"
+
+DOCS=(AUTHORS ChangeLog NEWS README Thanks)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}
+ -DENABLE_FGADMIN=OFF
+ -DENABLE_RTI=OFF
+ -DFG_DATA_DIR="${GAMES_DATADIR}"/${PN}
+ -DSIMGEAR_SHARED=ON
+ -DWITH_FGPANEL=OFF
+ $(cmake-utils_use jpeg JPEG_FACTORY)
+ $(cmake-utils_use_enable jsbsim)
+ $(cmake-utils_use_enable larcsim)
+ $(cmake-utils_use_enable subversion LIBSVN)
+ $(cmake-utils_use test LOGGING)
+ $(cmake-utils_use_enable test TESTS)
+ $(cmake-utils_use udev EVENT_INPUT)
+ $(cmake-utils_use_enable uiuc UIUC_MODEL)
+ $(cmake-utils_use_enable yasim)
+ )
+ #$(cmake-utils_use_with fgpanel)
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r ../data/*
+ newicon package/${PN}.ico ${PN}.ico
+ newmenu package/${PN}.desktop ${PN}.desktop
+
+ prepgamesdirs
+}
diff --git a/games-simulation/flightgear/metadata.xml b/games-simulation/flightgear/metadata.xml
index bf9480ea717d..b4f10c917f06 100644
--- a/games-simulation/flightgear/metadata.xml
+++ b/games-simulation/flightgear/metadata.xml
@@ -6,4 +6,13 @@
<email>reavertm@gentoo.org</email>
<name>Maciej Mrozowski</name>
</maintainer>
+<use>
+ <!-- <flag name="fgpanel">Enables standalone lightweight 2D-panel rendering utility</flag>-->
+ <flag name="larcsim">Enables LaRCsim Flight Dynamics Model</flag>
+ <flag name="jsbsim">Enables JSBSim Flight Dynamics Model (default)</flag>
+ <flag name="subversion">Enables terrasync scenery downloader</flag>
+ <flag name="udev">Enables event-based Input devices through <pkg>sys-fs/udev</pkg></flag>
+ <flag name="uiuc">Enables UIUC Flight Dynamics Model</flag>
+ <flag name="yasim">Enables YASim Flight Dynamics Model</flag>
+</use>
</pkgmetadata>