guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74723] [PATCH 01/19] gnu: lmms: Fix building carla plugins.


From: Sughosha
Subject: [bug#74723] [PATCH 01/19] gnu: lmms: Fix building carla plugins.
Date: Sat, 7 Dec 2024 17:50:15 +0530

* gnu/packages/music.scm (lmms)[source]: Add snippet to fix including carla
headers.

Change-Id: I22a33e889b49567dc71d21f5e5893341564afbf5
---
 gnu/packages/music.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index cd9cdbdacd..b72e607a25 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5170,7 +5170,16 @@ (define-public lmms
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "11xgf461cnmq0jkgdgx5bddi87ammpik4whg1m4fcvd3i0d5i601"))))
+         "11xgf461cnmq0jkgdgx5bddi87ammpik4whg1m4fcvd3i0d5i601"))
+       (modules '((guix build utils)))
+       ;; Include carla headers from the system.
+       (snippet
+        '(substitute* "plugins/carlabase/carla.h"
+           (("\"CarlaNativePlugin\\.h\"")
+            "<carla/includes/CarlaNativePlugin.h>")
+           (("\"CarlaBackend\\.h\"") "<carla/CarlaBackend.h>")
+           (("\"CarlaNative\\.h\"") "<carla/includes/CarlaNative.h>")
+           (("\"CarlaUtils\\.h\"") "<carla/CarlaUtils.h>")))))
     (build-system cmake-build-system)
     (arguments
      (list
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]