[arch-commits] Commit in guitarix2/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jan 15 10:42:43 UTC 2019
Date: Tuesday, January 15, 2019 @ 10:42:42
Author: foutrelis
Revision: 423287
archrelease: copy trunk to community-staging-x86_64
Added:
guitarix2/repos/community-staging-x86_64/
guitarix2/repos/community-staging-x86_64/PKGBUILD
(from rev 423286, guitarix2/trunk/PKGBUILD)
guitarix2/repos/community-staging-x86_64/guitarix2-boost-1.69.patch
(from rev 423286, guitarix2/trunk/guitarix2-boost-1.69.patch)
----------------------------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++
guitarix2-boost-1.69.patch | 10 +++++++
2 files changed, 67 insertions(+)
Copied: guitarix2/repos/community-staging-x86_64/PKGBUILD (from rev 423286, guitarix2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-01-15 10:42:42 UTC (rev 423287)
@@ -0,0 +1,57 @@
+# 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=3
+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"
+ guitarix2-boost-1.69.patch)
+sha512sums=('9cdd60dc5ba1a5ae018968a132b06ef8f7470fdfa0749c9a439f7c8adb1dfd3907f9d35be0b32d839645145075f2a0eb168db732ebaef7690e12e337ba9793a5'
+ '19663a64695ea4af18c65744685654312352d12e4d8ce3f2ee516a12236530eb07e65d61ce7aad10e41835b57ee9d6293c4f941ca43140016f8e77d58a2fc57d')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ patch -p1 -i ../guitarix2-boost-1.69.patch # Fix build with boost 1.69
+ # 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}/"
+}
Copied: guitarix2/repos/community-staging-x86_64/guitarix2-boost-1.69.patch (from rev 423286, guitarix2/trunk/guitarix2-boost-1.69.patch)
===================================================================
--- community-staging-x86_64/guitarix2-boost-1.69.patch (rev 0)
+++ community-staging-x86_64/guitarix2-boost-1.69.patch 2019-01-15 10:42:42 UTC (rev 423287)
@@ -0,0 +1,10 @@
+--- a/src/headers/engine.h
++++ b/src/headers/engine.h
+@@ -38,6 +38,7 @@
+ #include <algorithm>
+ #include <sys/stat.h>
+ #include <boost/format.hpp>
++#include <boost/noncopyable.hpp>
+ #include <boost/thread/mutex.hpp>
+ #include <glibmm/i18n.h> // NOLINT
+ #include <glibmm/optioncontext.h> // NOLINT
More information about the arch-commits
mailing list