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

2022-07-20 Thread David Runge via arch-commits
Date: Wednesday, July 20, 2022 @ 07:35:25
  Author: dvzrv
Revision: 1254772

upgpkg: amsynth 1.13.0-1: Upgrade to 1.13.0.

Remove unnecessary quotes and curly braces.

Modified:
  amsynth/trunk/PKGBUILD

--+
 PKGBUILD |   41 +
 1 file changed, 21 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-07-20 07:34:53 UTC (rev 1254771)
+++ PKGBUILD2022-07-20 07:35:25 UTC (rev 1254772)
@@ -3,7 +3,7 @@
 # Contributor: Alessio Biancalana 
 
 pkgname=amsynth
-pkgver=1.12.4
+pkgver=1.13.0
 pkgrel=1
 pkgdesc="Analogue Modeling SYNTHesizer"
 arch=(x86_64)
@@ -14,28 +14,30 @@
 makedepends=(atk autoconf-archive dssi fontconfig freetype2 gdk-pixbuf2 glib2
 gtk2 harfbuzz intltool jack ladspa liblo lv2 pandoc)
 checkdepends=(lv2lint)
-optdepends=('alsa-lib: for standalone application'
-'dssi-host: for DSSI plugin'
-'jack: for standalone application'
-'liblo: for standalone application and DSSI plugin'
-'new-session-manager: for session management with the standalone 
application'
-'lv2-host: for LV2 plugin'
-'vst-host: for VST plugin')
+optdepends=(
+  'alsa-lib: for standalone application'
+  'dssi-host: for DSSI plugin'
+  'jack: for standalone application'
+  'liblo: for standalone application and DSSI plugin'
+  'new-session-manager: for session management with the standalone application'
+  'lv2-host: for LV2 plugin'
+  'vst-host: for VST plugin'
+)
+options=(debug)
 source=(
-  
"${pkgname}-${pkgver}.tar.gz::https://github.com/amsynth/amsynth/archive/release-${pkgver}.tar.gz";
+  
$pkgname-$pkgver.tar.gz::https://github.com/amsynth/amsynth/archive/release-$pkgver.tar.gz
 )
-sha512sums=('7dab6f161887dd48bbe81c6e2d62ab3fd13c860c526e636a2053a785074a08a5b9060fc75b865d6facf75d6281af0f4cff4c4ba178f6271117a139d7e19b26d4')
-b2sums=('ee9937830f847ef0ee92509b0f64ea2293a2a145d46ad1a465794488ede60cc95c78acae2a890f5e6614ef61b3cd7d9523b0f7f089da072dba7c77cb5a2b3b6f')
+sha512sums=('33f31892c2f1d843a2a3a8df6ab8fcbd628dbc3ddb05b7413f259cb820a664957b8701528373b433d29c5c0155bb38f03f0820c62432b47252b1f02dcf40ca06')
+b2sums=('1b33c91ddbeaeac26326a502d3dec5e33aa95937c98c4568770e10d8a4d6ed6fe9652d37fce7dae5d1376e3be16cf4582decccd9ae173052899e7b230e07b1eb')
 
 prepare() {
-  mv -v "${pkgname}-release-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
+  cd $pkgname-release-$pkgver
   autoreconf -fiv
   intltoolize -f
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd $pkgname-release-$pkgver
   ./configure --prefix=/usr \
   --with-alsa \
   --with-jack \
@@ -49,9 +51,9 @@
 }
 
 check() {
-  cd "${pkgname}-${pkgver}"
-  cp .libs/${pkgname}_lv2*.so data/${pkgname}.lv2/
-  lv2lint -Mpack -I "data/${pkgname}.lv2" 
"http://code.google.com/p/amsynth/amsynth";
+  cd $pkgname-release-$pkgver
+  cp .libs/${pkgname}_lv2*.so data/$pkgname.lv2/
+  lv2lint -Mpack -I data/$pkgname.lv2 
"http://code.google.com/p/amsynth/amsynth";
 }
 
 package() {
@@ -60,7 +62,6 @@
   libgtk-x11-2.0.so libharfbuzz.so libpangocairo-1.0.so libpangoft2-1.0.so
   libpango-1.0.so)
 
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="$pkgdir/" install
-  install -vDm 644 {AUTHORS,NEWS,README} -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
+  make DESTDIR="$pkgdir/" install -C $pkgname-release-$pkgver
+  install -vDm 644 $pkgname-release-$pkgver/{AUTHORS,NEWS,README} -t 
"$pkgdir/usr/share/doc/$pkgname/"
 }



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

2022-01-09 Thread David Runge via arch-commits
Date: Sunday, January 9, 2022 @ 14:25:13
  Author: dvzrv
Revision: 1098271

upgpkg: amsynth 1.12.4-1: Upgrade to 1.12.4.

Remove now included patch for fixing broken turtle file.
Fix libtool to prevent excessive overlinking.

Modified:
  amsynth/trunk/PKGBUILD

--+
 PKGBUILD |   14 +-
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-09 12:52:11 UTC (rev 1098270)
+++ PKGBUILD2022-01-09 14:25:13 UTC (rev 1098271)
@@ -3,7 +3,7 @@
 # Contributor: Alessio Biancalana 
 
 pkgname=amsynth
-pkgver=1.12.3
+pkgver=1.12.4
 pkgrel=1
 pkgdesc="Analogue Modeling SYNTHesizer"
 arch=(x86_64)
@@ -23,19 +23,13 @@
 'vst-host: for VST plugin')
 source=(
   
"${pkgname}-${pkgver}.tar.gz::https://github.com/amsynth/amsynth/archive/release-${pkgver}.tar.gz";
-  
"${pkgname}-1.12.3-lv2_invalid_word.patch::https://github.com/amsynth/amsynth/pull/200/commits/aacf6c21d833ce35f41efac2ee8ca272b5eb948e.patch";
 )
-sha512sums=('8bb7386b84b9eae4e0704a2077e82de6849d525c391bef6cbd3813d61d2c108b9a42310e47b8329a4077868d536b6c2e2f89977d2980aa1e338a19c92523bb6a'
-
'c988d330d5275ebf8b6ebe153288fc42b07bf6832ada7eace9798e1aa4805581b1159921956da724bde1bd4abe2a6572dd88e801c35e32960cfb009fe0d6df69')
-b2sums=('b7bf237acfde07df445681bfdfa60b4ef9ed32ee7b7a82e8d56dbb2a2f56887168408713978c68187d51ab3179d1247218b6688740f9b3ebf8c0c85437e80846'
-
'85fc6830a97ce1217dcce77a2d59506399117e41fc4fbd3239e3ba53d8b31537320961631b65ff34277135738bbad654b5c9632bae81d4a6ff5ac8f6531fc94c')
+sha512sums=('7dab6f161887dd48bbe81c6e2d62ab3fd13c860c526e636a2053a785074a08a5b9060fc75b865d6facf75d6281af0f4cff4c4ba178f6271117a139d7e19b26d4')
+b2sums=('ee9937830f847ef0ee92509b0f64ea2293a2a145d46ad1a465794488ede60cc95c78acae2a890f5e6614ef61b3cd7d9523b0f7f089da072dba7c77cb5a2b3b6f')
 
 prepare() {
   mv -v "${pkgname}-release-${pkgver}" "${pkgname}-${pkgver}"
   cd "${pkgname}-${pkgver}"
-  # fix an issue with invalid word in one of the lv2 turtle files:
-  # https://github.com/amsynth/amsynth/issues/199
-  patch -Np1 -i ../"${pkgname}-1.12.3-lv2_invalid_word.patch"
   autoreconf -fiv
   intltoolize -f
 }
@@ -49,6 +43,8 @@
   --with-lv2 \
   --with-vst \
   --with-pandoc
+  # prevent excessive overlinking due to libtool
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 



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

2022-01-02 Thread David Runge via arch-commits
Date: Sunday, January 2, 2022 @ 11:51:29
  Author: dvzrv
Revision: 1092087

upgpkg: amsynth 1.12.3-1: Upgrade to 1.12.3.

Apply upstreamed patch for fixing an invalid word in one of the lv2 turtle 
files.
Simplify quoting in file.
Do not break long lines.

Modified:
  amsynth/trunk/PKGBUILD

--+
 PKGBUILD |   49 +++--
 1 file changed, 27 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-02 11:24:51 UTC (rev 1092086)
+++ PKGBUILD2022-01-02 11:51:29 UTC (rev 1092087)
@@ -3,18 +3,17 @@
 # Contributor: Alessio Biancalana 
 
 pkgname=amsynth
-pkgver=1.12.2
+pkgver=1.12.3
 pkgrel=1
 pkgdesc="Analogue Modeling SYNTHesizer"
-arch=('x86_64')
+arch=(x86_64)
 url="https://amsynth.github.io/";
-license=('GPL2')
-groups=('dssi-plugins' 'lv2-plugins' 'pro-audio' 'vst-plugins')
-depends=('cairo' 'gcc-libs' 'glibc')
-makedepends=('atk' 'autoconf-archive' 'dssi' 'fontconfig' 'freetype2'
-'gdk-pixbuf2' 'glib2' 'gtk2' 'harfbuzz' 'intltool' 'jack' 'ladspa' 'liblo'
-'lv2' 'pandoc')
-checkdepends=('lv2lint')
+license=(GPL2)
+groups=(dssi-plugins lv2-plugins pro-audio vst-plugins)
+depends=(cairo gcc-libs glibc)
+makedepends=(atk autoconf-archive dssi fontconfig freetype2 gdk-pixbuf2 glib2
+gtk2 harfbuzz intltool jack ladspa liblo lv2 pandoc)
+checkdepends=(lv2lint)
 optdepends=('alsa-lib: for standalone application'
 'dssi-host: for DSSI plugin'
 'jack: for standalone application'
@@ -22,14 +21,22 @@
 'new-session-manager: for session management with the standalone 
application'
 'lv2-host: for LV2 plugin'
 'vst-host: for VST plugin')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/amsynth/amsynth/archive/release-${pkgver}.tar.gz";)
-sha512sums=('6e272f562f1318ee936ec7f175ddacc0fda1021b350693aa7d9c7e1676a6ec657beb767e9fefdfe6e9869579445cbcda9ffe3f5fc1ad2be336a26ca8c93e7872')
-b2sums=('726348a845a71b7c9bdd0fbcafbb82f90d9afa3379b92a55204888b0c98c753c3808fefbbcfae875139600e0b38b950da16ebe9828acb4309427d5ee7ae8ff99')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/amsynth/amsynth/archive/release-${pkgver}.tar.gz";
+  
"${pkgname}-1.12.3-lv2_invalid_word.patch::https://github.com/amsynth/amsynth/pull/200/commits/aacf6c21d833ce35f41efac2ee8ca272b5eb948e.patch";
+)
+sha512sums=('8bb7386b84b9eae4e0704a2077e82de6849d525c391bef6cbd3813d61d2c108b9a42310e47b8329a4077868d536b6c2e2f89977d2980aa1e338a19c92523bb6a'
+
'c988d330d5275ebf8b6ebe153288fc42b07bf6832ada7eace9798e1aa4805581b1159921956da724bde1bd4abe2a6572dd88e801c35e32960cfb009fe0d6df69')
+b2sums=('b7bf237acfde07df445681bfdfa60b4ef9ed32ee7b7a82e8d56dbb2a2f56887168408713978c68187d51ab3179d1247218b6688740f9b3ebf8c0c85437e80846'
+
'85fc6830a97ce1217dcce77a2d59506399117e41fc4fbd3239e3ba53d8b31537320961631b65ff34277135738bbad654b5c9632bae81d4a6ff5ac8f6531fc94c')
 
 prepare() {
   mv -v "${pkgname}-release-${pkgver}" "${pkgname}-${pkgver}"
   cd "${pkgname}-${pkgver}"
-  autoreconf -vfi
+  # fix an issue with invalid word in one of the lv2 turtle files:
+  # https://github.com/amsynth/amsynth/issues/199
+  patch -Np1 -i ../"${pkgname}-1.12.3-lv2_invalid_word.patch"
+  autoreconf -fiv
   intltoolize -f
 }
 
@@ -48,18 +55,16 @@
 check() {
   cd "${pkgname}-${pkgver}"
   cp .libs/${pkgname}_lv2*.so data/${pkgname}.lv2/
-  lv2lint -Mpack \
-  -I "data/${pkgname}.lv2" \
-  "http://code.google.com/p/amsynth/amsynth";
+  lv2lint -Mpack -I "data/${pkgname}.lv2" 
"http://code.google.com/p/amsynth/amsynth";
 }
 
 package() {
-  depends+=('libatk-1.0.so' 'libfontconfig.so' 'libfreetype.so'
-  'libgdk_pixbuf-2.0.so' 'libgdk-x11-2.0.so' 'libgio-2.0.so' 'libglib-2.0.so'
-  'libgobject-2.0.so' 'libgtk-x11-2.0.so' 'libharfbuzz.so'
-  'libpangocairo-1.0.so' 'libpangoft2-1.0.so' 'libpango-1.0.so')
+  depends+=(libatk-1.0.so libfontconfig.so libfreetype.so libgdk_pixbuf-2.0.so
+  libgdk-x11-2.0.so libgio-2.0.so libglib-2.0.so libgobject-2.0.so
+  libgtk-x11-2.0.so libharfbuzz.so libpangocairo-1.0.so libpangoft2-1.0.so
+  libpango-1.0.so)
+
   cd "${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir/" install
-  install -vDm 644 {AUTHORS,NEWS,README} \
--t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 {AUTHORS,NEWS,README} -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
 }