commit:     50a85e0526588898a5fc124820ee93df9865faa0
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Mon Oct 12 00:51:02 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 10:46:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a85e05

games-engines/openmw: restrict double-precisionness of bullet

For 0.46.0, require no double precision.
For 9999, require double precision instead.

Upstream references:
https://github.com/OpenMW/openmw/pull/2049
https://github.com/OpenMW/openmw/pull/2848

Closes: https://bugs.gentoo.org/747898
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17896
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 games-engines/openmw/openmw-0.46.0.ebuild | 2 +-
 games-engines/openmw/openmw-9999.ebuild   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-engines/openmw/openmw-0.46.0.ebuild 
b/games-engines/openmw/openmw-0.46.0.ebuild
index abb4174bc5f..5de3fb3d92a 100644
--- a/games-engines/openmw/openmw-0.46.0.ebuild
+++ b/games-engines/openmw/openmw-0.46.0.ebuild
@@ -36,7 +36,7 @@ RDEPEND="
        media-libs/libsdl2[joystick,opengl,video]
        media-libs/openal
        media-video/ffmpeg:=
-       >=sci-physics/bullet-2.86:=
+       >=sci-physics/bullet-2.86:=[-double-precision]
        virtual/opengl
        osg-fork? ( 
dev-games/openscenegraph-openmw:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib] )
        !osg-fork? ( 
>=dev-games/openscenegraph-3.5.5:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib] )

diff --git a/games-engines/openmw/openmw-9999.ebuild 
b/games-engines/openmw/openmw-9999.ebuild
index 1183e5459a1..70603fec46a 100644
--- a/games-engines/openmw/openmw-9999.ebuild
+++ b/games-engines/openmw/openmw-9999.ebuild
@@ -33,7 +33,7 @@ RDEPEND="
        media-libs/libsdl2[joystick,opengl,video]
        media-libs/openal
        media-video/ffmpeg:=
-       >=sci-physics/bullet-2.86:=
+       >=sci-physics/bullet-2.86:=[double-precision]
        virtual/opengl
        osg-fork? ( 
dev-games/openscenegraph-openmw:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib] )
        !osg-fork? ( 
>=dev-games/openscenegraph-3.5.5:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib] )
@@ -96,6 +96,7 @@ src_configure() {
                -DMORROWIND_DATA_FILES="${EPREFIX}/usr/share/morrowind-data"
                -DUSE_SYSTEM_TINYXML=ON
                -DDESIRED_QT_VERSION=5
+               -DBULLET_USE_DOUBLES=ON
        )
 
        cmake_src_configure

Reply via email to