Date: Friday, January 17, 2020 @ 17:29:43
  Author: dvzrv
Revision: 552878

Adding liquidsfz.

Added:
  liquidsfz/
  liquidsfz/repos/
  liquidsfz/trunk/
  liquidsfz/trunk/PKGBUILD

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Added: liquidsfz/trunk/PKGBUILD
===================================================================
--- liquidsfz/trunk/PKGBUILD                            (rev 0)
+++ liquidsfz/trunk/PKGBUILD    2020-01-17 17:29:43 UTC (rev 552878)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dv...@archlinux.org>
+
+pkgname=liquidsfz
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="SFZ Sampler"
+arch=('x86_64')
+url="https://github.com/swesterfeld/liquidsfz";
+license=('LGPL2.1')
+groups=('lv2-plugins' 'pro-audio')
+depends=('glibc' 'libsndfile.so')
+makedepends=('lv2' 'libjack.so')
+checkdepends=('lv2lint')
+optdepends=('libjack.so: for standalone application')
+provides=('soundfont-synthesizer')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/swesterfeld/${pkgname}/archive/${pkgver}.tar.gz";
+        
"$pkgname-0.2.0-fix_relro.patch::https://github.com/swesterfeld/liquidsfz/pull/6.patch";)
+sha512sums=('b5c9804c0de7467f00a6cdbbd54b5c8b34785a997184d2edd40979cbe0ad368a995c49ded727b1dc7bdea7dffa0ec48a4e09634d0e21ece7aa59a33590de6d2e'
+            
'7f1b92ca3d109371ba7c81c422d6b6f8cb0a2b1802baadadb074e8f43a9a5248f14a346b583b55e35946c516119d6407530b6381bd12e31667efa85e8b8288d8')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # fix lv2 Makefile to achieve full RELRO:
+  # https://github.com/swesterfeld/liquidsfz/issues/5
+  patch -Np1 -i "../$pkgname-0.2.0-fix_relro.patch"
+  autoreconf -vfi
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  # currently only static library is possible:
+  # https://github.com/swesterfeld/liquidsfz/issues/7
+  ./configure --prefix=/usr \
+              --enable-shared \
+              --disable-static \
+              --disable-static-cxx
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make -k check
+  LV2_PATH="${PWD}" lv2lint "http://spectmorph.org/plugins/liquidsfz";
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  install -vDm 644 {NEWS,TODO,{OPCODES,README}.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Reply via email to