unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40466] [PATCH 1/3] gnu: dragonfly-reverb: Use regex to install binaries.
@ 2020-04-06 14:13 Alexandros Theodotou
  0 siblings, 0 replies; only message in thread
From: Alexandros Theodotou @ 2020-04-06 14:13 UTC (permalink / raw)
  To: 40466


[-- Attachment #1.1: Type: text/plain, Size: 100 bytes --]

Hi,

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

Thanks,
Alex

[-- Attachment #1.2: 0001-gnu-dragonfly-reverb-Use-regex-to-install-binaries.patch --]
[-- Type: text/x-patch, Size: 1469 bytes --]

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(-)

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


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-06 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 14:13 [bug#40466] [PATCH 1/3] gnu: dragonfly-reverb: Use regex to install binaries Alexandros Theodotou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).