Mon Dec 28 03:29:33 2015 UTC ()
Import rubberband-1.8.1 as audio/rubberband

Rubber Band is a library and utility program that permits you to change the
tempo and pitch of an audio recording independently of one another.


(kamil)
diff -r0 -r1.1 pkgsrc/audio/rubberband/DESCR
diff -r0 -r1.1 pkgsrc/audio/rubberband/Makefile
diff -r0 -r1.1 pkgsrc/audio/rubberband/PLIST
diff -r0 -r1.1 pkgsrc/audio/rubberband/buildlink3.mk
diff -r0 -r1.1 pkgsrc/audio/rubberband/distinfo
diff -r0 -r1.1 pkgsrc/audio/rubberband/patches/patch-src_StretcherImpl.cpp
diff -r0 -r1.1 pkgsrc/audio/rubberband/patches/patch-src_StretcherProcess.cpp
diff -r0 -r1.1 pkgsrc/audio/rubberband/patches/patch-src_system_sysutils.h

File Added: pkgsrc/audio/rubberband/DESCR
Rubber Band is a library and utility program that permits you to change the
tempo and pitch of an audio recording independently of one another.

File Added: pkgsrc/audio/rubberband/Makefile
# $NetBSD: Makefile,v 1.1 2015/12/28 03:29:33 kamil Exp $

DISTNAME=	rubberband-1.8.1
CATEGORIES=	audio
MASTER_SITES=	http://code.breakfastquay.com/attachments/download/34/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.rog
HOMEPAGE=	http://breakfastquay.com/rubberband/
COMMENT=	Audio time-stretching and pitch-shifting library
LICENSE=	gnu-gpl-v2

GNU_CONFIGURE=	yes
USE_TOOLS+=	pkg-config gmake
USE_LANGUAGES=	c c++

PKGCONFIG_OVERRIDE+=	rubberband.pc.in

.include "../../audio/ladspa/buildlink3.mk"
.include "../../audio/vamp-plugin-sdk/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/audio/rubberband/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/12/28 03:29:33 kamil Exp $
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/pkgconfig/rubberband.pc
lib/vamp/vamp-rubberband.cat
lib/vamp/vamp-rubberband.so
share/ladspa/rdf/ladspa-rubberband.rdf

File Added: pkgsrc/audio/rubberband/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2015/12/28 03:29:33 kamil Exp $

BUILDLINK_TREE+=	rubberband

.if !defined(RUBBERBAND_BUILDLINK3_MK)
RUBBERBAND_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.rubberband+=	rubberband>=1.8.1
BUILDLINK_PKGSRCDIR.rubberband?=	../../audio/rubberband

.include "../../audio/ladspa/buildlink3.mk"
.include "../../audio/vamp-plugin-sdk/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.endif	# RUBBERBAND_BUILDLINK3_MK

BUILDLINK_TREE+=	-rubberband

File Added: pkgsrc/audio/rubberband/distinfo
$NetBSD: distinfo,v 1.1 2015/12/28 03:29:33 kamil 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 (patch-src_StretcherImpl.cpp) = 609774b9d573fa92ce79f1b11bd7af8e585e3cef
SHA1 (patch-src_StretcherProcess.cpp) = 45c23ddd2ba92b11c6d5063597ea1594690e33ec
SHA1 (patch-src_system_sysutils.h) = bd97bca9c18ce66d05a1870d63cfc5107584949a

File Added: pkgsrc/audio/rubberband/patches/Attic/patch-src_StretcherImpl.cpp
$NetBSD: patch-src_StretcherImpl.cpp,v 1.1 2015/12/28 03:29:33 kamil Exp $

NetBSD ships with alloca() in <stdlib.h>

--- src/StretcherImpl.cpp.orig	2012-10-28 10:30:09.000000000 +0000
+++ src/StretcherImpl.cpp
@@ -37,7 +37,9 @@
 
 #include "base/Profiler.h"
 
-#ifndef _WIN32
+#ifdef __NetBSD__
+#include <stdlib.h>
+#elif !defined(_WIN32)
 #include <alloca.h>
 #endif
 
@@ -1340,4 +1342,3 @@ RubberBandStretcher::Impl::process(const
 
 
 }
-

File Added: pkgsrc/audio/rubberband/patches/Attic/patch-src_StretcherProcess.cpp
$NetBSD: patch-src_StretcherProcess.cpp,v 1.1 2015/12/28 03:29:33 kamil Exp $

NetBSD ships with alloca() in <stdlib.h>

--- src/StretcherProcess.cpp.orig	2012-10-28 10:30:09.000000000 +0000
+++ src/StretcherProcess.cpp
@@ -34,7 +34,9 @@
 #include "base/Profiler.h"
 #include "system/VectorOps.h"
 
-#ifndef _WIN32
+#ifdef __NetBSD__
+#include <stdlib.h>
+#elif !defined(_WIN32)
 #include <alloca.h>
 #endif
 
@@ -1290,4 +1292,3 @@ RubberBandStretcher::Impl::retrieve(floa
 }
 
 }
-

File Added: pkgsrc/audio/rubberband/patches/Attic/patch-src_system_sysutils.h
$NetBSD: patch-src_system_sysutils.h,v 1.1 2015/12/28 03:29:33 kamil Exp $

NetBSD ships with alloca() in <stdlib.h>

--- src/system/sysutils.h.orig	2012-10-28 10:30:09.000000000 +0000
+++ src/system/sysutils.h
@@ -40,7 +40,9 @@
 #ifdef __MINGW32__
 #include <malloc.h>
 #else
-#ifndef __MSVC__
+#ifdef __NetBSD__
+#include <stdlib.h>
+#elif !defined(__MSVC__)
 #include <alloca.h>
 #endif
 #endif