From d6e4ed34a7fc4ac5c2c76ecaf3f097fa06fecac2 Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Fri, 20 May 2022 03:55:11 +0000 Subject: [PATCH] gnu: dumb: Fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/music.scm (dumb, dumb-allegro4): Fix failing build of "dumb" caused by missing allegro-4 dependency. Signed-off-by: Ludovic Courtès --- 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))))