diff options
Diffstat (limited to 'repo/ladspa')
-rw-r--r-- | repo/ladspa/fix-memleak-in-plugin-scanning.patch | 11 | ||||
-rw-r--r-- | repo/ladspa/ladspa.xibuild | 32 |
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 +} + |