guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: dragonfly-reverb: Use regex to install bin.


From: guix-commits
Subject: 02/05: gnu: dragonfly-reverb: Use regex to install bin.
Date: Sun, 12 Jul 2020 14:36:01 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit ad020ee2a8aa95f2578a5305b5d0b84cb15d3629
Author: Alexandros Theodotou <alex@zrythm.org>
AuthorDate: Wed Jul 8 21:06:09 2020 +0100

    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>
---
 gnu/packages/music.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 4c1e16d..0e5ca65 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -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)))



reply via email to

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