From 3c0f6233e6d1ff1e14a4156c33e910f8994e94fb Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@archlinuxarm.org> Date: Mon, 18 Feb 2019 15:13:19 +0000 Subject: [PATCH] community/calf to 0.90.1-4 --- community/calf/PKGBUILD | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/community/calf/PKGBUILD b/community/calf/PKGBUILD index c4930acfb..431d4ff1f 100644 --- a/community/calf/PKGBUILD +++ b/community/calf/PKGBUILD @@ -1,4 +1,5 @@ # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org> +# Contributor: David Runge <dave@sleepmap.de> # Contributor: Ray Rashif <schiv@archlinux.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org> @@ -6,27 +7,39 @@ pkgname=calf pkgver=0.90.1 -pkgrel=2 -pkgdesc='LV2/DSSI/LADSPA plug-ins suite and standalone JACK host' +pkgrel=4 +pkgdesc='LV2/DSSI/LADSPA plug-in suite and standalone Jack host' arch=('x86_64') url='https://calf-studio-gear.org/' groups=('lv2-plugins' 'pro-audio') license=('LGPL') -depends=('dssi' 'fftw' 'fluidsynth' 'gtk2') -makedepends=('ladspa' 'lv2') -source=("https://calf-studio-gear.org/files/$pkgname-$pkgver.tar.gz") -sha256sums=('eb3ac2e48952cf68b2d87151ce4cf58ea1fcd4433629ff0628b6e4165fe9dc7e') +depends=('fftw' 'fluidsynth' 'gtk2') +makedepends=('lv2') +source=("https://calf-studio-gear.org/files/$pkgname-$pkgver.tar.gz" + "${pkgname}-fluidsynth2.patch::https://github.com/calf-studio-gear/${pkgname}/pull/203/commits/bba03b6080dc198f3513b5c29fe1ba4ff9e4aa59.patch") +sha256sums=('eb3ac2e48952cf68b2d87151ce4cf58ea1fcd4433629ff0628b6e4165fe9dc7e' + 'adc6169efcb42cbdb67c117c81a88ec8a4314a8ef7744414b6bd5ea5f3fbf004') + +prepare(){ + cd "$pkgname-$pkgver" + # fluidsynth2 patch: https://github.com/calf-studio-gear/calf/issues/202 + patch -Np1 -i ../${pkgname}-fluidsynth2.patch + # replace check for lv2core: https://github.com/calf-studio-gear/calf/issues/220 + sed -e 's/lv2core >= 6/lv2 >= 1.14/g' -i configure.ac + autoreconf -vfi +} build() { cd "$pkgname-$pkgver" - - ./configure --prefix=/usr --enable-experimental + ./configure --prefix=/usr \ + --with-lv2 \ + --enable-experimental make } package() { - make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } -# getver: raw.githubusercontent.com/calf-studio-gear/calf/master/configure.ac # vim: ts=2 sw=2 et: