[arch-commits] Commit in spectmorph/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Feb 13 16:58:06 UTC 2020


    Date: Thursday, February 13, 2020 @ 16:58:05
  Author: dvzrv
Revision: 570632

archrelease: copy trunk to community-x86_64

Added:
  spectmorph/repos/community-x86_64/PKGBUILD
    (from rev 570631, spectmorph/trunk/PKGBUILD)
Deleted:
  spectmorph/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 58 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 16:57:48 UTC (rev 570631)
+++ PKGBUILD	2020-02-13 16:58:05 UTC (rev 570632)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-pkgname=spectmorph
-pkgver=0.5.0
-pkgrel=2
-pkgdesc="Analyze samples of musical instruments and combine them (morphing)"
-arch=('x86_64')
-url="http://spectmorph.org/"
-license=('LGPL3')
-groups=('lv2-plugins' 'pro-audio')
-depends=('cairo' 'fftw' 'jack' 'libao' 'qt5-base')
-makedepends=('lv2')
-source=("http://www.spectmorph.org/files/releases/${pkgname}-${pkgver}.tar.bz2"
-        "http://spectmorph.org/files/instruments/${pkgname}-instruments-${pkgver}.tar.xz")
-sha512sums=('588c4d2cf15720569f6dae2559da1d5039e894e8e9804ac2959075818be6c50cc3c89f25ade004f6501bfb9bca849bd62b069ca52acd0f438fdf44340d4894a3'
-            'a7c909bf653ba206480b15208991b308b279a12a31dda2a61ee612c3c71524804195f9d2a69f0ca8e819650ca1982e5461a4222621447ce991ac63e5ee9254b9')
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr \
-              --with-lv2 \
-              --with-jack \
-              --with-qt
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  # standard instruments
-  install -vDm 644 ../instruments/standard/* \
-    -t "${pkgdir}/usr/share/${pkgname}/instruments/standard/"
-  # docs
-  install -vDm 644 {AUTHORS,DESIGN,NEWS,README.md,TODO} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  # sminstbuilder is not compatible with python3:
-  # https://github.com/swesterfeld/spectmorph/issues/6
-  rm -v "${pkgdir}/usr/bin/sminstbuilder"
-}

Copied: spectmorph/repos/community-x86_64/PKGBUILD (from rev 570631, spectmorph/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 16:58:05 UTC (rev 570632)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=spectmorph
+pkgver=0.5.1
+pkgrel=1
+pkgdesc="Analyze samples of musical instruments and combine them (morphing)"
+arch=('x86_64')
+url="http://spectmorph.org/"
+license=('LGPL3')
+groups=('lv2-plugins' 'pro-audio' 'vst-plugins')
+depends=('cairo' 'gcc-libs' 'glib2' 'glibc' 'libao' 'libglvnd' 'libx11' 'zlib')
+makedepends=('fftw' 'freetype2' 'jack' 'lv2' 'libsndfile' 'qt5-base')
+checkdepends=('lv2lint')
+optdepends=('jack: for smjack and smsampleedit'
+            'qt5-base: for sminspector and smsampleedit')
+provides=('libspectmorphjack.so' 'libspectmorphgui.so' 'libspectmorphglui.so'
+'libspectmorph.so')
+source=("http://www.spectmorph.org/files/releases/${pkgname}-${pkgver}.tar.bz2"
+        "http://spectmorph.org/files/instruments/${pkgname}-instruments-${pkgver}.tar.xz")
+sha512sums=('db5770266d1cdcb1dc64c369fc8ea9580741a8d7d766e3c298fdf175db4cf5daf2abb55213e3f6e9a93f42e103c86eb3b3dce10f2e945441c3048e847c811b01'
+            '7cfb94b312a9d3f73dd0c87185cd398fdb3373ee4ec2e904033a1cbaa43296cd43a247dd81365cecd07609354c0bbd15cf2ee379fb36b890736f0cff1e7bc689')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --with-lv2 \
+              --with-jack \
+              --with-qt
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cp -v lv2/.libs/*.so lv2/
+  LV2_PATH="${PWD}" lv2lint "http://spectmorph.org/plugins/spectmorph" || echo "Known failing tests: https://github.com/swesterfeld/spectmorph/issues/8"
+  rm -v lv2/*.so
+}
+
+package() {
+  depends+=('libfftw3f.so' 'libfftw3f_threads.so' 'libfreetype.so'
+  'libsndfile.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  # standard instruments
+  install -vDm 644 ../instruments/standard/* \
+    -t "${pkgdir}/usr/share/${pkgname}/instruments/standard/"
+  # docs
+  install -vDm 644 {AUTHORS,DESIGN,NEWS,README.md,TODO} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # sminstbuilder is not compatible with python3:
+  # https://github.com/swesterfeld/spectmorph/issues/6
+  rm -v "${pkgdir}/usr/bin/sminstbuilder"
+}



More information about the arch-commits mailing list