[arch-commits] Commit in python-zita-jacktools/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Feb 18 19:40:14 UTC 2021


    Date: Thursday, February 18, 2021 @ 19:40:14
  Author: dvzrv
Revision: 865080

upgpkg: python-zita-jacktools 1.2.1-1: Upgrade to 1.2.1.

Add all available sodeps in package() and add the respective packages to makedepends.
Simplify installation of examples using find.
Switch to correct license (GPL3).

Modified:
  python-zita-jacktools/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-18 19:37:08 UTC (rev 865079)
+++ PKGBUILD	2021-02-18 19:40:14 UTC (rev 865080)
@@ -2,16 +2,18 @@
 
 _name=zita-jacktools
 pkgname=python-zita-jacktools
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.2.1
+pkgrel=1
 pkgdesc="Audio tools running as a Jack client"
 arch=('x86_64')
 url="https://kokkinizita.linuxaudio.org/linuxaudio"
-license=('LGPL')
-depends=('python-zita-audiotools' 'zita-convolver' 'zita-jclient')
-makedepends=('python-setuptools')
+license=('GPL3')
+depends=('gcc-libs' 'glibc' 'python-zita-audiotools')
+makedepends=('fftw' 'jack' 'libsndfile' 'python-setuptools' 'zita-convolver'
+'zita-jclient' 'zita-resampler')
 source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${_name}-${pkgver}.tar.bz2")
-sha512sums=('68771fcb59aa5f9b915c1963a8da8615d701dbfb16d618b64b2e13fbb64a2a02b5525e15a74916138601eb1310b862c09e25c62977ea52802d59c8e12453bcc6')
+sha512sums=('df244a653b662bf117fbb37dd680df1a90a7ac0bb11638ea352fcc17da1902552bc4e00940cbdcc7bdbb22be46c06302b60068fb4874cf06176a9089439cf294')
+b2sums=('50f426ed17a53b234f1deb1ee7d26f2d573a904804ea26192b46f76b13715c1200978e4c4275a2e4543dd3fe84d28118b46913dab18a8d4fe8c92caa3f50de39')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
@@ -23,15 +25,19 @@
 }
 
 package() {
+  depends+=('libfftw3f.so' 'libjack.so' 'libsndfile.so' 'libzita-convolver.so'
+  'libzita-jclient.so' 'libzita-resampler.so')
+
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
     --optimize=1 \
-    --prefix=/usr \
     --root="${pkgdir}"
-  for example in {JackLR4filt,JackGainctl,JackIECfilt,JackPeaklim,JackPlayer,utils,JackParameq,JackSignal,JackNmeter}; do
-    install -vDm 644 "examples/${example}/"*.py \
-      -t "${pkgdir}/usr/share/doc/${pkgname}/examples/${example}"
-  done
-  install -vDm 644 examples/JackMatrix/{README,presets,*.py} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/examples/JackMatrix"
+
+  # examples
+  find examples -type f \
+    \( -iname "*.py" \
+    -or -iname "*README" \
+    -or -iname "*presets" \
+    \) \
+    -exec install -vDm 644 {} "${pkgdir}/usr/share/doc/${pkgname}/"{} \;
 }


More information about the arch-commits mailing list