summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-02-27 14:47:13 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-02-27 14:47:13 +0000
commit2a94c4c1ec28620337b6ff3da724c72a08be4150 (patch)
tree030f09f83818ea35aaa5218055b6e87b51039db0 /dev-games
parentstable ppc64, bug 255195 (diff)
downloadgentoo-2-2a94c4c1ec28620337b6ff3da724c72a08be4150.tar.gz
gentoo-2-2a94c4c1ec28620337b6ff3da724c72a08be4150.tar.bz2
gentoo-2-2a94c4c1ec28620337b6ff3da724c72a08be4150.zip
Added osg applications
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/openscenegraph/ChangeLog6
-rw-r--r--dev-games/openscenegraph/metadata.xml3
-rw-r--r--dev-games/openscenegraph/openscenegraph-2.8.0.ebuild9
3 files changed, 14 insertions, 4 deletions
diff --git a/dev-games/openscenegraph/ChangeLog b/dev-games/openscenegraph/ChangeLog
index de542d115457..bdfd517bfac9 100644
--- a/dev-games/openscenegraph/ChangeLog
+++ b/dev-games/openscenegraph/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/openscenegraph
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/ChangeLog,v 1.3 2009/02/26 15:26:26 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/ChangeLog,v 1.4 2009/02/27 14:47:13 tupone Exp $
+
+ 27 Feb 2009; Alfredo Tupone <tupone@gentoo.org> metadata.xml,
+ openscenegraph-2.8.0.ebuild:
+ Added applications as answer to Comment #1 by Ferris McCormick on bug #260342
26 Feb 2009; Ferris McCormick <fmccor@gentoo.org>
openscenegraph-2.8.0.ebuild:
diff --git a/dev-games/openscenegraph/metadata.xml b/dev-games/openscenegraph/metadata.xml
index b475c6d9a789..41430b392e2a 100644
--- a/dev-games/openscenegraph/metadata.xml
+++ b/dev-games/openscenegraph/metadata.xml
@@ -9,4 +9,7 @@
<longdescription lang="en">
The OpenSceneGraph is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph is now well established as the world leading scene graph technology, used widely in the vis-sim, space, scientific, oil-gas, games and virtual reality industries.
</longdescription>
+ <use>
+ <flag name="osgapps">Build osg applications</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-games/openscenegraph/openscenegraph-2.8.0.ebuild b/dev-games/openscenegraph/openscenegraph-2.8.0.ebuild
index d2f2e62a4e86..eb0569134879 100644
--- a/dev-games/openscenegraph/openscenegraph-2.8.0.ebuild
+++ b/dev-games/openscenegraph/openscenegraph-2.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-2.8.0.ebuild,v 1.3 2009/02/26 15:26:26 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-2.8.0.ebuild,v 1.4 2009/02/27 14:47:13 tupone Exp $
EAPI=2
inherit eutils versionator cmake-utils
@@ -16,7 +16,7 @@ SRC_URI="http://www.openscenegraph.org/downloads/stable_releases/${MY_P_MAJOR}/s
LICENSE="wxWinLL-3 LGPL-2.1"
SLOT="0"
KEYWORDS="~sparc ~x86"
-IUSE="xulrunner"
+IUSE="osgapps xulrunner"
RDEPEND="virtual/opengl
virtual/glu
@@ -40,7 +40,10 @@ src_prepare() {
}
src_configure() {
- mycmakeargs="-DBUILD_OSG_APPLICATIONS=OFF"
+ mycmakeargs=""
+ if ! use osgapps; then
+ mycmakeargs="${mycmakeargs} -DBUILD_OSG_APPLICATIONS=OFF"
+ fi
mycmakeargs="${mycmakeargs} $(cmake-utils_use_enable xulrunner XUL)"
cmake-utils_src_configure
}