mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: stargate: Fix locating portmidi.
* gnu/packages/music.scm (stargate)[inputs]: Replace portmidi with portmidi-2. [arguments]<#:phases>: Replace patch-portaudio-path with patch-portaudio-and-portmidi-paths. Change-Id: Icd5dbe154d2f8cdb9a18006b03ce74ea73d328d4
This commit is contained in:
@@ -5343,13 +5343,16 @@ can receive input from a MIDI keyboard.")
|
||||
(string-append "CXX=" #$(cxx-for-target)))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-portaudio-path
|
||||
(add-after 'unpack 'patch-portaudio-and-portmidi-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "src/sgui/widgets/hardware_dialog.py"
|
||||
(("\\\"libportaudio")
|
||||
(string-append "\"" (assoc-ref inputs "portaudio")
|
||||
"/lib/libportaudio")))))
|
||||
(add-after 'patch-portaudio-path 'change-directory
|
||||
"/lib/libportaudio"))
|
||||
(("'libportmidi")
|
||||
(string-append "'" (assoc-ref inputs "portmidi")
|
||||
"/lib/libportmidi")))))
|
||||
(add-after 'patch-portaudio-and-portmidi-paths 'change-directory
|
||||
(lambda _
|
||||
(chdir "src")))
|
||||
(delete 'configure) ;no configure script
|
||||
@@ -5396,7 +5399,7 @@ can receive input from a MIDI keyboard.")
|
||||
jq
|
||||
libsndfile
|
||||
portaudio
|
||||
portmidi
|
||||
portmidi-2
|
||||
python
|
||||
python-jinja2
|
||||
python-mido
|
||||
|
||||
Reference in New Issue
Block a user