diff options
Diffstat (limited to 'testing/ladspa')
-rw-r--r-- | testing/ladspa/APKBUILD | 30 | ||||
-rw-r--r-- | testing/ladspa/fix-memleak-in-plugin-scanning.patch | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/testing/ladspa/APKBUILD b/testing/ladspa/APKBUILD new file mode 100644 index 0000000000..7d96045316 --- /dev/null +++ b/testing/ladspa/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: David Demelier <markand@malikania.fr> +pkgname=ladspa +pkgver=1.15 +pkgrel=0 +pkgdesc="Linux Audio Developer's Simple Plug-in API, examples and tools" +url="https://www.ladspa.org" +arch="all" +license="LGPL-2.0-or-later" +subpackages="$pkgname-dev" +source="https://www.ladspa.org/download/ladspa_sdk_$pkgver.tgz + fix-memleak-in-plugin-scanning.patch" +builddir="$srcdir/ladspa_sdk_$pkgver/src" + +build() { + make targets +} + +check() { + make test +} + +package() { + make INSTALL_PLUGINS_DIR="$pkgdir/usr/lib/ladspa/" \ + INSTALL_INCLUDE_DIR="$pkgdir/usr/include/" \ + INSTALL_BINARY_DIR="$pkgdir/usr/bin/" install +} + +sha512sums="a521622e23d988284244003e4ccfc3b42f6ddc7944cb00e7949b87e09d7f39a0cbb64b6d8b5a5af0a5ccf7179f88815416a88f02d3912957167e54b74accfc65 ladspa_sdk_1.15.tgz +1a96b24a47c2c82f7c2f66e2ee711f0ecbed9b03260562b72ced1bd4c8f0e518d15fc7c15951b95b1999e3dae1723b855fd3431a9795279f8a88ad68900e48e7 fix-memleak-in-plugin-scanning.patch" diff --git a/testing/ladspa/fix-memleak-in-plugin-scanning.patch b/testing/ladspa/fix-memleak-in-plugin-scanning.patch new file mode 100644 index 0000000000..bc8ef7c4b3 --- /dev/null +++ b/testing/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); + } + } + } |