gnu: ir: Fix build.
* gnu/packages/audio.scm (ir)[arguments]: Add phase "fix-type".master
parent
3d5806ed6c
commit
63ebc380a8
|
@ -1942,8 +1942,15 @@ well suited to all musical instruments and vocals.")
|
||||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
(string-append "INSTDIR="
|
(string-append "INSTDIR="
|
||||||
(assoc-ref %outputs "out") "/lib/lv2"))
|
(assoc-ref %outputs "out") "/lib/lv2"))
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases
|
||||||
(delete 'configure)))) ; no configure script
|
(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
|
(inputs
|
||||||
`(("libsndfile" ,libsndfile)
|
`(("libsndfile" ,libsndfile)
|
||||||
("libsamplerate" ,libsamplerate)
|
("libsamplerate" ,libsamplerate)
|
||||||
|
|
Reference in New Issue