[arch-commits] Commit in rubberband/repos (2 files)

David Runge dvzrv at gemini.archlinux.org
Tue Oct 26 20:52:40 UTC 2021


    Date: Tuesday, October 26, 2021 @ 20:52:39
  Author: dvzrv
Revision: 1034489

archrelease: copy trunk to community-testing-x86_64

Added:
  rubberband/repos/community-testing-x86_64/
  rubberband/repos/community-testing-x86_64/PKGBUILD
    (from rev 1034488, rubberband/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: rubberband/repos/community-testing-x86_64/PKGBUILD (from rev 1034488, rubberband/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-10-26 20:52:39 UTC (rev 1034489)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Felipe Machado aka arch_audio <machado.felipe at gmail.com>
+
+pkgname=rubberband
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Time-stretching and pitch-shifting audio library and utility"
+arch=('x86_64')
+url="https://www.breakfastquay.com/rubberband/"
+license=('GPL2')
+depends=('gcc-libs' 'glibc')
+makedepends=('fftw' 'ladspa' 'meson' 'java-environment' 'libsamplerate'
+'libsndfile' 'vamp-plugin-sdk')
+optdepends=(
+  'ladspa-host: for LADSPA plugin'
+  'vamp-host: for VAMP plugin'
+  'vamp-plugin-sdk: for VAMP plugin'
+)
+provides=('librubberband.so' 'librubberband-jni.so')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/breakfastquay/rubberband/archive/v$pkgver.tar.gz")
+sha512sums=('e8ad34d77f196df971630a182dc214775386a43f35aa990678170e9203d97c19550a8f6467d46df29b5766702b10df5aaf612f804068da83872af621a8ea1d67')
+b2sums=('48cc6fd80b182c87ed5fcc1fe3d9eb9c3bb748b713866099c6deceba70435fbc2035240ab7055a8aea2f89f8bf80dc29c5fb567506532504fd2b0151248215c0')
+
+build() {
+  local java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' -f2| cut -d '.' -f1)
+  export JAVA_HOME="/usr/lib/jvm/java-${java_major}-openjdk"
+  cd "$pkgname-$pkgver"
+  arch-meson -Dfft=fftw \
+            -Dresampler=libsamplerate \
+            -Dextra_include_dirs="/usr/lib/jvm/java-${java_major}-openjdk/include,/usr/lib/jvm/java-${java_major}-openjdk/include/linux" \
+            build
+  ninja -C build
+}
+
+package() {
+  depends+=('libfftw3.so' 'libsamplerate.so' 'libsndfile.so')
+  cd "$pkgname-$pkgver"
+  DESTDIR="${pkgdir}" meson install -C build
+  # docs
+  install -vDm 644 {CHANGELOG,README.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}



More information about the arch-commits mailing list