[arch-commits] Commit in guitarix2/repos (2 files)

David Runge dvzrv at archlinux.org
Mon Jul 23 08:23:47 UTC 2018


    Date: Monday, July 23, 2018 @ 08:23:47
  Author: dvzrv
Revision: 362931

archrelease: copy trunk to community-staging-x86_64

Added:
  guitarix2/repos/community-staging-x86_64/
  guitarix2/repos/community-staging-x86_64/PKGBUILD
    (from rev 362930, guitarix2/trunk/PKGBUILD)

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

Copied: guitarix2/repos/community-staging-x86_64/PKGBUILD (from rev 362930, guitarix2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-07-23 08:23:47 UTC (rev 362931)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+_name=guitarix
+pkgname=guitarix2
+pkgver=0.37.3
+pkgrel=1
+pkgdesc="A simple mono guitar amplifier and FX for JACK using Faust"
+arch=('x86_64')
+url="https://guitarix.org"
+license=('GPL3')
+groups=('ladspa-plugins' 'lv2-plugins' 'pro-audio')
+depends=('bluez-libs' 'boost-libs' 'gtkmm' 'liblrdf' 'lilv' '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')
+replaces=('guitarix' 'gx_head')
+source=("https://download.sourceforge.net/project/guitarix/guitarix/${pkgname}-${pkgver}.tar.xz")
+sha512sums=('9cdd60dc5ba1a5ae018968a132b06ef8f7470fdfa0749c9a439f7c8adb1dfd3907f9d35be0b32d839645145075f2a0eb168db732ebaef7690e12e337ba9793a5')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${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}-${pkgver}"
+  # build without faust support: https://sourceforge.net/p/guitarix/bugs/44/
+  python2 waf configure --prefix=/usr \
+                        --enable-nls \
+                        --ladspa \
+                        --new-ladspa \
+                        --no-desktop-update \
+                        --no-ldconfig \
+                        --no-faust \
+                        --shared-lib \
+                        --lib-dev
+  python2 waf build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python2 waf install --destdir="${pkgdir}"
+  # docs
+  install -vDm 644 {changelog,README} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}



More information about the arch-commits mailing list