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

David Runge dvzrv at archlinux.org
Thu May 7 22:57:19 UTC 2020


    Date: Thursday, May 7, 2020 @ 22:57:19
  Author: dvzrv
Revision: 625504

upgpkg: amsynth 1.10.0-1: Upgrading to 1.10.0.

Adding all sodeps in package() and the respective packages to makedepends.
Adding oscpack as optdepends for non-session-manager support.
Running lv2lint against lv2 plugin and reporting problems upstream.
Updating maintainer info.

Modified:
  amsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-07 22:30:46 UTC (rev 625503)
+++ PKGBUILD	2020-05-07 22:57:19 UTC (rev 625504)
@@ -1,9 +1,9 @@
-# Maintainer : David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 # Contributor: Alessio Biancalana <dottorblaster at gmail.com>
 
 pkgname=amsynth
-pkgver=1.9.0
+pkgver=1.10.0
 pkgrel=1
 pkgdesc="Analogue Modeling SYNTHesizer"
 arch=('x86_64')
@@ -10,14 +10,22 @@
 url="https://amsynth.github.io/"
 license=('GPL2')
 groups=('dssi-plugins' 'lv2-plugins' 'pro-audio' 'vst-plugins')
-depends=('gtk2' 'jack' 'liblo')
-makedepends=('dssi' 'ladspa' 'lv2' 'intltool' 'pandoc')
-source=("https://github.com/amsynth/amsynth/releases/download/release-${pkgver}/amsynth-${pkgver}.tar.bz2")
-sha512sums=('4600c0ca8ee2cfecdbaa272bf9a29a29386b04081fe2b75fa3d12c7d53c75a32803f30d1822c36db64009f8c38258f2e22c4e59210b882de0568d5241c623965')
+depends=('cairo' 'fontconfig' 'gcc-libs' 'gdk-pixbuf2' 'glibc')
+makedepends=('atk' 'dssi' 'freetype2' 'glib2' 'gtk2' 'harfbuzz' 'jack' 'ladspa'
+'liblo' 'lv2' 'intltool' 'pandoc')
+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')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/amsynth/amsynth/archive/release-${pkgver}.tar.gz")
+sha512sums=('951a74d10e4669b0b4bff5d02f12a1dcb62dbb2b04044174554df8ff30ff2f6b5965af922943b13bbafb969cc2ae78eade394e98aca7df8fd8c27feacbe64605')
 
 prepare() {
+  mv -v "${pkgname}-release-${pkgver}" "${pkgname}-${pkgver}"
   cd "${pkgname}-${pkgver}"
   autoreconf -vfi
+  intltoolize -f
 }
 
 build() {
@@ -25,7 +33,6 @@
   ./configure --prefix=/usr \
     --with-alsa \
     --with-jack \
-    --with-sndfile \
     --with-dssi \
     --with-lv2 \
     --with-vst \
@@ -33,7 +40,19 @@
   make
 }
 
+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" || echo "Known to fail: https://github.com/amsynth/amsynth/issues/159"
+}
+
 package() {
+  depends+=('libatk-1.0.so' 'libfreetype.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' 'liblo.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} \



More information about the arch-commits mailing list