From 5159f7d0fa67637991f25c725f9272ebfa906035 Mon Sep 17 00:00:00 2001 From: kamil Date: Mon, 28 Dec 2015 03:29:33 +0000 Subject: 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. --- audio/rubberband/DESCR | 2 ++ audio/rubberband/Makefile | 23 ++++++++++++++++++++++ audio/rubberband/PLIST | 14 +++++++++++++ audio/rubberband/buildlink3.mk | 17 ++++++++++++++++ audio/rubberband/distinfo | 9 +++++++++ .../rubberband/patches/patch-src_StretcherImpl.cpp | 22 +++++++++++++++++++++ .../patches/patch-src_StretcherProcess.cpp | 22 +++++++++++++++++++++ .../rubberband/patches/patch-src_system_sysutils.h | 17 ++++++++++++++++ 8 files changed, 126 insertions(+) create mode 100644 audio/rubberband/DESCR create mode 100644 audio/rubberband/Makefile create mode 100644 audio/rubberband/PLIST create mode 100644 audio/rubberband/buildlink3.mk create mode 100644 audio/rubberband/distinfo create mode 100644 audio/rubberband/patches/patch-src_StretcherImpl.cpp create mode 100644 audio/rubberband/patches/patch-src_StretcherProcess.cpp create mode 100644 audio/rubberband/patches/patch-src_system_sysutils.h (limited to 'audio') diff --git a/audio/rubberband/DESCR b/audio/rubberband/DESCR new file mode 100644 index 00000000000..363587b8e79 --- /dev/null +++ b/audio/rubberband/DESCR @@ -0,0 +1,2 @@ +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. diff --git a/audio/rubberband/Makefile b/audio/rubberband/Makefile new file mode 100644 index 00000000000..8341151a7ab --- /dev/null +++ b/audio/rubberband/Makefile @@ -0,0 +1,23 @@ +# $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" diff --git a/audio/rubberband/PLIST b/audio/rubberband/PLIST new file mode 100644 index 00000000000..745c6734527 --- /dev/null +++ b/audio/rubberband/PLIST @@ -0,0 +1,14 @@ +@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 diff --git a/audio/rubberband/buildlink3.mk b/audio/rubberband/buildlink3.mk new file mode 100644 index 00000000000..6cc88853122 --- /dev/null +++ b/audio/rubberband/buildlink3.mk @@ -0,0 +1,17 @@ +# $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 diff --git a/audio/rubberband/distinfo b/audio/rubberband/distinfo new file mode 100644 index 00000000000..0746d40479b --- /dev/null +++ b/audio/rubberband/distinfo @@ -0,0 +1,9 @@ +$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 diff --git a/audio/rubberband/patches/patch-src_StretcherImpl.cpp b/audio/rubberband/patches/patch-src_StretcherImpl.cpp new file mode 100644 index 00000000000..6c32cbb750a --- /dev/null +++ b/audio/rubberband/patches/patch-src_StretcherImpl.cpp @@ -0,0 +1,22 @@ +$NetBSD: patch-src_StretcherImpl.cpp,v 1.1 2015/12/28 03:29:33 kamil Exp $ + +NetBSD ships with alloca() in + +--- 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 ++#elif !defined(_WIN32) + #include + #endif + +@@ -1340,4 +1342,3 @@ RubberBandStretcher::Impl::process(const + + + } +- diff --git a/audio/rubberband/patches/patch-src_StretcherProcess.cpp b/audio/rubberband/patches/patch-src_StretcherProcess.cpp new file mode 100644 index 00000000000..c08a1a7e85a --- /dev/null +++ b/audio/rubberband/patches/patch-src_StretcherProcess.cpp @@ -0,0 +1,22 @@ +$NetBSD: patch-src_StretcherProcess.cpp,v 1.1 2015/12/28 03:29:33 kamil Exp $ + +NetBSD ships with alloca() in + +--- 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 ++#elif !defined(_WIN32) + #include + #endif + +@@ -1290,4 +1292,3 @@ RubberBandStretcher::Impl::retrieve(floa + } + + } +- diff --git a/audio/rubberband/patches/patch-src_system_sysutils.h b/audio/rubberband/patches/patch-src_system_sysutils.h new file mode 100644 index 00000000000..3ea50606466 --- /dev/null +++ b/audio/rubberband/patches/patch-src_system_sysutils.h @@ -0,0 +1,17 @@ +$NetBSD: patch-src_system_sysutils.h,v 1.1 2015/12/28 03:29:33 kamil Exp $ + +NetBSD ships with alloca() in + +--- src/system/sysutils.h.orig 2012-10-28 10:30:09.000000000 +0000 ++++ src/system/sysutils.h +@@ -40,7 +40,9 @@ + #ifdef __MINGW32__ + #include + #else +-#ifndef __MSVC__ ++#ifdef __NetBSD__ ++#include ++#elif !defined(__MSVC__) + #include + #endif + #endif -- cgit v1.2.3