[arch-commits] Commit in liquidsfz/repos (community-x86_64 community-x86_64/PKGBUILD)

David Runge dvzrv at archlinux.org
Fri Jan 17 17:35:13 UTC 2020


    Date: Friday, January 17, 2020 @ 17:35:12
  Author: dvzrv
Revision: 552880

archrelease: copy trunk to community-x86_64

Added:
  liquidsfz/repos/community-x86_64/
  liquidsfz/repos/community-x86_64/PKGBUILD
    (from rev 552879, liquidsfz/trunk/PKGBUILD)

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

Copied: liquidsfz/repos/community-x86_64/PKGBUILD (from rev 552879, liquidsfz/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-01-17 17:35:12 UTC (rev 552880)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at 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'
+            '2e2c9e3b62ee1d5115d3b8d9711d6938d18540546c193f1d33860f5d3a39d6483af70ff758a05abf1dd2e6eed99bed20d6cb2ce39cacfa103c84f837fa82f13d')
+
+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}"
+}



More information about the arch-commits mailing list