From 2e4eddedb755f0c0f88450b1fc1d8b0830132a71 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:15:00 +0100 Subject: added ardour --- repo/ladspa/fix-memleak-in-plugin-scanning.patch | 11 ++++++++ repo/ladspa/ladspa.xibuild | 32 ++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 repo/ladspa/fix-memleak-in-plugin-scanning.patch create mode 100644 repo/ladspa/ladspa.xibuild (limited to 'repo/ladspa') 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 +} + -- cgit v1.2.1