Subject: [bug#42997] [PATCH 2/2] gnu: muse-sequencer: Add dependencies.

From: Vinicius Monego <[email-masked]>
Date: Sun, 23 Aug 2020 12:17:45 -0300

* gnu/packages/music.scm (muse-sequencer): Add dependencies.
[arguments]: Fix RtAudio include path.
[inputs]: Add glib, libinstpatch, lrdf, python, python-pyro4, rtaudio, rubberband.
---
 gnu/packages/music.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 7cc6d7b1ea..31aaa130e8 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4146,14 +4146,17 @@ sample library.")
      `(#:tests? #f ; there is no test target
        #:configure-flags
        (list "-DENABLE_LV2_SUPPLIED=OFF"
-             "-DENABLE_RTAUDIO=OFF"    ; FIXME: not packaged
-             "-DENABLE_INSTPATCH=OFF"  ; FIXME: not packaged
              "-DENABLE_VST_NATIVE=OFF"
              "-DCMAKE_BUILD_TYPE=Release")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'chdir
            (lambda _ (chdir "muse3")))
+         ;; Fix RtAudio include syntax.
+         (add-after 'chdir 'fix-rtaudio
+           (lambda _
+             (substitute* "muse/driver/rtaudio.h"
+               (("rtaudio/RtAudio.h") "RtAudio.h"))))
          ;; Fix validate-runpath stage.
          (add-before 'configure 'set-LDFLAGS
            (lambda* (#:key inputs outputs #:allow-other-keys)
@@ -4173,18 +4176,25 @@ sample library.")
      `(("alsa-lib" ,alsa-lib)
        ("dssi" ,dssi)
        ("fluidsynth" ,fluidsynth)
+       ("glib" ,glib)
        ("jack" ,jack-1)
        ("ladspa" ,ladspa)
        ("lash" ,lash)
+       ("libinstpatch" ,libinstpatch)
        ("liblo" ,liblo)
        ("libsamplerate" ,libsamplerate)
        ("libsndfile" ,libsndfile)
        ("lilv" ,lilv)
+       ("lrdf" ,lrdf)
        ("lv2" ,lv2)
        ("pcre" ,pcre)
        ("pulseaudio" ,pulseaudio)
+       ("python" ,python)
+       ("python-pyro4" ,python-pyro4)
        ("qtbase" ,qtbase)
        ("qtsvg" ,qtsvg)
+       ("rtaudio" ,rtaudio)
+       ("rubberband" ,rubberband)
        ("sord" ,sord)))
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.20.1