[PATCH 1/3] gnu: dragonfly-reverb: Use regex to install binaries.

DoneSubmitted by Alexandros Theodotou.
Details
2 participants
  • Alexandros Theodotou
  • Leo Famulari
Owner
unassigned
Severity
normal
Merged with
A
A
Alexandros Theodotou wrote on 6 Apr 2020 16:13
(name . Guix patches)(address . guix-patches@gnu.org)
02b5034480922e71b498afc34753ed28d604a282.camel@zrythm.org
Hi,

This is done so the build configuration can be inherited (see patch
3/3).

Thanks,
Alex
From 2ffc1efc3b25d41fe40a962b97a721eacb9d6050 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Mon, 6 Apr 2020 14:58:22 +0100
Subject: [PATCH 1/3] gnu: dragonfly-reverb: Use regex to install binaries.

* gnu/packages/music.scm (dragonfly-reverb): Use regex for
installing binaries.
---
gnu/packages/music.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index ee402bad4d..2db102c1fe 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5246,8 +5246,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)))
-- 
2.26.0
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEESBMjhK0999huJUuDAi6uQjE9cPMFAl6LOO0ACgkQAi6uQjE9
cPMY7Af+NmNkH4meGo/tfdfsxehY/8EX8g07k0xK/RcBlkFEXSMBGGKbyJDAg8+Y
4cF6H4b1IEqcirdGOUNLkOceJPoSCN3EwIxoOFSBPpuAbms1vJsoqajDQSd0Lvh8
mjvS+e8MscUpObq7MNoZRur2JwBOGy9ULIEdBGpKtlUPePZ1a7PXE4/2Q+1CjNzq
gSglZFcm9/QeyTMNXkAUpputlOFhcEA0XtRPdgl60389BPkkFaipOWHioQGqFlEU
SR8mv43fnqG3KFanaHjMhmIo2CbLF3Ot/zx5TQgIMrWTiVKd6Ezs/7sj1ORmKNjy
NU4Y9rPUG3LfolcfsIuwM1NNOEYNXA==
=iRWH
-----END PGP SIGNATURE-----


L
L
Leo Famulari wrote on 7 Apr 2020 22:09
(no subject)
(address . control@debbugs.gnu.org)
20200407200941.GA26185@jasmine.lan
merge 40466 40467 40468
?
Your comment

This issue is archived.

To comment on this conversation send email to 40466@debbugs.gnu.org