[bug#74723,06/19] gnu: carla: Add native-search-paths.

Message ID e9691c7231f178e5dae325e379e9b84f00ea12e6.1733563475.git.sughosha@disroot.org
State New
Headers
Series gnu: lmms, carla: New features, fixes and updates. |

Commit Message

Sughosha Dec. 7, 2024, 12:20 p.m. UTC
  * gnu/packages/audio.scm (carla)[native-search-paths]: Add CLAP_PATH,
LADSPA_PATH, LV2_PATH, LXVST_PATH, VST2_PATH, VST3_PATH, SF1_PATH and SFZ_PATH
variables.

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

Patch

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index eaa482a5ff..e2aff58394 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5805,6 +5805,31 @@  (define-public carla
            guile-2.2))
     (native-inputs
      (list pkg-config))
+    (native-search-paths
+       (list (search-path-specification
+              (variable "CLAP_PATH")
+              (files '("lib/clap")))
+             (search-path-specification
+              (variable "LADSPA_PATH")
+              (files '("lib/ladspa")))
+             (search-path-specification
+              (variable "LV2_PATH")
+              (files '("lib/lv2")))
+             (search-path-specification
+              (variable "LXVST_PATH")
+              (files '("lib/lxvst")))
+             (search-path-specification
+              (variable "VST2_PATH")
+              (files '("lib/vst")))
+             (search-path-specification
+              (variable "VST3_PATH")
+              (files '("lib/vst3")))
+             (search-path-specification
+              (variable "SF2_PATH")
+              (files '("share/sf2")))
+             (search-path-specification
+              (variable "SFZ_PATH")
+              (files '("share/sfz")))))
     (home-page "https://kx.studio/Applications:Carla")
     (synopsis "Audio plugin host")
     (description "Carla is a modular audio plugin host, with features like