summaryrefslogtreecommitdiff
path: root/user/ladspa/APKBUILD
blob: 4a24d03efbe5719f76b7c538e055c27d76ec030d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=ladspa
pkgver=1.17
pkgrel=0
pkgdesc="Linux Audio Developer's Simple Plug-in API, examples and tools"
url="https://www.ladspa.org/"
arch="all"
options="!check"  # Currently fails on armhf and aarch64.
license="LGPL-2.1-only"
depends=""
makedepends="libsndfile-dev"
subpackages="$pkgname-dev"
source="https://www.ladspa.org/download/${pkgname}_sdk_${pkgver}.tgz
	fix-memleak-in-plugin-scanning.patch
	"
builddir="$srcdir/ladspa_sdk_$pkgver/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="c096e70d245c50ffad379f2c9aab2735c205dfe7c27b5710cad6e43b39f8accc7b8bd2cd7ebbea2c399ad76018b3d4c701ed271de552d098b12ab218a58f0497  ladspa_sdk_1.17.tgz
1a96b24a47c2c82f7c2f66e2ee711f0ecbed9b03260562b72ced1bd4c8f0e518d15fc7c15951b95b1999e3dae1723b855fd3431a9795279f8a88ad68900e48e7  fix-memleak-in-plugin-scanning.patch"