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

David Runge dvzrv at archlinux.org
Sat Oct 17 10:26:07 UTC 2020


    Date: Saturday, October 17, 2020 @ 10:26:07
  Author: dvzrv
Revision: 725336

upgpkg: ninjas2 0.2.0-2: Rebuild to cleanup depends/makedepends.

Add lv2-host and vst-host to optdepends.
Disable lv2lint call in check() until upstream fixes issues.
Add all available sodeps in package() and the respective packages to makedepends.

Modified:
  ninjas2/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-17 10:24:18 UTC (rev 725335)
+++ PKGBUILD	2020-10-17 10:26:07 UTC (rev 725336)
@@ -2,19 +2,21 @@
 
 pkgname=ninjas2
 pkgver=0.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A sample slicer audio plugin"
 arch=('x86_64')
 url="https://github.com/rghvdberg/ninjas2"
 license=('GPL3')
 groups=('lv2-plugins' 'pro-audio' 'vst-plugins')
-depends=('gcc-libs' 'glibc' 'libaubio.so' 'libglvnd' 'libsamplerate'
-'libsndfile.so' 'libx11')
-makedepends=('gendesk' 'libjack.so')
+depends=('gcc-libs' 'glibc' 'libglvnd' 'libx11')
+makedepends=('aubio' 'gendesk' 'jack' 'libsamplerate' 'libsndfile')
 checkdepends=('lv2lint')
-optdepends=('libjack.so: for standalone application')
+optdepends=('jack: for standalone application'
+            'lv2-host: for LV2 plugin'
+            'vst-host: for VST plugin')
 source=("https://github.com/rghvdberg/${pkgname}/releases/download/v${pkgver}/${pkgname}-v${pkgver}-source.zip")
 sha512sums=('b05c4d2eaba91a1104cb2700b857e0b428a9bb574973616c1477a6c993c6290bb31343f071d0607c0d6c21830fd29523d814aff2bb12442a8ca45e06efd75506')
+b2sums=('aac12947bbb217b22a81a6c53801cfd39e11ed37fbc63b5882825b918d5033517f62cd1c8479cd87e6af5410f78e1481eb28e0b73f6afa21c49a837829fdb218')
 
 prepare() {
   mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
@@ -41,10 +43,13 @@
 
 check() {
   cd "$pkgname-$pkgver"
-  LV2_PATH="${PWD}/bin" lv2lint "https://github.com/rghvdberg/ninjas2" || echo "https://github.com/rghvdberg/ninjas2/issues/76"
+  # lv2lint segfaults on the plugin :(
+  # https://github.com/clearly-broken-software/ninjas2/issues/76
+  # lv2lint -Mpack -I "${PWD}/bin/${pkgname}.lv2/" "https://github.com/rghvdberg/ninjas2"
 }
 
 package() {
+  depends+=('libaubio.so' 'libsamplerate.so' 'libsndfile.so')
   cd "$pkgname-$pkgver"
   install -vDm 755 "bin/${pkgname}" -t "${pkgdir}/usr/bin"
   install -vDm 755 "bin/${pkgname}-vst.so" -t "${pkgdir}/usr/lib/vst"



More information about the arch-commits mailing list