gnu: infamous-plugins: Fix build.

Reported by Thorsten Wilms <t_w_@freenet.de>.
Fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48588>

* gnu/packages/audio.scm (infamous-plugins)[arguments]: Add phase to
restore compatibility with packaged lv2.
This commit is contained in:
Efraim Flashner 2021-05-25 09:17:37 +03:00
parent a0b31909f4
commit 03eb0b1be2
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1041,6 +1041,12 @@ (define-public infamous-plugins
(lambda _
(substitute* (find-files "." "CMakeLists.txt")
(("-msse2 -mfpmath=sse") ""))
#t))
(add-after 'unpack 'fix-build-with-newer-lv2
(lambda _
;; https://github.com/ssj71/infamousPlugins/commit/4c7275b1fa8ea3296446421cbd29ec2df66588c0
(substitute* (find-files "src" ".*\\.cxx")
(("_LV2UI_Descriptor") "LV2UI_Descriptor"))
#t)))))
(inputs
`(("cairo" ,cairo)