guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#52953] [PATCH 2/3] gnu: Add bullet-double-precision.


From: Felix Gruber
Subject: [bug#52953] [PATCH 2/3] gnu: Add bullet-double-precision.
Date: Sun, 2 Jan 2022 16:02:49 +0000

This is a variant of bullet built with a configure flag for double
precision arithmetics required by openmw 0.47.

* gnu/packages/game-development.scm (bullet-double-precision): New
  variable.
---
 gnu/packages/game-development.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index 1f7d05f61c..c19875fb2f 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -172,6 +172,16 @@
 is used in some video games and movies.")
     (license license:zlib)))
 
+(define-public bullet-double-precision
+  (package
+    (inherit bullet)
+    (arguments
+     (substitute-keyword-arguments (package-arguments bullet)
+       ((#:configure-flags cf)
+        `(cons "-DUSE_DOUBLE_PRECISION=ON" ,cf))))
+    (synopsis (string-append (package-synopsis bullet)
+                             " (with double precision)"))))
+
 (define-public deutex
   (package
    (name "deutex")
-- 
2.30.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]