mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/rubberband to 1.8.2-2
This commit is contained in:
parent
d344b06ca4
commit
e6acdc3f3c
1 changed files with 4 additions and 5 deletions
|
@ -1,21 +1,19 @@
|
|||
# $Id$
|
||||
# Maintainer: David Runge <dave@sleepmap.de>
|
||||
# Contributor: Ray Rashif <schiv@archlinux.org>
|
||||
# Contributor: Felipe Machado aka arch_audio <machado.felipe@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - patch to fix build on v5
|
||||
# - makedepend on java 8 instead of 10
|
||||
|
||||
pkgname=rubberband
|
||||
pkgver=1.8.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Time-stretching and pitch-shifting audio library and utility"
|
||||
arch=('x86_64')
|
||||
url="https://www.breakfastquay.com/rubberband/"
|
||||
license=('GPL2')
|
||||
depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk')
|
||||
makedepends=('ladspa' 'java-environment=8')
|
||||
makedepends=('ladspa' 'java-environment')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/breakfastquay/rubberband/archive/v$pkgver.tar.gz"
|
||||
'0001-fix-armv5-build.patch')
|
||||
sha512sums=('b70e41fb1f68487d67b3935682100138ba898adeec9c8e7f8caa30f7bc94389c847d72a1b0b04f042d16d4b57019cc82c0fe79c8f302c3174e603e9bd0289abf'
|
||||
|
@ -28,10 +26,11 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
local java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' -f2| cut -d '.' -f1)
|
||||
export JAVA_HOME="/usr/lib/jvm/java-${java_major}-openjdk"
|
||||
cd "$pkgname-$pkgver"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
|
||||
make jni
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue