Date: Wednesday, April 25, 2018 @ 20:17:45 Author: dvzrv Revision: 318048
upgpkg: guitarix2 0.37.0-1 Upgrading to 0.37.0. MOD GUIs are disabled by default. Enabling ladspa plugins explicitely. Adding package to relevant groups. Removing redundant packages from depends. Installing docs. Minor fixes. Modified: guitarix2/trunk/PKGBUILD ----------+ PKGBUILD | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-04-25 20:12:41 UTC (rev 318047) +++ PKGBUILD 2018-04-25 20:17:45 UTC (rev 318048) @@ -2,24 +2,27 @@ # Maintainer: David Runge <[email protected]> # Contributor: speps <speps at aur dot archlinux dot org> +_name=guitarix pkgname=guitarix2 -pkgver=0.36.1 -pkgrel=4 +pkgver=0.37.0 +pkgrel=1 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' 'fftw' 'gtkmm' 'jack' 'liblrdf' 'lilv' 'libsigc++' 'libsndfile' 'ttf-roboto' 'zita-convolver' 'zita-resampler') +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=('7719c4e2a3ecb8194c75bfea571b7f5bc29a15ca0e6e9364085e77d97e2c638eb8dd3b5018228d4380a58ff99574a393e2c91c66837f40d245c1a310572300f4') +source=("https://download.sourceforge.net/project/guitarix/guitarix/${pkgname}-${pkgver}.tar.xz") +sha512sums=('931ed5e614b41b0bf2d85e214a3badeb834f59757a7431bb07938ecc2da949b5c9ca8a1883bea9a217c3320de51baa8804036e5dd0f476253a486aa8995f81ba') prepare() { - cd "${pkgname%2}-${pkgver}" + 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 \ @@ -30,9 +33,12 @@ } build() { - cd "${pkgname%2}-${pkgver}" + 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 \ @@ -42,6 +48,8 @@ } package() { - cd "${pkgname%2}-${pkgver}" + cd "${pkgname}-${pkgver}" python2 waf install --destdir="${pkgdir}" + # docs + install -vDm 644 {changelog,README} -t "${pkgdir}/usr/share/doc/${pkgname}/" }
