Subject: [PATCH core-updates 3/4] gnu: lv2: Hard-code path for sord_validate

From: Parnikkapore <[email-masked]>
Date: Sun, 21 Apr 2024 01:02:49 +0200

Change-Id: I29323db7133a17fdf11c37db4df10f4ddce9e8b7
---
 gnu/packages/audio.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e3a6c692d2..532c835b20 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3146,6 +3146,15 @@ (define-public lv2
               (base32
                "0gwm63jrvg9lww0rl3sjkgbjwfz0vascpb19cfxmhkmm477ipibq"))))
     (build-system meson-build-system)
+    (arguments
+      (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'patch
+              (lambda _
+                (substitute* "util/lv2_validate.in"
+                  (("sord_validate")
+                   #$(file-append sord "/bin/sord_validate"))))))))
     (inputs
      ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
      (list libsndfile))
-- 
2.41.0