summaryrefslogtreecommitdiff
path: root/audio/rubberband
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-30 08:57:14 +0000
committernia <nia@pkgsrc.org>2019-07-30 08:57:14 +0000
commit13b675f8efbbcae28f06741e54fde5f4d4422321 (patch)
treeaaee6946c39b90e5028e3c3fa5c769388e665272 /audio/rubberband
parentdfb06c7cbff056b05a6fc35f0db49ce335d88250 (diff)
downloadpkgsrc-13b675f8efbbcae28f06741e54fde5f4d4422321.tar.gz
rubberband: Update to 1.8.2
Changes in Rubber Band v1.8.2 * Fix a number of small memory leaks * Make stretcher more robust to being fed invalid input (with NaNs) * Include iOS build file * Various platform build fixes and improvements The API is unchanged and the library is binary compatible with version 1.7.
Diffstat (limited to 'audio/rubberband')
-rw-r--r--audio/rubberband/Makefile12
-rw-r--r--audio/rubberband/PLIST4
-rw-r--r--audio/rubberband/distinfo11
-rw-r--r--audio/rubberband/patches/patch-Makefile.in18
4 files changed, 33 insertions, 12 deletions
diff --git a/audio/rubberband/Makefile b/audio/rubberband/Makefile
index 7fa016c4dc9..f48a5e75f8c 100644
--- a/audio/rubberband/Makefile
+++ b/audio/rubberband/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.2 2016/06/19 14:33:11 prlw1 Exp $
+# $NetBSD: Makefile,v 1.3 2019/07/30 08:57:14 nia Exp $
-DISTNAME= rubberband-1.8.1
+DISTNAME= rubberband-1.8.2
CATEGORIES= audio
-MASTER_SITES= http://code.breakfastquay.com/attachments/download/34/
+MASTER_SITES= https://breakfastquay.com/files/releases/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://breakfastquay.com/rubberband/
+HOMEPAGE= https://breakfastquay.com/rubberband/
COMMENT= Audio time-stretching and pitch-shifting library
LICENSE= gnu-gpl-v2
@@ -17,7 +17,9 @@ USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= rubberband.pc.in
.include "../../audio/ladspa/buildlink3.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/vamp-plugin-sdk/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
-.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/rubberband/PLIST b/audio/rubberband/PLIST
index 745c6734527..326f054e256 100644
--- a/audio/rubberband/PLIST
+++ b/audio/rubberband/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2015/12/28 03:29:33 kamil Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/07/30 08:57:14 nia Exp $
bin/rubberband
include/rubberband/RubberBandStretcher.h
include/rubberband/rubberband-c.h
@@ -7,7 +7,7 @@ lib/ladspa/ladspa-rubberband.so
lib/librubberband.a
lib/librubberband.so
lib/librubberband.so.2
-lib/librubberband.so.2.1.0
+lib/librubberband.so.2.1.1
lib/pkgconfig/rubberband.pc
lib/vamp/vamp-rubberband.cat
lib/vamp/vamp-rubberband.so
diff --git a/audio/rubberband/distinfo b/audio/rubberband/distinfo
index 0746d40479b..8375889bb26 100644
--- a/audio/rubberband/distinfo
+++ b/audio/rubberband/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.1 2015/12/28 03:29:33 kamil Exp $
+$NetBSD: distinfo,v 1.2 2019/07/30 08:57:14 nia Exp $
-SHA1 (rubberband-1.8.1.tar.bz2) = ae1faaef211d612db745d66d77266cf6789fd4ee
-RMD160 (rubberband-1.8.1.tar.bz2) = 21178218aeffb0a0827ba8c4fd32e95f5a08b295
-SHA512 (rubberband-1.8.1.tar.bz2) = 9721eaa36b80574f90b8ae5cfae388159a239e4257b8c85b9e55e7cf0dbbb9a996b857213a6a172a4ada5ff712e6936a16adbe08396e2ab1df3fd8d5a02a3620
-Size (rubberband-1.8.1.tar.bz2) = 177501 bytes
+SHA1 (rubberband-1.8.2.tar.bz2) = 6398c8b8448befe06dc5250967df06974b7ea1bc
+RMD160 (rubberband-1.8.2.tar.bz2) = 4178002a1f318c7e104afa9e76321dca07bcbe95
+SHA512 (rubberband-1.8.2.tar.bz2) = da677f9a843711c44c52c0153faa62e587ac7c010569523ef4fef7ce941b9d292e566f46147700e496f6cfff4c9f22f9901dcc93f2d701fdb9de152ddac0c3a6
+Size (rubberband-1.8.2.tar.bz2) = 182232 bytes
+SHA1 (patch-Makefile.in) = 095ff1f7ceef08126a9d61aa51acbff8babc9e3a
SHA1 (patch-src_StretcherImpl.cpp) = 609774b9d573fa92ce79f1b11bd7af8e585e3cef
SHA1 (patch-src_StretcherProcess.cpp) = 45c23ddd2ba92b11c6d5063597ea1594690e33ec
SHA1 (patch-src_system_sysutils.h) = bd97bca9c18ce66d05a1870d63cfc5107584949a
diff --git a/audio/rubberband/patches/patch-Makefile.in b/audio/rubberband/patches/patch-Makefile.in
new file mode 100644
index 00000000000..d4cf0608e65
--- /dev/null
+++ b/audio/rubberband/patches/patch-Makefile.in
@@ -0,0 +1,18 @@
+$NetBSD: patch-Makefile.in,v 1.1 2019/07/30 08:57:14 nia Exp $
+
+Do not install the JNI libraries, they do not get built.
+
+--- Makefile.in.orig 2018-05-15 17:43:39.000000000 +0000
++++ Makefile.in
+@@ -179,11 +179,9 @@ install: all
+ cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
+ rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
+ rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
+- rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
+ cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION)
+ ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
+ ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
+- cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
+ cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
+ cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
+ cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)