1 |
commit: 50a85e0526588898a5fc124820ee93df9865faa0 |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Mon Oct 12 00:51:02 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 13 10:46:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a85e05 |
7 |
|
8 |
games-engines/openmw: restrict double-precisionness of bullet |
9 |
|
10 |
For 0.46.0, require no double precision. |
11 |
For 9999, require double precision instead. |
12 |
|
13 |
Upstream references: |
14 |
https://github.com/OpenMW/openmw/pull/2049 |
15 |
https://github.com/OpenMW/openmw/pull/2848 |
16 |
|
17 |
Closes: https://bugs.gentoo.org/747898 |
18 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
19 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
20 |
Closes: https://github.com/gentoo/gentoo/pull/17896 |
21 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
22 |
|
23 |
games-engines/openmw/openmw-0.46.0.ebuild | 2 +- |
24 |
games-engines/openmw/openmw-9999.ebuild | 3 ++- |
25 |
2 files changed, 3 insertions(+), 2 deletions(-) |
26 |
|
27 |
diff --git a/games-engines/openmw/openmw-0.46.0.ebuild b/games-engines/openmw/openmw-0.46.0.ebuild |
28 |
index abb4174bc5f..5de3fb3d92a 100644 |
29 |
--- a/games-engines/openmw/openmw-0.46.0.ebuild |
30 |
+++ b/games-engines/openmw/openmw-0.46.0.ebuild |
31 |
@@ -36,7 +36,7 @@ RDEPEND=" |
32 |
media-libs/libsdl2[joystick,opengl,video] |
33 |
media-libs/openal |
34 |
media-video/ffmpeg:= |
35 |
- >=sci-physics/bullet-2.86:= |
36 |
+ >=sci-physics/bullet-2.86:=[-double-precision] |
37 |
virtual/opengl |
38 |
osg-fork? ( dev-games/openscenegraph-openmw:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib] ) |
39 |
!osg-fork? ( >=dev-games/openscenegraph-3.5.5:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib] ) |
40 |
|
41 |
diff --git a/games-engines/openmw/openmw-9999.ebuild b/games-engines/openmw/openmw-9999.ebuild |
42 |
index 1183e5459a1..70603fec46a 100644 |
43 |
--- a/games-engines/openmw/openmw-9999.ebuild |
44 |
+++ b/games-engines/openmw/openmw-9999.ebuild |
45 |
@@ -33,7 +33,7 @@ RDEPEND=" |
46 |
media-libs/libsdl2[joystick,opengl,video] |
47 |
media-libs/openal |
48 |
media-video/ffmpeg:= |
49 |
- >=sci-physics/bullet-2.86:= |
50 |
+ >=sci-physics/bullet-2.86:=[double-precision] |
51 |
virtual/opengl |
52 |
osg-fork? ( dev-games/openscenegraph-openmw:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib] ) |
53 |
!osg-fork? ( >=dev-games/openscenegraph-3.5.5:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib] ) |
54 |
@@ -96,6 +96,7 @@ src_configure() { |
55 |
-DMORROWIND_DATA_FILES="${EPREFIX}/usr/share/morrowind-data" |
56 |
-DUSE_SYSTEM_TINYXML=ON |
57 |
-DDESIRED_QT_VERSION=5 |
58 |
+ -DBULLET_USE_DOUBLES=ON |
59 |
) |
60 |
|
61 |
cmake_src_configure |