Gentoo Archives: gentoo-commits

From: Christian Schmitt <chris@××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-simulation/flightgear/
Date: Wed, 02 Nov 2011 12:24:18
Message-Id: 0103eeedca2d1fc96a76f3ecf2c93bc7064bb2eb.christian@gentoo
1 commit: 0103eeedca2d1fc96a76f3ecf2c93bc7064bb2eb
2 Author: Christian Schmitt <chris <AT> ilovelinux <DOT> de>
3 AuthorDate: Wed Nov 2 12:00:23 2011 +0000
4 Commit: Christian Schmitt <chris <AT> ilovelinux <DOT> de>
5 CommitDate: Wed Nov 2 12:23:47 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=0103eeed
7
8 [games-simulation/flightgear-9999] Add useflags for the flight dynamics models
9
10 ---
11 games-simulation/flightgear/flightgear-9999.ebuild | 8 ++++++--
12 games-simulation/flightgear/metadata.xml | 4 ++++
13 2 files changed, 10 insertions(+), 2 deletions(-)
14
15 diff --git a/games-simulation/flightgear/flightgear-9999.ebuild b/games-simulation/flightgear/flightgear-9999.ebuild
16 index 8a387f8..1b513dd 100644
17 --- a/games-simulation/flightgear/flightgear-9999.ebuild
18 +++ b/games-simulation/flightgear/flightgear-9999.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21 # $Header: $
22
23 -EAPI=2
24 +EAPI=3
25
26 EGIT_BRANCH="next"
27
28 @@ -15,7 +15,7 @@ EGIT_REPO_URI="git://gitorious.org/fg/flightgear.git"
29 LICENSE="GPL-2"
30 SLOT="0"
31 KEYWORDS=""
32 -IUSE="subversion"
33 +IUSE="+jsbsim larcsim subversion uiuc +yasim"
34
35 RDEPEND=">=dev-games/openscenegraph-2.9[png]
36 >=dev-games/simgear-9999[subversion=]
37 @@ -33,7 +33,11 @@ src_configure() {
38 -DENABLE_FGADMIN=OFF
39 -DEVENT_INPUT=OFF
40 -DWITH_FGPANEL=OFF
41 + $(cmake-utils_use_enable jsbsim)
42 + $(cmake-utils_use_enable larcsim)
43 $(cmake-utils_use subversion ENABLE_LIBSVN)
44 + $(cmake-utils_use_enable uiuc)
45 + $(cmake-utils_use_enable yasim)
46 )
47
48 cmake-utils_src_configure
49
50 diff --git a/games-simulation/flightgear/metadata.xml b/games-simulation/flightgear/metadata.xml
51 index 26c62bf..bd524f5 100644
52 --- a/games-simulation/flightgear/metadata.xml
53 +++ b/games-simulation/flightgear/metadata.xml
54 @@ -3,7 +3,11 @@
55 <pkgmetadata>
56 <herd>games</herd>
57 <use>
58 + <flag name="jsbsim">Enable the JSBSim flight dynamics model</flag>
59 + <flag name="larcsim">Enable the LaRCsim flight dynamics model</flag>
60 <flag name="subversion">Enable Flightgear's Terrasync to link against libsvn</flag>
61 + <flag name="uiuc">Enable the UIUC flight dynamics model</flag>
62 + <flag name="yasim">Enable the YASim flight dynamics model</flag>
63 </use>
64 <maintainer>
65 <email>chris@××××××××××.de</email>