aboutsummaryrefslogtreecommitdiff
path: root/audio/rubberband
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-02-07 06:37:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-02-07 06:37:49 +0000
commit8cd71a337dae1a9f130021bbc66f7b26a84f7e0f (patch)
tree5a59127a990cbc13db21b4d2285c9ab6b620652d /audio/rubberband
parent6a0240e9c79df50665ac9cdd5287efc71a953650 (diff)
downloadports-8cd71a337dae1a9f130021bbc66f7b26a84f7e0f.tar.gz
ports-8cd71a337dae1a9f130021bbc66f7b26a84f7e0f.zip
Rubber Band Library is a high quality software library for audio time-stretching
and pitch-shifting. It permits you to change the tempo and pitch of an audio stream or recording dynamically and independently of one another. WWW: http://breakfastquay.com/rubberband/ PR: ports/164641 Submitted by: mathias.picker@gmx.de
Notes
Notes: svn path=/head/; revision=290569
Diffstat (limited to 'audio/rubberband')
-rw-r--r--audio/rubberband/Makefile37
-rw-r--r--audio/rubberband/distinfo2
-rw-r--r--audio/rubberband/files/patch-Makefile11
-rw-r--r--audio/rubberband/files/patch-StrecherProcess.cpp12
-rw-r--r--audio/rubberband/files/patch-StretcherImpl.cpp11
-rw-r--r--audio/rubberband/files/patch-system-sysutils.h12
-rw-r--r--audio/rubberband/pkg-descr5
-rw-r--r--audio/rubberband/pkg-plist18
8 files changed, 108 insertions, 0 deletions
diff --git a/audio/rubberband/Makefile b/audio/rubberband/Makefile
new file mode 100644
index 000000000000..7ca540f4d8cd
--- /dev/null
+++ b/audio/rubberband/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: rubberband
+# Date created: 2012-01-08
+# Whom: mathias.picker@gmx.de
+#
+# $FreeBSD$
+#
+
+PORTNAME= rubberband
+PORTVERSION= 1.7.0
+CATEGORIES= audio
+MASTER_SITES= http://code.breakfastquay.com/attachments/download/23/
+
+MAINTAINER= miwi@freebsd.org
+COMMENT= Vamp audio analysis plugin SDK
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
+ samplerate:${PORTSDIR}/audio/libsamplerate \
+ vamp-sdk.2:${PORTSDIR}/audio/vamp-plugin-sdk \
+ fftw3.6:${PORTSDIR}/math/fftw3
+RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+
+CFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+USE_GNOME= pkgconfig
+
+.include <bsd.port.mk>
diff --git a/audio/rubberband/distinfo b/audio/rubberband/distinfo
new file mode 100644
index 000000000000..d4c852c3afa9
--- /dev/null
+++ b/audio/rubberband/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubberband-1.7.0.tar.bz2) = 8037fe0e435a756f74b524b47943a8db0a4915c8437a8a4f88cb681ed577f682
+SIZE (rubberband-1.7.0.tar.bz2) = 129328
diff --git a/audio/rubberband/files/patch-Makefile b/audio/rubberband/files/patch-Makefile
new file mode 100644
index 000000000000..76e93aae9197
--- /dev/null
+++ b/audio/rubberband/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.in-dist 2012-01-08 17:53:50.857150609 +0100
++++ Makefile.in 2012-01-08 17:54:03.141155975 +0100
+@@ -32,7 +32,7 @@
+ INSTALL_VAMPDIR := @prefix@/lib/vamp
+ INSTALL_LADSPADIR := @prefix@/lib/ladspa
+ INSTALL_LRDFDIR := @prefix@/share/ladspa/rdf
+-INSTALL_PKGDIR := @prefix@/lib/pkgconfig
++INSTALL_PKGDIR := @prefix@/libdata/pkgconfig
+
+ all: bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
+
diff --git a/audio/rubberband/files/patch-StrecherProcess.cpp b/audio/rubberband/files/patch-StrecherProcess.cpp
new file mode 100644
index 000000000000..733775d18915
--- /dev/null
+++ b/audio/rubberband/files/patch-StrecherProcess.cpp
@@ -0,0 +1,12 @@
+--- src/StretcherProcess.cpp-dist 2012-01-08 17:24:27.535146749 +0100
++++ src/StretcherProcess.cpp 2012-01-08 17:21:19.739152441 +0100
+@@ -26,7 +26,8 @@
+ #include "system/VectorOps.h"
+
+ #ifndef _WIN32
+-#include <alloca.h>
++/* linux stdlib include alloca.h */
++#include <stdlib.h>
+ #endif
+
+ #include <cassert>
diff --git a/audio/rubberband/files/patch-StretcherImpl.cpp b/audio/rubberband/files/patch-StretcherImpl.cpp
new file mode 100644
index 000000000000..47f7b2914ff1
--- /dev/null
+++ b/audio/rubberband/files/patch-StretcherImpl.cpp
@@ -0,0 +1,11 @@
+--- src/StretcherImpl.cpp-dist 2012-01-08 17:23:26.816147081 +0100
++++ src/StretcherImpl.cpp 2012-01-08 17:22:19.098146464 +0100
+@@ -28,7 +28,7 @@
+ #include "base/Profiler.h"
+
+ #ifndef _WIN32
+-#include <alloca.h>
++#include <stdlib.h>
+ #endif
+
+ #include <cassert>
diff --git a/audio/rubberband/files/patch-system-sysutils.h b/audio/rubberband/files/patch-system-sysutils.h
new file mode 100644
index 000000000000..df83b04d3e71
--- /dev/null
+++ b/audio/rubberband/files/patch-system-sysutils.h
@@ -0,0 +1,12 @@
+--- src/system/sysutils.h-dist 2012-01-08 17:15:39.369149714 +0100
++++ src/system/sysutils.h 2012-01-08 17:19:42.384145925 +0100
+@@ -27,7 +27,8 @@
+ #ifdef __MINGW32__
+ #include <malloc.h>
+ #else
+-#include <alloca.h>
++/* linux stdlib also includes alloca.h */
++#include <stdlib.h>
+ #endif
+
+
diff --git a/audio/rubberband/pkg-descr b/audio/rubberband/pkg-descr
new file mode 100644
index 000000000000..9a6114d385ea
--- /dev/null
+++ b/audio/rubberband/pkg-descr
@@ -0,0 +1,5 @@
+Rubber Band Library is a high quality software library for audio time-stretching
+and pitch-shifting. It permits you to change the tempo and pitch of an audio
+stream or recording dynamically and independently of one another.
+
+WWW: http://breakfastquay.com/rubberband/
diff --git a/audio/rubberband/pkg-plist b/audio/rubberband/pkg-plist
new file mode 100644
index 000000000000..94dfab0a2d93
--- /dev/null
+++ b/audio/rubberband/pkg-plist
@@ -0,0 +1,18 @@
+bin/rubberband
+include/rubberband/RubberBandStretcher.h
+include/rubberband/rubberband-c.h
+lib/ladspa/ladspa-rubberband.cat
+lib/ladspa/ladspa-rubberband.so
+lib/librubberband.a
+lib/librubberband.so
+lib/librubberband.so.2
+lib/librubberband.so.2.1.0
+lib/vamp/vamp-rubberband.cat
+lib/vamp/vamp-rubberband.so
+libdata/pkgconfig/rubberband.pc
+share/ladspa/rdf/ladspa-rubberband.rdf
+@dirrm share/ladspa/rdf
+@dirrm share/ladspa
+@dirrm lib/vamp
+@dirrm lib/ladspa
+@dirrm include/rubberband