[arch-commits] Commit in x42-plugins/trunk (PKGBUILD zita-convolver4.patch)
David Runge
dvzrv at archlinux.org
Fri Aug 3 16:45:00 UTC 2018
Date: Friday, August 3, 2018 @ 16:45:00
Author: dvzrv
Revision: 367552
upgpkg: x42-plugins 20180803-1
Upgrading to 20180803. Switching to ttf-dejavu for balance.lv2 (after talking to upstream about it). Removing zita-convolver 4.0.0 patch (now unneded).
Modified:
x42-plugins/trunk/PKGBUILD
Deleted:
x42-plugins/trunk/zita-convolver4.patch
-----------------------+
PKGBUILD | 18 +++++---------
zita-convolver4.patch | 61 ------------------------------------------------
2 files changed, 7 insertions(+), 72 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-03 16:43:26 UTC (rev 367551)
+++ PKGBUILD 2018-08-03 16:45:00 UTC (rev 367552)
@@ -3,26 +3,22 @@
# Contributor: Lieven Moors <lievenmoors at gmail.com>
pkgname=x42-plugins
-pkgver=20180320
-pkgrel=4
+pkgver=20180803
+pkgrel=1
pkgdesc="Collection of LV2 plugins"
arch=('x86_64')
url="https://github.com/x42/x42-plugins"
license=('GPL')
depends=('ftgl' 'jack' 'liblo' 'libltc' 'pango' 'zita-convolver')
-makedepends=('gtk2' 'ttf-liberation' 'lv2')
+makedepends=('gtk2' 'ttf-dejavu' 'lv2')
groups=('lv2-plugins' 'pro-audio')
-source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz"
- 'zita-convolver4.patch')
-sha512sums=('3e2f13179073b38e846e0855031e7f842b535ad13f64b309ca4da8c0738a77ab8b70e117edfa1a97263ff37d279a4d9a26950c1883507d8e710b8cd54061bb32'
- '15dd15c5552492e7cbaad08b7fd42a7778a03fa12838cc930c386cba30e22ce91d9335543b4b229d13514849c3ed221760176a1b95e0ce7d215247c11a05e628')
+source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+sha512sums=('a88e72d858c5d820971e8741bdd75d75827cd64d7cde4f02113092d3050d39b0fec99f9fa79d83db537e9260d37a93f098205563e3c1606de6075b8671cc759d')
prepare() {
- cd "${pkgname}-${pkgver}/convoLV2"
- patch -Np1 -i ../../zita-convolver4.patch
- cd ..
+ cd "${pkgname}-${pkgver}"
# replace ttf-freefont with ttf-liberation
- export FONTFILE=/usr/share/fonts/TTF/LiberationSans-Bold.ttf
+ export FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
}
build() {
Deleted: zita-convolver4.patch
===================================================================
--- zita-convolver4.patch 2018-08-03 16:43:26 UTC (rev 367551)
+++ zita-convolver4.patch 2018-08-03 16:45:00 UTC (rev 367552)
@@ -1,61 +0,0 @@
-From f814f1ef95d3d4a89a1dbb8a8319879ad411f25f Mon Sep 17 00:00:00 2001
-From: Robin Gareus <robin at gareus.org>
-Date: Wed, 6 Jun 2018 19:22:43 +0200
-Subject: [PATCH] Update for libzita-convolver-4 compatibility
-
----
- Makefile | 2 +-
- convolution.cc | 9 +++++++--
- 2 files changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 6d7f1a9..6e14710 100644
---- a/Makefile
-+++ b/Makefile
-@@ -70,7 +70,7 @@ endif
-
- ifeq ($(LIBZITACONVOLVER),)
- ifeq ($(shell test -f /usr/include/zita-convolver.h -o -f /usr/local/include/zita-convolver.h || echo no ), no)
-- $(error "libzita-convolver3, is required")
-+ $(error "libzita-convolver3 or 4, is required")
- endif
- LOADLIBES += -lzita-convolver
- endif
-diff --git a/convolution.cc b/convolution.cc
-index c3bea41..6ace44b 100644
---- a/convolution.cc
-+++ b/convolution.cc
-@@ -47,8 +47,8 @@
- #include <samplerate.h>
- #include "convolution.h"
-
--#if ZITA_CONVOLVER_MAJOR_VERSION != 3
--# error "This programs requires zita-convolver 3.x.x"
-+#if ZITA_CONVOLVER_MAJOR_VERSION != 3 && ZITA_CONVOLVER_MAJOR_VERSION != 4
-+# error "This programs requires zita-convolver 3 or 4"
- #endif
-
- #ifndef SRC_QUALITY // alternatives: SRC_SINC_FASTEST, SRC_SINC_MEDIUM_QUALITY, (SRC_ZERO_ORDER_HOLD, SRC_LINEAR)
-@@ -344,7 +344,9 @@ int clv_initialize (
-
- clv->convproc = new Convproc;
- clv->convproc->set_options (options);
-+#if ZITA_CONVOLVER_MAJOR_VERSION == 3
- clv->convproc->set_density (clv->density);
-+#endif
-
- if (audiofile_read (clv->ir_fn, sample_rate, &p, &n_chan, &n_frames)) {
- fprintf(stderr, "convoLV2: failed to read IR.\n");
-@@ -379,6 +381,9 @@ int clv_initialize (
- /*quantum*/ buffersize,
- /*min-part*/ buffersize /* must be >= fragm */,
- /*max-part*/ buffersize /* Convproc::MAXPART -> stich output every period */
-+#if ZITA_CONVOLVER_MAJOR_VERSION == 4
-+ , clv->density
-+#endif
- )) {
- fprintf (stderr, "convoLV2: Cannot initialize convolution engine.\n");
- goto errout;
---
-2.18.0
-
More information about the arch-commits
mailing list