ports/164641: New port: audio/rubberband, in preparation for audio/sooperlooper

Mathias Picker Mathias.Picker at gmx.de
Mon Jan 30 16:20:12 UTC 2012


>Number:         164641
>Category:       ports
>Synopsis:       New port: audio/rubberband, in preparation for audio/sooperlooper
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 30 16:20:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mathias Picker
>Release:        
>Organization:
>Environment:
>Description:
Port of rubberband, a high quality software library for audio time-stretching and pitch-shifting, which is needed to build audio/sooperlooper. 

This needs audio/vamp-plugin-sdk, see previous send-pr.

I wanted to use a live looping sampler, there was none on FreeBSD and sooperlooper proved easy to port. No midi, sadly, but osc, which is ok for me. rubberband and vamp-plugin-sdk are needed to build sooperlooper.

I can't officially maintain this, as I have a heart condition which might stop me any day, but I will probably use this for at least a year and so keep it up to date.

I'm actually using this on a 9-stable machine, it compiles on 8-10: 
https://redports.org/buildarchive/20120114184059-59025/
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rubberband
#	rubberband/pkg-descr
#	rubberband/files
#	rubberband/files/patch-StrecherProcess.cpp
#	rubberband/files/patch-system-sysutils.h
#	rubberband/files/patch-StretcherImpl.cpp
#	rubberband/files/patch-Makefile
#	rubberband/pkg-plist
#	rubberband/distinfo
#	rubberband/Makefile
#
echo c - rubberband
mkdir -p rubberband > /dev/null 2>&1
echo x - rubberband/pkg-descr
sed 's/^X//' >rubberband/pkg-descr << '4523a95d4d189734029ae85238ba68b1'
XRubber Band Library is a high quality software library for 
Xaudio time-stretching and pitch-shifting. It permits you to 
Xchange the tempo and pitch of an audio stream or recording 
Xdynamically and independently of one another.
X
XWWW: http://breakfastquay.com/rubberband/
4523a95d4d189734029ae85238ba68b1
echo c - rubberband/files
mkdir -p rubberband/files > /dev/null 2>&1
echo x - rubberband/files/patch-StrecherProcess.cpp
sed 's/^X//' >rubberband/files/patch-StrecherProcess.cpp << 'a1b9d519effd61d4f65ecea5d4ffc528'
X--- src/StretcherProcess.cpp-dist	2012-01-08 17:24:27.535146749 +0100
X+++ src/StretcherProcess.cpp	2012-01-08 17:21:19.739152441 +0100
X@@ -26,7 +26,8 @@
X #include "system/VectorOps.h"
X 
X #ifndef _WIN32
X-#include <alloca.h>
X+/* linux stdlib include alloca.h */
X+#include <stdlib.h>
X #endif
X 
X #include <cassert>
a1b9d519effd61d4f65ecea5d4ffc528
echo x - rubberband/files/patch-system-sysutils.h
sed 's/^X//' >rubberband/files/patch-system-sysutils.h << '010d1f3a55193c60dd2eae1b75df787d'
X--- src/system/sysutils.h-dist	2012-01-08 17:15:39.369149714 +0100
X+++ src/system/sysutils.h	2012-01-08 17:19:42.384145925 +0100
X@@ -27,7 +27,8 @@
X #ifdef __MINGW32__
X #include <malloc.h>
X #else
X-#include <alloca.h>
X+/* linux stdlib also includes alloca.h */
X+#include <stdlib.h>
X #endif
X 
X 
010d1f3a55193c60dd2eae1b75df787d
echo x - rubberband/files/patch-StretcherImpl.cpp
sed 's/^X//' >rubberband/files/patch-StretcherImpl.cpp << 'f9d5c50f6750cacf005d55c35287a2ab'
X--- src/StretcherImpl.cpp-dist	2012-01-08 17:23:26.816147081 +0100
X+++ src/StretcherImpl.cpp	2012-01-08 17:22:19.098146464 +0100
X@@ -28,7 +28,7 @@
X #include "base/Profiler.h"
X 
X #ifndef _WIN32
X-#include <alloca.h>
X+#include <stdlib.h>
X #endif
X 
X #include <cassert>
f9d5c50f6750cacf005d55c35287a2ab
echo x - rubberband/files/patch-Makefile
sed 's/^X//' >rubberband/files/patch-Makefile << '4fcfa09215aef30090efb5c37f0f4d27'
X--- Makefile.in-dist	2012-01-08 17:53:50.857150609 +0100
X+++ Makefile.in	2012-01-08 17:54:03.141155975 +0100
X@@ -32,7 +32,7 @@
X INSTALL_VAMPDIR		:= @prefix@/lib/vamp
X INSTALL_LADSPADIR	:= @prefix@/lib/ladspa
X INSTALL_LRDFDIR		:= @prefix@/share/ladspa/rdf
X-INSTALL_PKGDIR		:= @prefix@/lib/pkgconfig
X+INSTALL_PKGDIR		:= @prefix@/libdata/pkgconfig
X 
X all:	bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
X 
4fcfa09215aef30090efb5c37f0f4d27
echo x - rubberband/pkg-plist
sed 's/^X//' >rubberband/pkg-plist << '21d9bc8ffd211033c477af401410b010'
Xbin/rubberband
Xinclude/rubberband/RubberBandStretcher.h
Xinclude/rubberband/rubberband-c.h
Xlib/ladspa/ladspa-rubberband.cat
Xlib/ladspa/ladspa-rubberband.so
Xlib/librubberband.a
Xlib/librubberband.so
Xlib/librubberband.so.2
Xlib/librubberband.so.2.1.0
Xlib/vamp/vamp-rubberband.cat
Xlib/vamp/vamp-rubberband.so
Xlibdata/pkgconfig/rubberband.pc
Xshare/ladspa/rdf/ladspa-rubberband.rdf
X at dirrm share/ladspa/rdf
X at dirrm share/ladspa
X at dirrm lib/vamp
X at dirrm lib/ladspa
X at dirrm include/rubberband
21d9bc8ffd211033c477af401410b010
echo x - rubberband/distinfo
sed 's/^X//' >rubberband/distinfo << '18613ebd192e69189c113ff809cafc33'
XSHA256 (rubberband-1.7.0.tar.bz2) = 8037fe0e435a756f74b524b47943a8db0a4915c8437a8a4f88cb681ed577f682
XSIZE (rubberband-1.7.0.tar.bz2) = 129328
18613ebd192e69189c113ff809cafc33
echo x - rubberband/Makefile
sed 's/^X//' >rubberband/Makefile << 'a86f3ddf0e6ee3b2ddcbca471ceb77f3'
X# New ports collection makefile for:   rubberband
X# Date created:        2012-01-08
X# Whom:                mathias.picker at gmx.de
X#
X# $FreeBSD$
X#
X
XPORTNAME=       rubberband
XPORTVERSION=    1.7.0
XCATEGORIES=     audio
XMASTER_SITES=   http://code.breakfastquay.com/attachments/download/23/
X
XMAINTAINER=     ports at freebsd.org
XCOMMENT=        Vamp audio analysis plugin SDK
X
XLICENSE=GPLv2
XLICENSE_FILE=${WRKSRC}/COPYING
X
XBUILD_DEPENDS=  ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
XLIB_DEPENDS=    sndfile.1:${PORTSDIR}/audio/libsndfile \
X		samplerate:${PORTSDIR}/audio/libsamplerate \
X		vamp-sdk.2:${PORTSDIR}/audio/vamp-plugin-sdk \
X		fftw3.6:${PORTSDIR}/math/fftw3
XRUN_DEPENDS=    ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
X
X
XUSE_BZIP2=      yes
XGNU_CONFIGURE=  yes
XUSE_GMAKE=      yes
XUSE_LDCONFIG=   yes
X
XCFLAGS+=        -I${LOCALBASE}/include
XCPPFLAGS+=      -I${LOCALBASE}/include
XLDFLAGS+=       -L${LOCALBASE}/lib
X
XUSE_GNOME=      pkgconfig
X
X.include <bsd.port.mk>
a86f3ddf0e6ee3b2ddcbca471ceb77f3
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list