diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-10-04 23:46:56 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-10-05 01:36:22 +0200 |
commit | 365a9947386d9a18a4975c720c4cce2caa9f37de (patch) | |
tree | ce4c8f8c27cb6da52c60b95af9cd228a1e954e8c | |
parent | 226221df6fd93c29960b43243cf881c65e3baad5 (diff) | |
download | guix-365a9947386d9a18a4975c720c4cce2caa9f37de.tar.gz guix-365a9947386d9a18a4975c720c4cce2caa9f37de.zip |
gnu: dosbox-staging: Update to 0.77.1.
* gnu/packages/emulators.scm (dosbox-staging): Update to 0.77.1.
[build-system]: Switch to Meson.
[arguments]: Remove all old #:configure-flags. Disable unit_tests and mt32emu.
[native-inputs]: Remove autoconf & automake.
[inputs]: Add mesa.
-rw-r--r-- | gnu/packages/emulators.scm | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 84fb848b4f..77a45afe0b 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -47,10 +47,11 @@ #:use-module (gnu packages audio) #:use-module (gnu packages autogen) #:use-module (gnu packages autotools) + #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages boost) - #:use-module (gnu packages backup) + #:use-module (gnu packages build-tools) #:use-module (gnu packages cdrom) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -102,6 +103,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system python)) (define-public vice @@ -398,7 +400,7 @@ older games.") ;; This is not a patch staging area for DOSBox, but an unaffiliated fork. (package (name "dosbox-staging") - (version "0.76.0") + (version "0.77.1") (source (origin (method git-fetch) @@ -407,34 +409,20 @@ older games.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "14zlkm9qmaq2x4zdiadczsxvdnrf35w13ccvkxzd8cwrzxv84fvd")))) - (build-system gnu-build-system) + (base32 "07jwmmm1bhfxavlhl854cj8l5iy5hqx5hpwkkjbcwqg7yh9jfs2x")))) + (build-system meson-build-system) (arguments - `(#:configure-flags - (let* ((flags (list "-O3" - ;; From scripts/automator/build/gcc-defaults. - "-fstrict-aliasing" - "-fno-signed-zeros" - "-fno-trapping-math" - "-fassociative-math" - "-frename-registers" - "-ffunction-sections" - "-fdata-sections")) - (CFLAGS (string-join flags " "))) - ;; Several files #include <SDL_net.h> instead of <SDL2/SDL_net.h>, - ;; including configure.ac itself. - (list (string-append "CPPFLAGS=-I" (assoc-ref %build-inputs "sdl2") - "/include/SDL2") - (string-append "CFLAGS=" CFLAGS) - (string-append "CXXFLAGS=-DNDEBUG " CFLAGS))))) + `(#:meson ,meson-0.55 #:configure-flags + ;; These both try to git clone subprojects. + (list "-Dunit_tests=disabled" ; gtest + "-Duse_mt32emu=false"))) ; mt32emu (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config))) (inputs `(("alsa-lib" ,alsa-lib) ("fluidsynth" ,fluidsynth) ("libpng" ,libpng) + ("mesa" ,mesa) ("opusfile" ,opusfile) ("sdl2" ,(sdl-union (list sdl2 sdl2-net))) ("zlib" ,zlib))) |