gnu: dragonfly-reverb: Use regex to install bin.

* gnu/packages/music.scm (dragonfly-reverb)[arguments]: Use regex to
  install the binaries.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Alexandros Theodotou 2020-07-08 21:06:09 +01:00 committed by Efraim Flashner
parent f2096c7aa9
commit ad020ee2a8
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -5295,8 +5295,15 @@ plugin support, JACK support and chord assistance.")
(string-append lv2 "/" (basename file))))
(find-files "bin" "\\.lv2$" #:directories? #t))
;; Install executables.
(install-file "bin/DragonflyRoomReverb" bin)
(install-file "bin/DragonflyHallReverb" bin)
(for-each
(lambda (file)
(install-file file bin))
(find-files "bin"
(lambda (name stat)
(and
(equal? (dirname name) "bin")
(not (string-suffix? ".so" name))
(not (string-suffix? ".lv2" name))))))
#t))))))
(native-inputs
`(("pkg-config" ,pkg-config)))