Date: Saturday, October 1, 2022 @ 09:28:12
Author: dvzrv
Revision: 1320128
archrelease: copy trunk to community-x86_64
Added:
rubberband/repos/community-x86_64/PKGBUILD
(from rev 1320127, rubberband/trunk/PKGBUILD)
Deleted:
rubberband/repos/community-x86_64/PKGBUILD
rubberband/repos/community-x86_64/rubberband-3.0.0-jni_allocators_include.patch
-----------------------------------------------+
PKGBUILD | 102 +++++++++++-------------
rubberband-3.0.0-jni_allocators_include.patch | 12 --
2 files changed, 48 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-01 09:27:55 UTC (rev 1320127)
+++ PKGBUILD 2022-10-01 09:28:12 UTC (rev 1320128)
@@ -1,54 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Ray Rashif <[email protected]>
-# Contributor: Felipe Machado aka arch_audio <[email protected]>
-
-pkgname=rubberband
-pkgver=3.0.0
-pkgrel=2
-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 java-environment ladspa meson 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)
-options=(debug)
-source=(
-
$pkgname-$pkgver.tar.gz::https://github.com/breakfastquay/$pkgname/archive/v$pkgver.tar.gz
- $pkgname-3.0.0-jni_allocators_include.patch
-)
-sha512sums=('384985e58a3fc5d9646428678ee6bcef2d232abed6d86b623302a78a4bf6e59e2fd5f5939e28bb988e82aa6f424fd1510e8e014a4ad1c96efe0010b61651a133'
-
'8d161b95a873bbf07d1ac12b2f15c5d99401d2472d1ee869f39bea3e8d1034c85958caef6f2b1edeb74a77278274707bfbea29c6934839a714cfaa2ab3276098')
-b2sums=('d0080c336ae7c86ad3a99d9974f6be2fa5ed19cf21790d84bfacb57ec333a29fac626314af4787e98d1329bffe66919185de9da0f38d91430a07a5017f89c324'
-
'091259da4d3b62ec61f976d1194f1ea48131764c75d17708475dc38866b06f97454361cb628313b92e43350b986077ee305b1b46e1f9d1cec59cd2471c188ef5')
-
-prepare() {
- # fix broken include: https://github.com/breakfastquay/rubberband/pull/64
- patch -Np1 -d $pkgname-$pkgver -i
../$pkgname-3.0.0-jni_allocators_include.patch
-}
-
-build() {
- local java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' '
-f2| cut -d '.' -f1)
- local meson_options=(
- -Dfft=fftw
- -Dresampler=libsamplerate
-
-Dextra_include_dirs="/usr/lib/jvm/java-$java_major-openjdk/include,/usr/lib/jvm/java-$java_major-openjdk/include/linux"
- )
- export JAVA_HOME="/usr/lib/jvm/java-$java_major-openjdk"
-
- arch-meson build $pkgname-$pkgver "${meson_options[@]}"
- ninja -C build
-}
-
-package() {
- depends+=(libfftw3.so libsamplerate.so libsndfile.so)
-
- DESTDIR="$pkgdir" meson install -C build
- install -vDm 644 $pkgname-$pkgver/{CHANGELOG,README.md} -t
"$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: rubberband/repos/community-x86_64/PKGBUILD (from rev 1320127,
rubberband/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-01 09:28:12 UTC (rev 1320128)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Ray Rashif <[email protected]>
+# Contributor: Felipe Machado aka arch_audio <[email protected]>
+
+pkgname=rubberband
+pkgver=3.1.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 java-environment ladspa meson 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)
+options=(debug)
+source=($pkgname-$pkgver.tar.gz::https://github.com/breakfastquay/$pkgname/archive/v$pkgver.tar.gz)
+sha512sums=('0c29fb471c968f3038e4b45c056646c94523d86a8701cefed3792b14aeca4aab52ef2e67e46fdc2c169f82710cb2b5f51e53202733a3710eee8d4c94e52b87c2')
+b2sums=('73534d870624339dcf6823d6711e7a897de9501a61e54200b296529628a8b116c83a381befd295549b4c84fb3b7841f6ab5ede621f1645952f2d14b556e33afc')
+
+build() {
+ local java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' '
-f2| cut -d '.' -f1)
+ local meson_options=(
+ -Dfft=fftw
+ -Dresampler=libsamplerate
+
-Dextra_include_dirs="/usr/lib/jvm/java-$java_major-openjdk/include,/usr/lib/jvm/java-$java_major-openjdk/include/linux"
+ )
+ export JAVA_HOME="/usr/lib/jvm/java-$java_major-openjdk"
+
+ arch-meson build $pkgname-$pkgver "${meson_options[@]}"
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ depends+=(libfftw3.so libsamplerate.so libsndfile.so)
+
+ DESTDIR="$pkgdir" meson install -C build
+ install -vDm 644 $pkgname-$pkgver/{CHANGELOG,README.md} -t
"$pkgdir/usr/share/doc/$pkgname/"
+}
Deleted: rubberband-3.0.0-jni_allocators_include.patch
===================================================================
--- rubberband-3.0.0-jni_allocators_include.patch 2022-10-01 09:27:55 UTC
(rev 1320127)
+++ rubberband-3.0.0-jni_allocators_include.patch 2022-10-01 09:28:12 UTC
(rev 1320128)
@@ -1,12 +0,0 @@
-diff -ruN a/src/jni/RubberBandStretcherJNI.cpp
b/src/jni/RubberBandStretcherJNI.cpp
---- a/src/jni/RubberBandStretcherJNI.cpp 2022-07-07 16:59:45.000000000
+0200
-+++ b/src/jni/RubberBandStretcherJNI.cpp 2022-07-21 12:18:31.365087090
+0200
-@@ -23,7 +23,7 @@
-
- #include "rubberband/RubberBandStretcher.h"
-
--#include "system/Allocators.h"
-+#include "../common/Allocators.h"
-
- #include <jni.h>
-