summary refs log tree commit diff
path: root/gnu/packages/music.scm
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2022-05-20 03:55:11 +0000
committerLudovic Courtès <ludo@gnu.org>2022-05-24 17:19:03 +0200
commitd6e4ed34a7fc4ac5c2c76ecaf3f097fa06fecac2 (patch)
tree969999ca1bee357d66511df1608c82f3e2695392 /gnu/packages/music.scm
parent02a0c1fad9086dae50572a1e9c1fc97296d55c07 (diff)
downloadguix-d6e4ed34a7fc4ac5c2c76ecaf3f097fa06fecac2.tar.gz
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>
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r--gnu/packages/music.scm5
1 files 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))))