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>
This commit is contained in:
Foo Chuan Wei 2022-05-20 03:55:11 +00:00 committed by Ludovic Courtès
parent 02a0c1fad9
commit d6e4ed34a7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -705,7 +705,8 @@ (define-public dumb
(arguments (arguments
'(#:tests? #f ; no check target '(#:tests? #f ; no check target
#:configure-flags #:configure-flags
(list "-DBUILD_SHARED_LIBS=ON" (list "-DBUILD_ALLEGRO4=OFF"
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_EXAMPLES=OFF"))) "-DBUILD_EXAMPLES=OFF")))
(home-page "https://github.com/kode54/dumb") (home-page "https://github.com/kode54/dumb")
(synopsis "Module audio renderer library") (synopsis "Module audio renderer library")
@ -729,7 +730,7 @@ (define-public dumb-allegro4
(arguments (arguments
(substitute-keyword-arguments (package-arguments dumb) (substitute-keyword-arguments (package-arguments dumb)
((#:configure-flags flags) ((#:configure-flags flags)
`(cons "-DBUILD_ALLEGRO4=ON" ,flags)))) `(cons "-DBUILD_ALLEGRO4=ON" ,(delete "-DBUILD_ALLEGRO4=OFF" flags)))))
(inputs (inputs
(list allegro-4)))) (list allegro-4))))