diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index ca058638f2..f2f5289dba 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -44,7 +44,7 @@ ;;; Copyright © 2021 Simon Streit ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Thomas Albers Raviola -;;; Copyright © 2022 Sughosha +;;; Copyright © 2022, 2023 Sughosha ;;; Copyright © 2022 Remco van 't Veer ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Wamm K. D. @@ -3566,44 +3566,53 @@ (define-public synthpod (source (origin (method git-fetch) (uri (git-reference - (url "https://git.open-music-kontrollers.ch/lv2/synthpod") - ;; Version is not tagged but mentioned in VERSION file. - (commit "6e84a075ea8fea95094dcbc2b30f968717a81960"))) + (url "https://git.open-music-kontrollers.ch/lv2/synthpod") + ;; Version is not tagged but mentioned in VERSION file. + (commit "6e84a075ea8fea95094dcbc2b30f968717a81960"))) (file-name (git-file-name name version)) (sha256 - (base32 - "1chazkdxjgjzfxqmlk4ywhilkj9l3bybd9xghjg9r67df2diqhbs")))) + (base32 + "1chazkdxjgjzfxqmlk4ywhilkj9l3bybd9xghjg9r67df2diqhbs")))) (build-system meson-build-system) (arguments (list #:phases #~(modify-phases %standard-phases - (add-before 'check 'fix-home-directory + (add-after 'unpack 'patch-references + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("bin/synthpod_ui" + "bin/synthpod_d2tk") + (("lv2info") (search-input-file inputs "/bin/lv2info")) + ((" synthpod_sandbox_x11") + (string-append " " #$output "/bin/synthpod_sandbox_x11"))))) + (add-before 'check 'set-home-directory (lambda _ ;; Tests fail with: Fontconfig error: No writable cache ;; directories (setenv "HOME" "/tmp")))))) - (propagated-inputs (list lilv)) ;required for lv2info - (inputs (list alsa-lib - cairo - eudev - freetype - font-fira-code - font-fira-sans - fontconfig - glew - glu - jack-1 - libevdev - libinput - libvterm - lv2 - pixman - sratom - xcb-util - xcb-util-wm - xcb-util-xrm - zita-alsa-pcmi)) + (inputs + (list alsa-lib + cairo + eudev + freetype + font-fira-code + font-fira-sans + fontconfig + glew + glu + grep + jack-2 + libevdev + libinput + libvterm + lilv ;for lv2info + lv2 + pixman + sratom + xcb-util + xcb-util-wm + xcb-util-xrm + zita-alsa-pcmi)) (native-inputs (list pkg-config)) (home-page "https://open-music-kontrollers.ch/lv2/synthpod/") (synopsis "Nonlinear LV2 plugin container")