diff options
author | David Demelier <markand@malikania.fr> | 2020-04-17 15:31:20 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-04-26 19:27:49 +0000 |
commit | cf860b62aba90886d68d4bbe4db4dacc1e907620 (patch) | |
tree | e64dc710dd4abc48efe2496cf1a2a34777ae123c | |
parent | cd957617ffe46637698464f855fb876d0c6288db (diff) | |
download | aports-cf860b62aba90886d68d4bbe4db4dacc1e907620.tar.bz2 aports-cf860b62aba90886d68d4bbe4db4dacc1e907620.tar.xz |
testing/ladspa: take ownership
While here, cleanup and upgrade.
-rw-r--r-- | testing/ladspa/APKBUILD | 30 | ||||
-rw-r--r-- | testing/ladspa/fix-memleak-in-plugin-scanning.patch (renamed from unmaintained/ladspa/fix-memleak-in-plugin-scanning.patch) | 0 | ||||
-rw-r--r-- | unmaintained/ladspa/APKBUILD | 39 | ||||
-rw-r--r-- | unmaintained/ladspa/fallback-ladspa-path.patch | 27 |
4 files changed, 30 insertions, 66 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/unmaintained/ladspa/fix-memleak-in-plugin-scanning.patch b/testing/ladspa/fix-memleak-in-plugin-scanning.patch index bc8ef7c4b3..bc8ef7c4b3 100644 --- a/unmaintained/ladspa/fix-memleak-in-plugin-scanning.patch +++ b/testing/ladspa/fix-memleak-in-plugin-scanning.patch diff --git a/unmaintained/ladspa/APKBUILD b/unmaintained/ladspa/APKBUILD deleted file mode 100644 index 568e06cba9..0000000000 --- a/unmaintained/ladspa/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ladspa -pkgver=1.15 -pkgrel=0 -pkgdesc="Linux Audio Developer's Simple Plug-in API, examples and tools" -url="http://www.ladspa.org/" -arch="all" -options="!check" # Currently fails on armhf and aarch64. -license="LGPL-2.0-or-later" -subpackages="$pkgname-dev" -source="https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_1.13.tgz - fallback-ladspa-path.patch - fix-memleak-in-plugin-scanning.patch - " -builddir="$srcdir/ladspa_sdk/src" - -prepare() { - default_prepare - sed -i 's/mkdirhier/mkdir -p/' makefile -} - -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="a1dab807fda58e08869d3f519be5fa91c394690eb13006fbe7f20b332548e4676b32b01273f5695bf36c8da72190c07618662a76d50f991b3f05068ac2b346ef ladspa_sdk_1.13.tgz -00891ac5d1e3ca17cf7d99e7d894b50f9a7df8eea80cd791593cf637bf9f4f7e658d0124c69aa32bb90a14150737a38cb48552c7991f3f2b6674b3634440504a fallback-ladspa-path.patch -1a96b24a47c2c82f7c2f66e2ee711f0ecbed9b03260562b72ced1bd4c8f0e518d15fc7c15951b95b1999e3dae1723b855fd3431a9795279f8a88ad68900e48e7 fix-memleak-in-plugin-scanning.patch" diff --git a/unmaintained/ladspa/fallback-ladspa-path.patch b/unmaintained/ladspa/fallback-ladspa-path.patch deleted file mode 100644 index a0a3c43a36..0000000000 --- a/unmaintained/ladspa/fallback-ladspa-path.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -upr ladspa_sdk.orig/src/load.c ladspa_sdk/src/load.c ---- ./load.c 2012-09-26 07:37:24.000000000 +0300 -+++ ./load.c 2012-09-26 07:38:58.000000000 +0300 -@@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, in - to search. */ - - pcLADSPAPath = getenv("LADSPA_PATH"); -+ if (! pcLADSPAPath) -+ pcLADSPAPath = "/usr/lib/ladspa"; - - if (pcLADSPAPath) { - -diff -upr ladspa_sdk.orig/src/search.c ladspa_sdk/src/search.c ---- ./search.c 2012-09-26 07:37:24.000000000 +0300 -+++ ./search.c 2012-09-26 07:38:46.000000000 +0300 -@@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCal - - pcLADSPAPath = getenv("LADSPA_PATH"); - if (!pcLADSPAPath) { -- fprintf(stderr, -- "Warning: You do not have a LADSPA_PATH " -- "environment variable set.\n"); -- return; -+ pcLADSPAPath = "/usr/lib/ladspa"; - } - - pcStart = pcLADSPAPath; |