blob: ce822398a26441e99dd73e430c0607741d5901ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
EGIT_BRANCH="next"
EGIT_PROJECT="simgear.git"
inherit cmake-utils git-2
DESCRIPTION="Development library for simulation games"
HOMEPAGE="http://www.simgear.org/"
EGIT_REPO_URI="git://gitorious.org/fg/simgear.git
git://mapserver.flightgear.org/simgear/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="debug headless test"
COMMON_DEPEND="
sys-libs/zlib
!headless? (
>=dev-games/openscenegraph-3.2[png]
dev-libs/expat
media-libs/openal
virtual/opengl
)
"
DEPEND="${COMMON_DEPEND}
>=dev-libs/boost-1.37
"
RDEPEND="${COMMON_DEPEND}"
DOCS=(AUTHORS ChangeLog NEWS README Thanks)
src_configure() {
local mycmakeargs=(
-DENABLE_LIBSVN=OFF
-DENABLE_RTI=OFF
-DENABLE_SOUND=ON
-DSG_SVN_CLIENT=ON
-DSIMGEAR_SHARED=ON
-DSYSTEM_EXPAT=ON
$(cmake-utils_use headless SIMGEAR_HEADLESS)
$(cmake-utils_use_enable test TESTS)
)
cmake-utils_src_configure
}
|