guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: sdl2-mixer: Fix configure flags.


From: guix-commits
Subject: 03/05: gnu: sdl2-mixer: Fix configure flags.
Date: Sun, 5 Jan 2020 07:23:42 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit 64941afcf980b0c36fbd05bb6d4bc9ebeadb5b08
Author: Timotej Lazar <address@hidden>
Date:   Sun Jan 5 11:45:49 2020 +0100

    gnu: sdl2-mixer: Fix configure flags.
    
    Some configure options were renamed between SDL / SDL2 mixer; add new 
variants
    to the derived package.
    
    * gnu/packages/sdl.scm (sdl2-mixer)[arguments]: Fix flags to disable dynamic
      library loading.
    
    Signed-off-by: Danny Milosavljevic <address@hidden>
---
 gnu/packages/sdl.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 92d8f9a..d441040 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -415,6 +415,15 @@ directory.")
                    #t))
        (sha256
         (base32 "0694vsz5bjkcdgfdra6x9fq8vpzrl8m6q96gh58df7065hw5mkxl"))))
+    (arguments
+      (substitute-keyword-arguments (package-arguments sdl-mixer)
+         ((#:configure-flags flags)
+          `(cons*
+            ;; These options were renamed in SDL2 mixer. Keeping the inherited
+            ;; variants produces a harmless warning.
+            "--disable-music-mod-modplug-shared"
+            "--disable-music-midi-fluidsynth-shared"
+            ,flags))))
     (inputs
      ;; The default MOD library changed in SDL2 mixer.
      `(("libmodplug" ,libmodplug)



reply via email to

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