Subject: [bug#74020] [PATCH] gnu: yoshimi: Fix build.

From: Giacomo Leidi <[email-masked]>
Date: Fri, 25 Oct 2024 23:35:47 +0200

yoshimi was failing because it was trying to create a directory inside
the lv2 store tree.

* gnu/packages/music.scm (yoshimi)[arguments]<configure-flags>:
Explicitly set LV2_INSTALL_DIR.

Change-Id: I697ba879e8633bee99fdfad1e876beca33d114f8
---
 gnu/packages/music.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 548836abeb..2f1b446504 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -27,7 +27,7 @@
 ;;; Copyright © 2019, 2020, 2021 Alexandros Theodotou <[email-masked]>
 ;;; Copyright © 2020 Vincent Legoll <[email-masked]>
 ;;; Copyright © 2020 Lars-Dominik Braun <[email-masked]>
-;;; Copyright © 2020 Giacomo Leidi <[email-masked]>
+;;; Copyright © 2020, 2024 Giacomo Leidi <[email-masked]>
 ;;; Copyright © 2020, 2022, 2023 Michael Rohleder <[email-masked]>
 ;;; Copyright © 2020 Tanguy Le Carrour <[email-masked]>
 ;;; Copyright © 2020, 2022 Marius Bakke <[email-masked]>
@@ -3461,7 +3461,9 @@ (define-public yoshimi
      (list
       #:tests? #f                       ; there are no tests
       #:configure-flags
-      #~(list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
+      #~(list (string-append "-DLV2_INSTALL_DIR="
+                             #$output "/lib/lv2")
+              (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
                              #$output "/share"))
       #:phases
       #~(modify-phases %standard-phases

base-commit: a1714de3aa4f60d211c166876c3515f96384b0c7
-- 
2.46.0