[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: ir: Fix build.
From: |
guix-commits |
Subject: |
03/03: gnu: ir: Fix build. |
Date: |
Sat, 26 Dec 2020 18:18:21 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 63ebc380a8ae2997113a6df3b6f6d9ec706a289f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 27 00:14:46 2020 +0100
gnu: ir: Fix build.
* gnu/packages/audio.scm (ir)[arguments]: Add phase "fix-type".
---
gnu/packages/audio.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 820b75b..1d2943f 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1942,8 +1942,15 @@ well suited to all musical instruments and vocals.")
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "INSTDIR="
(assoc-ref %outputs "out") "/lib/lv2"))
- #:phases (modify-phases %standard-phases
- (delete 'configure)))) ; no configure script
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ ;; See https://github.com/tomszilagyi/ir.lv2/pull/20
+ (add-after 'unpack 'fix-type
+ (lambda _
+ (substitute* '("ir_gui.cc" "lv2_ui.h")
+ (("_LV2UI_Descriptor") "LV2UI_Descriptor"))
+ #t)))))
(inputs
`(("libsndfile" ,libsndfile)
("libsamplerate" ,libsamplerate)