Subject: [PATCH 2/2] gnu: dpf-plugins: Add native-search-paths.

From: Sughosha <[email-masked]>
Date: Fri, 16 Jun 2023 14:46:42 +0000

>From a74eb4c58d45d30450ba8b70e4faddee52b37f13 Mon Sep 17 00:00:00 2001
Message-Id: <[email-masked]>
In-Reply-To: <[email-masked]>
References: <[email-masked]>
From: Sughosha <[email-masked]>
Date: Fri, 16 Jun 2023 16:39:21 +0200
Subject: [PATCH 2/2] gnu: dpf-plugins: Add native-search-paths.

* gnu/packages/music.scm (dpf-plugins): Add native-search-paths.
---
 gnu/packages/music.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c767da803f..3498cad887 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6372,6 +6372,25 @@ (define-public dpf-plugins
            liblo ; for dssi plugins
            jack-1 ; for standalone applications
            mesa))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "CLAP_PATH")
+            (files '("lib/clap")))
+           (search-path-specification
+            (variable "DSSI_PATH")
+            (files '("lib/dssi")))
+           (search-path-specification
+            (variable "LADSPA_PATH")
+            (files '("lib/ladspa")))
+           (search-path-specification
+            (variable "LV2_PATH")
+            (files '("lib/lv2")))
+           (search-path-specification
+            (variable "VST2_PATH")
+            (files '("lib/vst")))
+           (search-path-specification
+            (variable "VST3_PATH")
+            (files '("lib/vst3")))))
     (native-inputs
      (list pkg-config dssi lv2))
     (home-page "https://github.com/DISTRHO/DPF-Plugins")
-- 
2.40.1