[LV2] [PATCH - Provide lv2_util.h 1/1] Deploy lv2_util.h also for external lv2 plugins

twischer at de.adit-jv.com twischer at de.adit-jv.com
Wed Apr 11 23:48:13 PDT 2018


From: Timo Wischer <twischer at de.adit-jv.com>

Without this change the lv2_util header file is not part of the lv2
package nor of the lv2-dev package. Therefore external Lv2 plugins could
not use it.

Signed-off-by: Timo Wischer <twischer at de.adit-jv.com>

diff --git a/wscript b/wscript
index 7236286..fc5c4cd 100644
--- a/wscript
+++ b/wscript
@@ -260,6 +260,12 @@ def build(bld):
         source = bld.path.find_node(lv2_h_path),
         target = bld.path.get_bld().make_node(lv2_h_path))
 
+    # Copy lv2_util.h to URI-style include path in build directory
+    lv2_util_h_path = 'lv2/lv2plug.in/ns/lv2core/lv2_util.h'
+    bld(rule   = link,
+        source = bld.path.find_node(lv2_util_h_path),
+        target = bld.path.get_bld().make_node(lv2_util_h_path))
+
     # LV2 pkgconfig file
     bld(features     = 'subst',
         source       = 'lv2.pc.in',
-- 
2.7.4



More information about the Devel mailing list