all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexandros Theodotou <alex@zrythm.org>
To: 40466@debbugs.gnu.org
Subject: [bug#40466] [PATCH 1/3] gnu: dragonfly-reverb: Use regex to install binaries.
Date: Mon, 06 Apr 2020 15:13:01 +0100	[thread overview]
Message-ID: <02b5034480922e71b498afc34753ed28d604a282.camel@zrythm.org> (raw)


[-- 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 --]

                 reply	other threads:[~2020-04-06 14:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02b5034480922e71b498afc34753ed28d604a282.camel@zrythm.org \
    --to=alex@zrythm.org \
    --cc=40466@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.