From 89f45338a4836c4acd5e9f16d436cb764b697d78 Mon Sep 17 00:00:00 2001 From: David Demelier Date: Fri, 5 Jun 2020 11:02:01 +0200 Subject: community/ladspa: move from testing --- community/ladspa/APKBUILD | 30 ++++++++++++++++++++++ .../ladspa/fix-memleak-in-plugin-scanning.patch | 11 ++++++++ testing/ladspa/APKBUILD | 30 ---------------------- .../ladspa/fix-memleak-in-plugin-scanning.patch | 11 -------- 4 files changed, 41 insertions(+), 41 deletions(-) create mode 100644 community/ladspa/APKBUILD create mode 100644 community/ladspa/fix-memleak-in-plugin-scanning.patch delete mode 100644 testing/ladspa/APKBUILD delete mode 100644 testing/ladspa/fix-memleak-in-plugin-scanning.patch diff --git a/community/ladspa/APKBUILD b/community/ladspa/APKBUILD new file mode 100644 index 00000000000..7d960453161 --- /dev/null +++ b/community/ladspa/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Carlo Landmeter +# Maintainer: David Demelier +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/community/ladspa/fix-memleak-in-plugin-scanning.patch b/community/ladspa/fix-memleak-in-plugin-scanning.patch new file mode 100644 index 00000000000..bc8ef7c4b3c --- /dev/null +++ b/community/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/testing/ladspa/APKBUILD b/testing/ladspa/APKBUILD deleted file mode 100644 index 7d960453161..00000000000 --- a/testing/ladspa/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: David Demelier -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 deleted file mode 100644 index bc8ef7c4b3c..00000000000 --- a/testing/ladspa/fix-memleak-in-plugin-scanning.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./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); - } - } - } -- cgit v1.2.3