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/fgrun/files/, games-simulation/fgrun/
Date: Mon, 02 Jul 2012 10:06:27
Message-Id: 1341223505.35f022984e4474be5e105d04c8b5cc471d5272f8.christian@gentoo
1 commit: 35f022984e4474be5e105d04c8b5cc471d5272f8
2 Author: Christian Schmitt <chris <AT> ilovelinux <DOT> de>
3 AuthorDate: Mon Jul 2 10:05:05 2012 +0000
4 Commit: Christian Schmitt <chris <AT> ilovelinux <DOT> de>
5 CommitDate: Mon Jul 2 10:05:05 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=35f02298
7
8 [games-simulation/fgrun-9999] adapt to changes from upstream, sync with portage
9
10 ---
11 games-simulation/fgrun/fgrun-9999.ebuild | 30 ++++++++++---------
12 .../fgrun/files/fgrun-1.5.1-fltk.patch | 13 --------
13 2 files changed, 16 insertions(+), 27 deletions(-)
14
15 diff --git a/games-simulation/fgrun/fgrun-9999.ebuild b/games-simulation/fgrun/fgrun-9999.ebuild
16 index 9252575..5a1e0ef 100644
17 --- a/games-simulation/fgrun/fgrun-9999.ebuild
18 +++ b/games-simulation/fgrun/fgrun-9999.ebuild
19 @@ -1,8 +1,8 @@
20 -# Copyright 1999-2011 Gentoo Foundation
21 +# Copyright 1999-2012 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Header: $
24
25 -EAPI=2
26 +EAPI=4
27
28 inherit games cmake-utils git-2
29
30 @@ -15,26 +15,28 @@ SLOT="0"
31 KEYWORDS=""
32 IUSE="nls"
33
34 -DEPEND="dev-games/openscenegraph
35 - >=dev-games/simgear-9999
36 +COMMON_DEPEND="
37 + >=dev-games/openscenegraph-3.0.1
38 + sys-libs/zlib
39 x11-libs/fltk:1[opengl,threads]
40 - x11-libs/libXi
41 - x11-libs/libXmu
42 - nls? ( virtual/libintl )"
43 +"
44
45 -RDEPEND="${DEPEND}
46 - >=games-simulation/flightgear-9999"
47 +DEPEND="${COMMON_DEPEND}
48 + >=dev-games/simgear-2.6
49 + >=dev-libs/boost-1.34
50 + nls? ( virtual/libintl )
51 +"
52
53 -DOCS=(AUTHORS NEWS)
54 +RDEPEND="${COMMON_DEPEND}
55 + >=games-simulation/flightgear-2.6
56 +"
57
58 -src_prepare() {
59 - epatch "${FILESDIR}/${PN}-1.5.1-fltk.patch"
60 -}
61 +DOCS=(AUTHORS NEWS)
62
63 src_configure() {
64 mycmakeargs=(
65 -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}
66 - $(cmake-utils_use nls ENABLE_NLS)
67 + $(cmake-utils_use_enable nls)
68 )
69 cmake-utils_src_configure
70 }
71
72 diff --git a/games-simulation/fgrun/files/fgrun-1.5.1-fltk.patch b/games-simulation/fgrun/files/fgrun-1.5.1-fltk.patch
73 deleted file mode 100644
74 index dc00c9a..0000000
75 --- a/games-simulation/fgrun/files/fgrun-1.5.1-fltk.patch
76 +++ /dev/null
77 @@ -1,13 +0,0 @@
78 ---- configure.ac.old 2007-04-25 22:26:19.000000000 +0200
79 -+++ configure.ac 2007-04-25 22:27:41.000000000 +0200
80 -***************
81 -*** 138,143 ****
82 ---- 138,146 ----
83 - FLUID="$with_fltk/bin/fluid"
84 - CPPFLAGS="-I$with_fltk/include $CPPFLAGS"
85 - EXTRA_DIRS="${EXTRA_DIRS} $with_fltk"
86 -+ else
87 -+ CPPFLAGS="$(fltk-config --cxxflags) $CPPFLAGS"
88 -+ LDFLAGS="$(fltk-config --ldflags) $LDFLAGS"
89 - fi
90 - AC_SUBST(FLUID)