gnu: lmms: Fix build.

Fixes guix/guix#1802

* gnu/packages/music.scm (lmms) [arguments] <phases>: Add
'fix-carla-export.

Change-Id: I763418c78068388c76066a62b7bf9277afe3a355
This commit is contained in:
Sharlatan Hellseher 2025-08-07 11:08:42 +01:00
parent 659d44ce19
commit e3a90b8150
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5247,6 +5247,12 @@ and more. Full API documentation and examples are included.")
#:configure-flags '(list "-DWANT_QT5=ON" "-DWANT_VST=OFF")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-carla-export
;; Taken from NixOS package definition.
(lambda _
(substitute* "plugins/carlabase/carla.h"
(("CARLA_EXPORT")
"CARLA_API_EXPORT"))))
(add-after 'unpack 'unpack-rpmalloc
(lambda* (#:key inputs #:allow-other-keys)
(copy-recursively (assoc-ref inputs "rpmalloc")