Date: Monday, February 12, 2018 @ 17:49:15
  Author: dvzrv
Revision: 293435

upgpkg: guitarix2 0.36.1-4

Rebuilding without faust depends (upstream scripts broken).
Fixing relevant install scripts to use python2, so python can be dropped from 
makedepends.

Modified:
  guitarix2/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-12 17:49:14 UTC (rev 293434)
+++ PKGBUILD    2018-02-12 17:49:15 UTC (rev 293435)
@@ -4,13 +4,13 @@
 
 pkgname=guitarix2
 pkgver=0.36.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A simple mono guitar amplifier and FX for JACK using Faust"
 arch=('x86_64')
 url="https://guitarix.org";
 license=('GPL')
-depends=('avahi' 'bluez-libs' 'boost-libs' 'faust' 'fftw' 'gtkmm' 'jack' 
'liblrdf' 'lilv' 'libsigc++' 'libsndfile' 'zita-convolver' 'zita-resampler' 
'ttf-roboto')
-makedepends=('python' 'python2' 'boost' 'eigen' 'faust' 'gperf' 'intltool' 
'lv2')
+depends=('avahi' 'bluez-libs' 'boost-libs' 'fftw' 'gtkmm' 'jack' 'liblrdf' 
'lilv' 'libsigc++' 'libsndfile' 'ttf-roboto' 'zita-convolver' 'zita-resampler')
+makedepends=('python2' 'boost' 'eigen' 'gperf' 'intltool' 'lv2')
 optdepends=('meterbridge: sound meters')
 provides=('guitarix' 'gx_head')
 conflicts=('guitarix' 'gx_head')
@@ -18,8 +18,20 @@
 
source=("https://download.sourceforge.net/project/guitarix/guitarix/$pkgname-$pkgver.tar.xz";)
 
sha512sums=('7719c4e2a3ecb8194c75bfea571b7f5bc29a15ca0e6e9364085e77d97e2c638eb8dd3b5018228d4380a58ff99574a393e2c91c66837f40d245c1a310572300f4')
 
+prepare() {
+  cd "${pkgname%2}-${pkgver}"
+  # fixing all (hopefully) relevant scripts: 
https://sourceforge.net/p/guitarix/bugs/43/
+  sed -e 's/python/&2/g' \
+    -i src/{faust,LV2/*,plugins,ladspa,gx_head}/wscript \
+    -i src/gx_head/builder/make \
+    -i src/gx_head/engine/gen_tube_tables \
+    -i 
tools/{check_rpc,gcov.py,convert-0.06-format,ampsim/DK/quik.py,undiag,make_jsonrpc_methods}
 \
+    -i tools/{coverage,dsp2cc,dsp2insert}
+}
+
 build() {
   cd "${pkgname%2}-${pkgver}"
+  # build without faust support: https://sourceforge.net/p/guitarix/bugs/44/
   python2 waf configure --prefix=/usr \
                         --no-desktop-update \
                         --no-ldconfig \

Reply via email to