summaryrefslogtreecommitdiff
path: root/repo/ladspa
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
commit2e4eddedb755f0c0f88450b1fc1d8b0830132a71 (patch)
treeedb0ddeb32913bfbfb0a99c3c43e75f3a2f13d8d /repo/ladspa
parent66c326b6d65388e9f1003715ad9675505f01f9d2 (diff)
added ardour
Diffstat (limited to 'repo/ladspa')
-rw-r--r--repo/ladspa/fix-memleak-in-plugin-scanning.patch11
-rw-r--r--repo/ladspa/ladspa.xibuild32
2 files changed, 43 insertions, 0 deletions
diff --git a/repo/ladspa/fix-memleak-in-plugin-scanning.patch b/repo/ladspa/fix-memleak-in-plugin-scanning.patch
new file mode 100644
index 0000000..bc8ef7c
--- /dev/null
+++ b/repo/ladspa/fix-memleak-in-plugin-scanning.patch
@@ -0,0 +1,11 @@
+--- ./search.c.orig 2008-11-07 00:38:18.000000000 +0100
++++ ./search.c 2008-11-07 00:50:51.000000000 +0100
+@@ -83,6 +83,8 @@
+ dlclose(pcFilename);
+ free(pcFilename);
+ }
++ } else {
++ free(pcFilename);
+ }
+ }
+ }
diff --git a/repo/ladspa/ladspa.xibuild b/repo/ladspa/ladspa.xibuild
new file mode 100644
index 0000000..261cd9e
--- /dev/null
+++ b/repo/ladspa/ladspa.xibuild
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+NAME="ladspa"
+DESC="Linux Audio Developer's Simple Plug-in API, examples and tools"
+
+MAKEDEPS=" libsndfile"
+
+PKG_VER=1.17
+SOURCE="https://ladspa.org/download/ladspa_sdk_$PKG_VER.tgz"
+
+ADDITIONAL="
+fix-memleak-in-plugin-scanning.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ make targets
+}
+
+check() {
+ make test
+}
+
+package() {
+ make INSTALL_PLUGINS_DIR="$PKG_DEST/usr/lib/ladspa/" \
+ INSTALL_INCLUDE_DIR="$PKG_DEST/usr/include/" \
+ INSTALL_BINARY_DIR="$PKG_DEST/usr/bin/" install
+}
+