[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74724] [PATCH 1/2] gnu: stargate: Fix finding portmidi.
From: |
Sughosha |
Subject: |
[bug#74724] [PATCH 1/2] gnu: stargate: Fix finding portmidi. |
Date: |
Sat, 7 Dec 2024 17:51:37 +0530 |
* 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
---
gnu/packages/music.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index cd9cdbdacd..c7f5063107 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5282,13 +5282,16 @@ (define-public stargate
(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
@@ -5335,7 +5338,7 @@ (define-public stargate
jq
libsndfile
portaudio
- portmidi
+ portmidi-2
python
python-jinja2
python-mido
--
2.46.0