summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-09-12 08:42:49 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-09-12 14:53:33 +0200
commit5525aea7cf1444fe65dd96ce1d413c7f7331d67b (patch)
treebb34acdf0f75b5513b909ea4655f40951578218e /gnu
parent61e7fa07c8b3d173e9cf17a40bd369b72144fd49 (diff)
downloadguix-5525aea7cf1444fe65dd96ce1d413c7f7331d67b.tar.gz
gnu: muse-sequencer: Update to 3.1.1.
* gnu/packages/music.scm (muse-sequencer): Update to 3.1.1.
[arguments]: Set CMAKE_EXE_LINKER_FLAGS and CMAKE_SHARED_LINKER_FLAGS; end
"chdir" phase with #T.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/music.scm16
1 files changed, 12 insertions, 4 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 35d75d274a..c62611fb06 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4158,7 +4158,7 @@ sample library.")
 (define-public muse-sequencer
   (package
     (name "muse-sequencer")
-    (version "3.0.0")
+    (version "3.1.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -4170,7 +4170,7 @@ sample library.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1nninz8qyqlxxjdnrm79y3gr3056pga9l2fsqh674jd3cjvafya3"))))
+                "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f ; there is no test target
@@ -4178,11 +4178,19 @@ sample library.")
        (list "-DENABLE_LV2_SUPPLIED=OFF"
              "-DENABLE_RTAUDIO=OFF"    ; FIXME: not packaged
              "-DENABLE_INSTPATCH=OFF"  ; FIXME: not packaged
-             "-DENABLE_VST_NATIVE=OFF")
+             "-DENABLE_VST_NATIVE=OFF"
+             (string-append "-DCMAKE_EXE_LINKER_FLAGS="
+                            "-Wl,-rpath="
+                            (assoc-ref %outputs "out") "/lib/muse-"
+                            ,(version-major+minor version) "/modules")
+             (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
+                            "-Wl,-rpath="
+                            (assoc-ref %outputs "out") "/lib/muse-"
+                            ,(version-major+minor version) "/modules"))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'chdir
-           (lambda _ (chdir "muse3"))))))
+           (lambda _ (chdir "muse3") #t)))))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("lash" ,lash)