[bug#74723,01/19] gnu: lmms: Fix building carla plugins.
Commit Message
* 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(-)
@@ -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