[arch-commits] Commit in guitarix/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Mon May 2 18:23:04 UTC 2022


    Date: Monday, May 2, 2022 @ 18:23:04
  Author: dvzrv
Revision: 1192312

upgpkg: guitarix 0.44.0-1: Upgrade to 0.44.0.

Build with -flto by providing additional cxxflags.
Build using one job, because otherwise faust explodes.

Modified:
  guitarix/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++------------------
 1 file changed, 8 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-02 18:18:15 UTC (rev 1192311)
+++ PKGBUILD	2022-05-02 18:23:04 UTC (rev 1192312)
@@ -1,8 +1,8 @@
 # Maintainer: David Runge <dvzrv at archlinux.org
 
 pkgname=guitarix
-pkgver=0.43.1
-pkgrel=3
+pkgver=0.44.0
+pkgrel=1
 pkgdesc="A simple mono guitar amplifier and FX for JACK using Faust"
 arch=(x86_64)
 url="https://guitarix.org"
@@ -17,22 +17,11 @@
 provides=(guitarix2 libgxw.so libgxwmm.so ladspa-host lv2-host)
 conflicts=(guitarix2)
 replaces=(guitarix2)
-# LTO builds currently broken: https://sourceforge.net/p/guitarix/bugs/133/
-options=(debug !lto)
-source=(
-  $pkgname-$pkgver.tar.xz::https://download.sourceforge.net/project/guitarix/guitarix/${pkgname}2-$pkgver.tar.xz
-  $pkgname-0.43.1-glib2.patch
-)
-sha512sums=('30e56d863308cea18bb4af6f71d3e8d852662b4252c998507a1c3de9a2d97fe1c4ecb525bd35ef8e176b5cb5138806553cba157c1aa6cb14e48fe0bbea8a7def'
-            '268e23d53441147a6e7959af2b1a45fd3f0f453f1fd3c40af7b3c002e801a42880ecb9ab7042c324c3099740f0151c24eafc6afb0b990de3b9fcb6ee8f1b3950')
-b2sums=('bfa72a20f5fe1bdd08162e283f7074f6bcd6b4d6ccb1771f0351e60802ebf030f8f6627d2480ccd2e5972215847edd62bff38c338723fd0bf2504b9b2cee5101'
-        'c0963ac7ec531707f30038744c1159bebb1544ebb02771f37cebfba5df7ab0e77c2c6230b46fc6ac8f34512b73840f8cbf1b82726c09a35cc097380242f65aa8')
+options=(debug)
+source=($pkgname-$pkgver.tar.xz::https://download.sourceforge.net/project/guitarix/guitarix/${pkgname}2-$pkgver.tar.xz)
+sha512sums=('30520600ef60379770f40901a19219a044d442c77d0808df72957eb5f7fba7e6aef7ec2217735683033697144c3c9850963e89941d31ebb6b7490507a3e35f75')
+b2sums=('1abc470ec7adc3286ee3edefc7652e95ec20d73c104cd20d9521c85d68ff4e91b70465ff05b7acc2c10b1902c976c6c93f171325494126f75707d5e3ea9affb8')
 
-prepare() {
-  # fix issue with recent glib2, backport of https://github.com/brummer10/guitarix/commit/89b944c7c47b565cebfb1ac368fcb5ede82fd5d3
-  patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-0.43.1-glib2.patch
-}
-
 build() {
   cd $pkgname-$pkgver
   export LINKFLAGS="$LDFLAGS"
@@ -42,8 +31,9 @@
                 --new-ladspa \
                 --shared-lib \
                 --lib-dev \
+                --cxxflags='-flto' \
                 --ldflags="$LDFLAGS"
-  waf build -vv
+  waf build -vv -j1
 }
 
 package() {



More information about the arch-commits mailing list