summaryrefslogtreecommitdiff
path: root/user/ladspa
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-05-28 21:13:54 -0500
committerZach van Rijn <me@zv.io>2022-06-12 23:51:28 +0000
commit6917a0697e19a5756e8259f192f6d95c17f93815 (patch)
tree69459c0cb407870bc13ce29ca755187e1de64bbf /user/ladspa
parentc7f67e9febb8a785469e6219d0c4fd24175787df (diff)
downloadpackages-6917a0697e19a5756e8259f192f6d95c17f93815.tar.gz
packages-6917a0697e19a5756e8259f192f6d95c17f93815.tar.bz2
packages-6917a0697e19a5756e8259f192f6d95c17f93815.tar.xz
packages-6917a0697e19a5756e8259f192f6d95c17f93815.zip
user/ladspa: bump { 1.13 [see commit] --> 1.17 }. update URL. become maintainer.
Diffstat (limited to 'user/ladspa')
-rw-r--r--user/ladspa/APKBUILD18
-rw-r--r--user/ladspa/fallback-ladspa-path.patch27
2 files changed, 8 insertions, 37 deletions
diff --git a/user/ladspa/APKBUILD b/user/ladspa/APKBUILD
index 6c9a1112b..4a24d03ef 100644
--- a/user/ladspa/APKBUILD
+++ b/user/ladspa/APKBUILD
@@ -1,25 +1,24 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Zach van Rijn <me@zv.io>
pkgname=ladspa
-pkgver=1.15
+pkgver=1.17
pkgrel=0
pkgdesc="Linux Audio Developer's Simple Plug-in API, examples and tools"
-url="http://www.ladspa.org/"
+url="https://www.ladspa.org/"
arch="all"
options="!check" # Currently fails on armhf and aarch64.
license="LGPL-2.1-only"
depends=""
-makedepends=""
+makedepends="libsndfile-dev"
subpackages="$pkgname-dev"
-source="https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_1.13.tgz
- fallback-ladspa-path.patch
+source="https://www.ladspa.org/download/${pkgname}_sdk_${pkgver}.tgz
fix-memleak-in-plugin-scanning.patch
"
-builddir="$srcdir/ladspa_sdk/src"
+builddir="$srcdir/ladspa_sdk_$pkgver/src"
prepare() {
default_prepare
- sed -i 's/mkdirhier/mkdir -p/' makefile
+ sed -i 's/mkdirhier/mkdir -p/' Makefile
}
build() {
@@ -36,6 +35,5 @@ package() {
INSTALL_BINARY_DIR="$pkgdir/usr/bin/" install
}
-sha512sums="a1dab807fda58e08869d3f519be5fa91c394690eb13006fbe7f20b332548e4676b32b01273f5695bf36c8da72190c07618662a76d50f991b3f05068ac2b346ef ladspa_sdk_1.13.tgz
-00891ac5d1e3ca17cf7d99e7d894b50f9a7df8eea80cd791593cf637bf9f4f7e658d0124c69aa32bb90a14150737a38cb48552c7991f3f2b6674b3634440504a fallback-ladspa-path.patch
+sha512sums="c096e70d245c50ffad379f2c9aab2735c205dfe7c27b5710cad6e43b39f8accc7b8bd2cd7ebbea2c399ad76018b3d4c701ed271de552d098b12ab218a58f0497 ladspa_sdk_1.17.tgz
1a96b24a47c2c82f7c2f66e2ee711f0ecbed9b03260562b72ced1bd4c8f0e518d15fc7c15951b95b1999e3dae1723b855fd3431a9795279f8a88ad68900e48e7 fix-memleak-in-plugin-scanning.patch"
diff --git a/user/ladspa/fallback-ladspa-path.patch b/user/ladspa/fallback-ladspa-path.patch
deleted file mode 100644
index a0a3c43a3..000000000
--- a/user/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;