diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-02-07 06:39:53 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-02-07 06:39:53 +0000 |
commit | f621bde8ff420cd8dd9aa0a0ab98fb199cb7341b (patch) | |
tree | 9ba161b2bb76ae86899950488d4fc8a6f6e4bf5c /audio | |
parent | Rubber Band Library is a high quality software library for audio time-stretching (diff) |
SooperLooper is a live looping sampler capable of immediate loop recording,
overdubbing, multiplying, reversing and more. It allows for multiple
simultaneous multi-channel loops limited only by your computer's available
memory.
WWW: http://essej.net/sooperlooper/
PR: ports/164642
Submitted by: mathias.picker@gmx.de
Notes
Notes:
svn path=/head/; revision=290570
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/sooperlooper/Makefile | 43 | ||||
-rw-r--r-- | audio/sooperlooper/distinfo | 2 | ||||
-rw-r--r-- | audio/sooperlooper/files/patch-configure | 158 | ||||
-rw-r--r-- | audio/sooperlooper/files/patch-libs-midi-configure | 157 | ||||
-rw-r--r-- | audio/sooperlooper/files/patch-libs-pbd-ftw.cc | 11 | ||||
-rw-r--r-- | audio/sooperlooper/files/patch-src-plugin.cc | 16 | ||||
-rw-r--r-- | audio/sooperlooper/pkg-descr | 6 | ||||
-rw-r--r-- | audio/sooperlooper/pkg-plist | 15 |
9 files changed, 409 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 14f02dfae802..ac26677f802d 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -683,6 +683,7 @@ SUBDIR += solfege SUBDIR += sonata SUBDIR += sonice + SUBDIR += sooperlooper SUBDIR += sound-juicer SUBDIR += soundconverter SUBDIR += soundgrab diff --git a/audio/sooperlooper/Makefile b/audio/sooperlooper/Makefile new file mode 100644 index 000000000000..1232cbe3a046 --- /dev/null +++ b/audio/sooperlooper/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: rubberband +# Date created: 2012-01-08 +# Whom: mathias.picker@gmx.de +# +# $FreeBSD$ +# + +PORTNAME= sooperlooper +PORTVERSION= 1.6.18 +CATEGORIES= audio +MASTER_SITES= http://essej.net/sooperlooper/ + +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= fftw3.6:${PORTSDIR}/math/fftw3 \ + jack.0:${PORTSDIR}/audio/jack \ + lo.7:${PORTSDIR}/audio/liblo \ + rubberband.2:${PORTSDIR}/audio/rubberband \ + samplerate.1:${PORTSDIR}/audio/libsamplerate \ + sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \ + sndfile.1:${PORTSDIR}/audio/libsndfile \ + vamp-sdk.2:${PORTSDIR}/audio/vamp-plugin-sdk +RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_WX= 2.6+ +WX_UNICODE= yes +CONFIGURE_ARGS= -with-wxconfig-path=${WX_CONFIG} +USE_LDCONFIG= yes + +CFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +USE_GNOME= pkgconfig libxml2 + +.include <bsd.port.mk> diff --git a/audio/sooperlooper/distinfo b/audio/sooperlooper/distinfo new file mode 100644 index 000000000000..52c8bca7825d --- /dev/null +++ b/audio/sooperlooper/distinfo @@ -0,0 +1,2 @@ +SHA256 (sooperlooper-1.6.18.tar.gz) = 087a52186fefb138ac16deebc1ed4b9ff4945ffb4fe3e2170f60fcf97a3a8c38 +SIZE (sooperlooper-1.6.18.tar.gz) = 705462 diff --git a/audio/sooperlooper/files/patch-configure b/audio/sooperlooper/files/patch-configure new file mode 100644 index 000000000000..993ca660ad80 --- /dev/null +++ b/audio/sooperlooper/files/patch-configure @@ -0,0 +1,158 @@ +--- configure-dist 2012-01-18 23:51:22.886747138 +0100 ++++ configure 2012-01-18 23:51:03.153741729 +0100 +@@ -6869,152 +6869,9 @@ + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +- +-if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then +- { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5 +-echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; } +-if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-fi +-{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5 +-echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; } +-else +- # Is the header compilable? +-{ echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5 +-echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include <alsa/asoundlib.h> +-_ACEOF +-rm -f conftest.$ac_objext +-if { (ac_try="$ac_compile" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +- (eval "$ac_compile") 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { +- test -z "$ac_cxx_werror_flag" || +- test ! -s conftest.err +- } && test -s conftest.$ac_objext; then +- ac_header_compiler=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-echo "${ECHO_T}$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5 +-echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <alsa/asoundlib.h> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } >/dev/null && { +- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-echo "${ECHO_T}$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in +- yes:no: ) +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5 +-echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; } +-if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_cv_header_alsa_asoundlib_h=$ac_header_preproc +-fi +-{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5 +-echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; } +- +-fi +-if test $ac_cv_header_alsa_asoundlib_h = yes; then +- use_alsa_midi=yes +- AUDIO_LIBS=-lasound +- +-cat >>confdefs.h <<\_ACEOF +-#define WITH_ALSA 1 +-_ACEOF +- +-else +- use_alsa_midi=no +-fi +- +- +- if test x$use_alsa_midi = xyes; then +- WITH_ALSA_TRUE= +- WITH_ALSA_FALSE='#' +-else +- WITH_ALSA_TRUE='#' +- WITH_ALSA_FALSE= +-fi ++# FreeBSD: unset alsa ++WITH_ALSA_TRUE='#' ++WITH_ALSA_FALSE= + + + { echo "$as_me:$LINENO: checking for /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h" >&5 diff --git a/audio/sooperlooper/files/patch-libs-midi-configure b/audio/sooperlooper/files/patch-libs-midi-configure new file mode 100644 index 000000000000..3fda2778d0eb --- /dev/null +++ b/audio/sooperlooper/files/patch-libs-midi-configure @@ -0,0 +1,157 @@ +--- libs/midi++/configure-dist 2012-01-18 23:48:59.738744056 +0100 ++++ libs/midi++/configure 2012-01-18 23:49:55.386738098 +0100 +@@ -5100,151 +5100,9 @@ + done + + +-if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then +- { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5 +-echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; } +-if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-fi +-{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5 +-echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; } +-else +- # Is the header compilable? +-{ echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5 +-echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include <alsa/asoundlib.h> +-_ACEOF +-rm -f conftest.$ac_objext +-if { (ac_try="$ac_compile" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +- (eval "$ac_compile") 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { +- test -z "$ac_cxx_werror_flag" || +- test ! -s conftest.err +- } && test -s conftest.$ac_objext; then +- ac_header_compiler=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-echo "${ECHO_T}$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5 +-echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <alsa/asoundlib.h> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } >/dev/null && { +- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-echo "${ECHO_T}$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in +- yes:no: ) +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;} +- { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5 +-echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5 +-echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; } +-if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_cv_header_alsa_asoundlib_h=$ac_header_preproc +-fi +-{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5 +-echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; } +- +-fi +-if test $ac_cv_header_alsa_asoundlib_h = yes; then +- use_alsa_midi=yes +- AUDIO_LIBS=-lasound +- +-cat >>confdefs.h <<\_ACEOF +-#define WITH_ALSA 1 +-_ACEOF +- +-else +- use_alsa_midi=no +-fi +- +- +- if test x$use_alsa_midi = xyes; then +- WITH_ALSA_TRUE= +- WITH_ALSA_FALSE='#' +-else +- WITH_ALSA_TRUE='#' +- WITH_ALSA_FALSE= +-fi ++# FreeBSD: unset alsa ++WITH_ALSA_TRUE='#' ++WITH_ALSA_FALSE= + + + { echo "$as_me:$LINENO: checking for /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h" >&5 diff --git a/audio/sooperlooper/files/patch-libs-pbd-ftw.cc b/audio/sooperlooper/files/patch-libs-pbd-ftw.cc new file mode 100644 index 000000000000..ee873bf92d29 --- /dev/null +++ b/audio/sooperlooper/files/patch-libs-pbd-ftw.cc @@ -0,0 +1,11 @@ +--- libs/pbd/ftw.cc-dist 2012-01-08 20:15:45.901151819 +0100 ++++ libs/pbd/ftw.cc 2012-01-08 20:15:58.904148109 +0100 +@@ -33,7 +33,7 @@ + #include <sys/types.h> /* Because fts(3) says so */ + #include <sys/stat.h> + #include <fts.h> +-#include <alloca.h> ++#include <stdlib.h> + + #include <unistd.h> /* We want strcpy */ + diff --git a/audio/sooperlooper/files/patch-src-plugin.cc b/audio/sooperlooper/files/patch-src-plugin.cc new file mode 100644 index 000000000000..03493d22350d --- /dev/null +++ b/audio/sooperlooper/files/patch-src-plugin.cc @@ -0,0 +1,16 @@ +--- src/plugin.cc-dist 2012-01-18 12:40:15.870419356 +0100 ++++ src/plugin.cc 2012-01-18 13:28:16.760422152 +0100 +@@ -44,6 +44,13 @@ + + using namespace SooperLooper; + ++#if __FreeBSD__ >= 2 ++#include <osreldate.h> ++# if __FreeBSD_version < 900500 ++ /* not defined before FreeBSD 9 */ ++# define log2(x) (log(x) / M_LN2) ++# endif /* __FreeBSD_version < 900500 */ ++#endif /* __FreeBSD__ */ + + /*****************************************************************************/ + //#define LOOPDEBUG diff --git a/audio/sooperlooper/pkg-descr b/audio/sooperlooper/pkg-descr new file mode 100644 index 000000000000..ab4b98cd0ac0 --- /dev/null +++ b/audio/sooperlooper/pkg-descr @@ -0,0 +1,6 @@ +SooperLooper is a live looping sampler capable of immediate loop recording, +overdubbing, multiplying, reversing and more. It allows for multiple +simultaneous multi-channel loops limited only by your computer's available +memory. + +WWW: http://essej.net/sooperlooper/ diff --git a/audio/sooperlooper/pkg-plist b/audio/sooperlooper/pkg-plist new file mode 100644 index 000000000000..e0e3c9bf69d3 --- /dev/null +++ b/audio/sooperlooper/pkg-plist @@ -0,0 +1,15 @@ +bin/slconsole +bin/slgui +bin/slregister +bin/sooperlooper +share/licenses/sooperlooper-1.6.18/GPLv2 +share/licenses/sooperlooper-1.6.18/LICENSE +share/licenses/sooperlooper-1.6.18/catalog.mk +share/sooperlooper/presets/bcf2000.slb +share/sooperlooper/presets/edp4.slb +share/sooperlooper/presets/midiwizard.slb +share/sooperlooper/presets/oxy8.slb +@dirrm share/sooperlooper/presets +@dirrm share/sooperlooper +@dirrm share/licenses/sooperlooper-1.6.18 +@dirrm share/licenses |