summary refs log tree commit diff
path: root/gnu/packages/audio.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-05-25 09:17:37 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-05-25 09:17:37 +0300
commit03eb0b1be2cfedd0d9a66fef0edc53a17f7653a5 (patch)
tree487fb2c3a86b8b5ca73c0d29a46dd93854b98eea /gnu/packages/audio.scm
parenta0b31909f482c7a3d1ee8f7f1a3595a33db38a92 (diff)
downloadguix-03eb0b1be2cfedd0d9a66fef0edc53a17f7653a5.tar.gz
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.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r--gnu/packages/audio.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 2afb37175d..f0858d25d7 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1041,6 +1041,12 @@ generators of mostly elementary and occasionally exotic nature.")
            (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)