summaryrefslogtreecommitdiff
path: root/user/rubberband/APKBUILD
blob: 2e7275ae7e08a92833be8302caceb433e70a4e42 (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
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=rubberband
pkgver=1.8.2
pkgrel=0
pkgdesc="Library for audio time-stretching and pitch-shifting"
url="https://www.breakfastquay.com/rubberband/"
arch="all"
options="!check" # no tests
license="BSD-4-Clause AND BSD-3-Clause AND GPL-2.0+"
makedepends="libsamplerate-dev libsndfile-dev fftw-dev vamp-sdk-dev ladspa-dev"
subpackages="$pkgname-dev"
source="https://breakfastquay.com/files/releases/rubberband-$pkgver.tar.bz2
	no-jni.patch"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="da677f9a843711c44c52c0153faa62e587ac7c010569523ef4fef7ce941b9d292e566f46147700e496f6cfff4c9f22f9901dcc93f2d701fdb9de152ddac0c3a6  rubberband-1.8.2.tar.bz2
6c64a6220e68865dece4efe93131f7b5c99ae6a4ce094d7e8cf4805f64c3012edbf35bd5c2bdbb07240d68036728baa9619dd8faa21f01393dc6b35bdfa4f152  no-jni.patch"