guix-commits
[Top][All Lists]
Advanced

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

11/12: gnu: dumb: Fix build.


From: guix-commits
Subject: 11/12: gnu: dumb: Fix build.
Date: Tue, 24 May 2022 11:21:53 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d6e4ed34a7fc4ac5c2c76ecaf3f097fa06fecac2
Author: Foo Chuan Wei <chuanwei.foo@hotmail.com>
AuthorDate: Fri May 20 03:55:11 2022 +0000

    gnu: dumb: Fix build.
    
    * gnu/packages/music.scm (dumb, dumb-allegro4): Fix failing build of "dumb"
      caused by missing allegro-4 dependency.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/music.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 2a9fdb9cdb..b224a145d5 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -705,7 +705,8 @@ background while you work.")
     (arguments
      '(#:tests? #f ; no check target
        #:configure-flags
-       (list "-DBUILD_SHARED_LIBS=ON"
+       (list "-DBUILD_ALLEGRO4=OFF"
+             "-DBUILD_SHARED_LIBS=ON"
              "-DBUILD_EXAMPLES=OFF")))
     (home-page "https://github.com/kode54/dumb";)
     (synopsis "Module audio renderer library")
@@ -729,7 +730,7 @@ settings (aliasing, linear interpolation and cubic 
interpolation).")
     (arguments
      (substitute-keyword-arguments (package-arguments dumb)
        ((#:configure-flags flags)
-        `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
+        `(cons "-DBUILD_ALLEGRO4=ON" ,(delete "-DBUILD_ALLEGRO4=OFF" flags)))))
     (inputs
      (list allegro-4))))
 



reply via email to

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