From 50a85e0526588898a5fc124820ee93df9865faa0 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Mon, 12 Oct 2020 01:51:02 +0100 Subject: 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 Closes: https://github.com/gentoo/gentoo/pull/17896 Signed-off-by: Joonas Niilola --- games-engines/openmw/openmw-0.46.0.ebuild | 2 +- games-engines/openmw/openmw-9999.ebuild | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'games-engines') 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 -- cgit v1.2.3