From: Ian Stakenvicius Date: Mon, 16 Jan 2017 22:28:37 +0000 (-0500) Subject: media-gfx/freewrl-9999: changed upstream code branch, added deps and config for RBP X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=799c4248b68c0071380826d5533dd84ee6581f44;p=gentoo.git media-gfx/freewrl-9999: changed upstream code branch, added deps and config for RBP Package-Manager: portage-2.3.0 --- diff --git a/media-gfx/freewrl/freewrl-9999.ebuild b/media-gfx/freewrl/freewrl-9999.ebuild index b2efb486f8fb..a25bdd163b1f 100644 --- a/media-gfx/freewrl/freewrl-9999.ebuild +++ b/media-gfx/freewrl/freewrl-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -9,6 +9,7 @@ inherit autotools nsplugins eutils flag-o-matic java-pkg-opt-2 multilib if [[ ${PV} == "9999" ]]; then inherit git-r3 EGIT_REPO_URI="git://git.code.sf.net/p/freewrl/git" + EGIT_BRANCH="develop" S="${WORKDIR}/${P}/freex3d" SRC_URI= KEYWORDS= @@ -21,7 +22,7 @@ DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin" HOMEPAGE="http://freewrl.sourceforge.net/" LICENSE="GPL-3" SLOT="0" -IUSE="curl debug java libeai motif +nsplugin opencl osc +sox static-libs" +IUSE="curl debug java libeai motif +nsplugin opencl osc rbp +sox static-libs" COMMONDEPEND="x11-libs/libICE x11-libs/libSM @@ -44,6 +45,7 @@ COMMONDEPEND="x11-libs/libICE curl? ( net-misc/curl ) osc? ( media-libs/liblo ) opencl? ( virtual/opencl ) + rbp? ( dev-games/ode:0=[double-precision] ) dev-lang/spidermonkey:0=" DEPEND="${COMMONDEPEND} virtual/pkgconfig @@ -64,7 +66,7 @@ src_prepare() { src_configure() { # list of js libs without .pc support, to disable ./configure auto-checking - local spidermonkeys=( mozilla-js xulrunner-js firefox-js firefox2-js seamonkey-js ) + local spidermonkeys=( mozilla-js ) # list of .pc supported spidermonkeys, to disable ./configure auto-checking local spidermonkeys_pc=( mozjs187 mozjs185 ) @@ -73,10 +75,10 @@ src_configure() { --with-x --with-imageconvert=/usr/bin/convert --with-unzip=/usr/bin/unzip - --disable-mozjs-17.0 + --with-javascript=spidermonkey ${spidermonkeys[@]/#/ --disable-}" - if has_version "Build EAI C library Enable OpenCL support Allows for OSC-based control and communication between multiple freewrl instances + Enable support for Rigid Body Physics Build and install java EAI/SAI support library