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

David Runge dvzrv at archlinux.org
Sun Sep 20 18:24:34 UTC 2020


    Date: Sunday, September 20, 2020 @ 18:24:34
  Author: dvzrv
Revision: 711122

upgpkg: amsynth 1.11.0-1: Upgrade to 1.11.0.

Remove broken C++11 detection in the autotools setup (and report upstream).

Modified:
  amsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-20 17:55:40 UTC (rev 711121)
+++ PKGBUILD	2020-09-20 18:24:34 UTC (rev 711122)
@@ -3,8 +3,8 @@
 # Contributor: Alessio Biancalana <dottorblaster at gmail.com>
 
 pkgname=amsynth
-pkgver=1.10.0
-pkgrel=2
+pkgver=1.11.0
+pkgrel=1
 pkgdesc="Analogue Modeling SYNTHesizer"
 arch=('x86_64')
 url="https://amsynth.github.io/"
@@ -16,14 +16,18 @@
 checkdepends=('lv2lint')
 optdepends=('alsa-lib: for standalone application'
             'jack: for standalone application'
-            'non-session-manager: for session management with the standalone application'
-            'oscpack: for non-session-manager support of standalone application')
+            'new-session-manager: for session management with the standalone application'
+            'oscpack: for session management with the standalone application')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/amsynth/amsynth/archive/release-${pkgver}.tar.gz")
-sha512sums=('951a74d10e4669b0b4bff5d02f12a1dcb62dbb2b04044174554df8ff30ff2f6b5965af922943b13bbafb969cc2ae78eade394e98aca7df8fd8c27feacbe64605')
+sha512sums=('b5d08fa244362406afd9eed88c7fb334c80b792b3b5224f6e7bcdae0d78c620150b0d0bd028f31ce907272f1de46c26025ff172170e98a4be4df4cc1002eda7c')
+b2sums=('e2a97d0e8a73203ceae80dd3ee5104a1bf12dbf84f74b6ffe45d7046f4e25195ca4eb15c5db9ffeb89a1d8d09b3cf0a1f723f6ccc3429df72aff473a0060caa6')
 
 prepare() {
   mv -v "${pkgname}-release-${pkgver}" "${pkgname}-${pkgver}"
   cd "${pkgname}-${pkgver}"
+  # remove broken C++11 detection:
+  # https://github.com/amsynth/amsynth/issues/169
+  sed -e '/AX_CXX_COMPILE_STDCXX_11/d' -i configure.ac
   autoreconf -vfi
   intltoolize -f
 }
@@ -31,12 +35,12 @@
 build() {
   cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr \
-    --with-alsa \
-    --with-jack \
-    --with-dssi \
-    --with-lv2 \
-    --with-vst \
-    --with-pandoc
+              --with-alsa \
+              --with-jack \
+              --with-dssi \
+              --with-lv2 \
+              --with-vst \
+              --with-pandoc
   make
 }
 
@@ -45,7 +49,7 @@
   cp .libs/${pkgname}_lv2*.so data/${pkgname}.lv2/
   lv2lint -Mpack \
           -I "data/${pkgname}.lv2" \
-          "http://code.google.com/p/amsynth/amsynth" || echo "Known to fail: https://github.com/amsynth/amsynth/issues/159"
+          "http://code.google.com/p/amsynth/amsynth"
 }
 
 package() {



More information about the arch-commits mailing list