From 36a74d857930d6c522dd2ace253a2ae3ec114174 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 7 Aug 2014 20:23:27 +0000 Subject: Import soundtouch-1.8.0 as audio/soundtouch. SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files Tempo (time stretch): Changes the sound to play at faster or slower tempo than originally without affecting the sound pitch. Pitch (key): Changes the sound pitch or key while keeping the original tempo (speed). Playback Rate: Changes both tempo and pitch together as if a vinyl disc was played at different RPM rate. The SoundTouch library is intended for application developers writing sound processing tools that require tempo/pitch control functionality, or just for playing around with the sound effects. --- audio/soundtouch/DESCR | 15 +++++++++++++++ audio/soundtouch/Makefile | 26 ++++++++++++++++++++++++++ audio/soundtouch/PLIST | 13 +++++++++++++ audio/soundtouch/buildlink3.mk | 12 ++++++++++++ audio/soundtouch/distinfo | 6 ++++++ audio/soundtouch/patches/patch-Makefile.am | 15 +++++++++++++++ 6 files changed, 87 insertions(+) create mode 100644 audio/soundtouch/DESCR create mode 100644 audio/soundtouch/Makefile create mode 100644 audio/soundtouch/PLIST create mode 100644 audio/soundtouch/buildlink3.mk create mode 100644 audio/soundtouch/distinfo create mode 100644 audio/soundtouch/patches/patch-Makefile.am (limited to 'audio/soundtouch') diff --git a/audio/soundtouch/DESCR b/audio/soundtouch/DESCR new file mode 100644 index 00000000000..655bfc249e4 --- /dev/null +++ b/audio/soundtouch/DESCR @@ -0,0 +1,15 @@ +SoundTouch is an open-source audio processing library for changing +the Tempo, Pitch and Playback Rates of audio streams or audio files + + Tempo (time stretch): Changes the sound to play at faster or + slower tempo than originally without affecting the sound pitch. + + Pitch (key): Changes the sound pitch or key while keeping the + original tempo (speed). + + Playback Rate: Changes both tempo and pitch together as if a + vinyl disc was played at different RPM rate. + +The SoundTouch library is intended for application developers +writing sound processing tools that require tempo/pitch control +functionality, or just for playing around with the sound effects. diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile new file mode 100644 index 00000000000..11f0aa83efa --- /dev/null +++ b/audio/soundtouch/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2014/08/07 20:23:27 wiz Exp $ + +DISTNAME= soundtouch-1.8.0 +CATEGORIES= audio +MASTER_SITES= http://www.surina.net/soundtouch/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.surina.net/soundtouch/ +COMMENT= Library for changing the tempo, pitch, and playback rates of audio +LICENSE= gnu-lgpl-v2.1 + +BUILD_DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base + +WRKSRC= ${WRKDIR}/soundtouch +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config autoconf automake autoreconf +USE_LANGUAGES= c++ + +PKGCONFIG_OVERRIDE+= soundtouch-1.4.pc.in +PKGCONFIG_OVERRIDE+= soundtouch.pc.in + +pre-configure: + cd ${WRKSRC} && autoreconf -fi + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/soundtouch/PLIST b/audio/soundtouch/PLIST new file mode 100644 index 00000000000..91f58609fc3 --- /dev/null +++ b/audio/soundtouch/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1 2014/08/07 20:23:27 wiz Exp $ +bin/soundstretch +include/soundtouch/BPMDetect.h +include/soundtouch/FIFOSampleBuffer.h +include/soundtouch/FIFOSamplePipe.h +include/soundtouch/STTypes.h +include/soundtouch/SoundTouch.h +include/soundtouch/soundtouch_config.h +lib/libSoundTouch.la +lib/pkgconfig/soundtouch.pc +share/aclocal/soundtouch.m4 +share/doc/soundtouch/COPYING.TXT +share/doc/soundtouch/README.html diff --git a/audio/soundtouch/buildlink3.mk b/audio/soundtouch/buildlink3.mk new file mode 100644 index 00000000000..f3752608511 --- /dev/null +++ b/audio/soundtouch/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/08/07 20:23:27 wiz Exp $ + +BUILDLINK_TREE+= soundtouch + +.if !defined(SOUNDTOUCH_BUILDLINK3_MK) +SOUNDTOUCH_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.soundtouch+= soundtouch>=1.8.0 +BUILDLINK_PKGSRCDIR.soundtouch?= ../../audio/soundtouch +.endif # SOUNDTOUCH_BUILDLINK3_MK + +BUILDLINK_TREE+= -soundtouch diff --git a/audio/soundtouch/distinfo b/audio/soundtouch/distinfo new file mode 100644 index 00000000000..0889a1874f2 --- /dev/null +++ b/audio/soundtouch/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2014/08/07 20:23:27 wiz Exp $ + +SHA1 (soundtouch-1.8.0.tar.gz) = 2cee2c63194227b4a58da01a7cd92b8632f139cd +RMD160 (soundtouch-1.8.0.tar.gz) = d8687433a56fe56916b67c80264f4138d0a502db +Size (soundtouch-1.8.0.tar.gz) = 106229 bytes +SHA1 (patch-Makefile.am) = 6ef989f30bf5871e0e9a848b74d34cda2c2577ed diff --git a/audio/soundtouch/patches/patch-Makefile.am b/audio/soundtouch/patches/patch-Makefile.am new file mode 100644 index 00000000000..583ee45319b --- /dev/null +++ b/audio/soundtouch/patches/patch-Makefile.am @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile.am,v 1.1 2014/08/07 20:23:27 wiz Exp $ + +Fix installation directory for documentation (doc -> share/doc). + +--- Makefile.am.orig 2014-01-07 20:28:51.000000000 +0000 ++++ Makefile.am +@@ -28,7 +28,7 @@ SUBDIRS=include source + + + # list files that are documentation to be packaged in a release tarball and installed +-pkgdoc_DATA=COPYING.TXT README.html ++dist_doc_DATA=COPYING.TXT README.html + + # extra data files that are to be pacakged in a release tarball and installed into the data directory + #pkgdata_DATA= -- cgit v1.2.3