summaryrefslogtreecommitdiff
path: root/user/ladspa/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 20:15:07 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 20:15:07 -0500
commit78a06826be274bb4aded8ad5f946a873253db0f9 (patch)
tree6fadefabe4e00cc019047fd879ee17116ecccae1 /user/ladspa/APKBUILD
parenta21a34f267c015fb8431658665d48ed8c68d2d5e (diff)
downloadpackages-78a06826be274bb4aded8ad5f946a873253db0f9.tar.gz
packages-78a06826be274bb4aded8ad5f946a873253db0f9.tar.bz2
packages-78a06826be274bb4aded8ad5f946a873253db0f9.tar.xz
packages-78a06826be274bb4aded8ad5f946a873253db0f9.zip
user/ladspa: pull in, modernise, fix up
Diffstat (limited to 'user/ladspa/APKBUILD')
-rw-r--r--user/ladspa/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/ladspa/APKBUILD b/user/ladspa/APKBUILD
new file mode 100644
index 000000000..dfadd5e2b
--- /dev/null
+++ b/user/ladspa/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=ladspa
+pkgver=1.13
+pkgrel=3
+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.1-only"
+depends=""
+makedepends=""
+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() {
+ cd "$builddir"
+ make targets
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ 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"