summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-09-12 14:53:14 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-09-12 14:53:33 +0200
commitfb24a4d5b87fa77a42966938df5e9761c0991876 (patch)
tree7288eadda5c84805b67636000e461bbde55ad178 /gnu
parent5525aea7cf1444fe65dd96ce1d413c7f7331d67b (diff)
downloadguix-fb24a4d5b87fa77a42966938df5e9761c0991876.tar.gz
gnu: muse-sequencer: Enable more features.
* gnu/packages/music.scm (muse-sequencer)[arguments]: Add phase "fix-include"
to patch header file reference; remove obsolete ENABLE_LV2_SUPPLIED
configuration option; remove ENABLE_RTAUDIO=OFF.
[inputs]: Add lrdf, pulseaudio, rtaudio, and rubberband.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/music.scm17
1 files changed, 12 insertions, 5 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c62611fb06..95e010b3e2 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4175,9 +4175,7 @@ sample library.")
     (arguments
      `(#: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
+       (list "-DENABLE_INSTPATCH=OFF"  ; FIXME: not packaged
              "-DENABLE_VST_NATIVE=OFF"
              (string-append "-DCMAKE_EXE_LINKER_FLAGS="
                             "-Wl,-rpath="
@@ -4190,7 +4188,12 @@ sample library.")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'chdir
-           (lambda _ (chdir "muse3") #t)))))
+           (lambda _ (chdir "muse3") #t))
+         (add-after 'chdir 'fix-include
+           (lambda _
+             (substitute* "muse/driver/rtaudio.h"
+               (("rtaudio/RtAudio.h") "RtAudio.h"))
+             #t)))))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("lash" ,lash)
@@ -4203,10 +4206,14 @@ sample library.")
        ("sord" ,sord)
        ("libsndfile" ,libsndfile)
        ("libsamplerate" ,libsamplerate)
+       ("lrdf" ,lrdf)
        ("fluidsynth" ,fluidsynth)
        ("pcre" ,pcre)
+       ("pulseaudio" ,pulseaudio) ; required by rtaudio
        ("qtbase" ,qtbase)
-       ("qtsvg" ,qtsvg)))
+       ("qtsvg" ,qtsvg)
+       ("rtaudio" ,rtaudio)
+       ("rubberband" ,rubberband)))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("qttools" ,qttools)))