summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-06-03 22:17:12 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-06-03 22:17:12 +0400
commit154e3f8149f957fde2986bdaec773b26b8b607fb (patch)
tree7732bfbe81cd6ca93b34762154c50fb249e60dc7
parent394cf8f71aef45ad2529fa889690d76cbe2fbbb1 (diff)
gnu: Add dosbox-staging/old-cpu.
* rodion/packages/games.scm (dosbox-staging/old-cpu): New variable.
-rw-r--r--rodion/packages/games.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/rodion/packages/games.scm b/rodion/packages/games.scm
index e81fe26..08f353f 100644
--- a/rodion/packages/games.scm
+++ b/rodion/packages/games.scm
@@ -5,6 +5,7 @@
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (gnu packages sdl)
+ #:use-module (gnu packages emulators)
#:use-module (gnu packages compression)
#:use-module ((guix licenses) #:prefix license:))
@@ -101,3 +102,18 @@ Filename patterns are composed of regular (printable) characters which may compr
(license license:expat)
(description "Fallout")
(synopsis "Fallout")))
+
+;; Build with the old CPU support
+(define-public dosbox-staging/old-cpu
+ (package
+ (inherit dosbox-staging)
+ (name "dosbox-staging-old-cpu")
+ (arguments
+ (list #:configure-flags
+ #~(list
+ "-Duse_zlib_ng=sse2,ssse3"
+ ;; These both try to git clone subprojects.
+ "-Dunit_tests=disabled" ; gtest
+ "-Duse_mt32emu=false")))))
+
+