summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schmitt <chris@ilovelinux.de>2012-08-28 13:19:34 +0200
committerChristian Schmitt <chris@ilovelinux.de>2012-08-28 13:56:35 +0200
commit74e8bf7d23ac4c204068838224e012846ef40ce1 (patch)
tree2eb3fd099dedb3798f820e4ebfd7ce5663c8d6b8 /dev-games/simgear/simgear-9999.ebuild
parentRemove simgear-2.8 and flightgear-2.8. Both in tree now (diff)
downloadgamerlay-74e8bf7d23ac4c204068838224e012846ef40ce1.tar.gz
gamerlay-74e8bf7d23ac4c204068838224e012846ef40ce1.tar.bz2
gamerlay-74e8bf7d23ac4c204068838224e012846ef40ce1.zip
[dev-games/simgear-9999] sync with portage
Diffstat (limited to 'dev-games/simgear/simgear-9999.ebuild')
-rw-r--r--dev-games/simgear/simgear-9999.ebuild30
1 files changed, 20 insertions, 10 deletions
diff --git a/dev-games/simgear/simgear-9999.ebuild b/dev-games/simgear/simgear-9999.ebuild
index 4628af7..9821d47 100644
--- a/dev-games/simgear/simgear-9999.ebuild
+++ b/dev-games/simgear/simgear-9999.ebuild
@@ -17,25 +17,35 @@ EGIT_REPO_URI="git://mapserver.flightgear.org/simgear/
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="subversion X"
+IUSE="debug +subversion test X"
-RDEPEND="dev-libs/boost
+COMMON_DEPEND="
+ sys-libs/zlib
X? ( >=dev-games/openscenegraph-3.0[png]
media-libs/openal
- subversion? ( dev-vcs/subversion )
+ virtual/opengl
+ subversion? (
+ dev-libs/apr
+ dev-vcs/subversion
+ )
)
"
-DEPEND="${RDEPEND}"
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/boost-1.37
+"
+
+RDEPEND="${COMMON_DEPEND}"
-DOCS=(NEWS AUTHORS)
+DOCS=(AUTHORS ChangeLog NEWS README Thanks)
src_configure() {
- mycmakeargs=(
- -DSIMGEAR_SHARED=ON
- $(cmake-utils_use subversion ENABLE_LIBSVN)
- $(cmake-utils_use !X SIMGEAR_HEADLESS)
+ local mycmakeargs=(
+ -DENABLE_RTI=OFF
+ -DSIMGEAR_SHARED=ON
+ $(cmake-utils_use_enable subversion LIBSVN)
+ $(cmake-utils_use !X SIMGEAR_HEADLESS)
+ $(cmake-utils_use_enable test TESTS)
)
-
cmake-utils_src_configure
}