[arch-commits] Commit in calf/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Feb 16 20:43:00 UTC 2019


    Date: Saturday, February 16, 2019 @ 20:42:59
  Author: dvzrv
Revision: 433818

upgpkg: calf 0.90.1-4

Rebuilding against fluidsynth > 2.0.0. Fixing issues with lv2 >= 1.16.0 detection.

Modified:
  calf/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++++++++++---------
 1 file changed, 23 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-16 20:42:42 UTC (rev 433817)
+++ PKGBUILD	2019-02-16 20:42:59 UTC (rev 433818)
@@ -1,29 +1,43 @@
 # Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: David Runge <dave at sleepmap.de>
 # Contributor: Ray Rashif <schiv at archlinux.org>
 
 pkgname=calf
 pkgver=0.90.1
-pkgrel=3
+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 --enable-sse
+  ./configure --prefix=/usr \
+              --with-lv2 \
+              --enable-experimental \
+              --enable-sse
   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:



More information about the arch-commits mailing list