summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/Makefile1
-rw-r--r--audio/spiralsynthmodular/Makefile53
-rw-r--r--audio/spiralsynthmodular/distinfo1
-rw-r--r--audio/spiralsynthmodular/files/patch-SpiralSound::Midi.h10
-rw-r--r--audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C29
-rw-r--r--audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::DiskWriterPlugin.C10
-rw-r--r--audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C19
-rw-r--r--audio/spiralsynthmodular/files/patch-SpiralSynthModular.C10
-rw-r--r--audio/spiralsynthmodular/pkg-comment1
-rw-r--r--audio/spiralsynthmodular/pkg-descr11
-rw-r--r--audio/spiralsynthmodular/pkg-plist33
11 files changed, 178 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 4a149d0108de..a023e1e761a1 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -248,6 +248,7 @@
SUBDIR += spiralloops
SUBDIR += spiralsynth
SUBDIR += spiralsynthbaby
+ SUBDIR += spiralsynthmodular
SUBDIR += splay
SUBDIR += splaytk
SUBDIR += streamripper
diff --git a/audio/spiralsynthmodular/Makefile b/audio/spiralsynthmodular/Makefile
new file mode 100644
index 000000000000..47dc101e56e2
--- /dev/null
+++ b/audio/spiralsynthmodular/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: spiralsynthmodular
+# Date created: 2003 Jan 30
+# Whom: David Yeske <dyeske@yahoo.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= spiralsynthmodular
+PORTVERSION= 0.2.0
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= spiralmodular
+DISTNAME= spiralmodular-${PORTVERSION}
+
+MAINTAINER= dyeske@yahoo.com
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+
+CONFIGURE_ENV= FLTK_CONFIG="${FLTK_CONFIG}" \
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
+
+.if defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS+= -O3 -ffast-math
+.endif
+
+pre-everything::
+.if !defined(WITH_OPTIMIZED_CFLAGS)
+ @${ECHO_MSG} "You can enable additional compilation optimizations"
+ @${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS"
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -E -e 's@(-O3|-ffast-math)@@g; \
+ s|CFLAGS="-pipe|CFLAGS="\$$\{CFLAGS\} ${PTHREAD_CFLAGS}|; \
+ s|CXXFLAGS="-pipe|CXXFLAGS="\$$\{CXXFLAGS\} ${PTHREAD_CFLAGS}|' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-I/usr/X11R6/include|-I${LOCALBASE}/include -I${X11BASE}/include|' \
+ ${WRKSRC}/SpiralSound/Plugins/LADSPAPlugin/Makefile.in
+ @${REINPLACE_CMD} -e 's|O_SYNC|O_FSYNC|' \
+ ${WRKSRC}/SpiralSound/Midi.C
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -E -e \
+ 's|-ldl||; \
+ s@^C(C|XX)[[:space:]]*=.+$$@@; \
+ s|g\+\+|${CXX}|; \
+ s,@FLTK_(C|CXX)FLAGS@,-I${X11BASE}/include,; \
+ s|-lpthread|${PTHREAD_LIBS}|g'
+
+.include <bsd.port.mk>
diff --git a/audio/spiralsynthmodular/distinfo b/audio/spiralsynthmodular/distinfo
new file mode 100644
index 000000000000..609050c34369
--- /dev/null
+++ b/audio/spiralsynthmodular/distinfo
@@ -0,0 +1 @@
+MD5 (spiralmodular-0.2.0.tar.gz) = c5e62ca57e4b31ca9d36e992c92d35b8
diff --git a/audio/spiralsynthmodular/files/patch-SpiralSound::Midi.h b/audio/spiralsynthmodular/files/patch-SpiralSound::Midi.h
new file mode 100644
index 000000000000..88ffa80e99e0
--- /dev/null
+++ b/audio/spiralsynthmodular/files/patch-SpiralSound::Midi.h
@@ -0,0 +1,10 @@
+--- SpiralSound/Midi.h.orig Thu Nov 7 23:07:00 2002
++++ SpiralSound/Midi.h Thu Nov 7 23:07:20 2002
+@@ -22,6 +22,7 @@
+ #include <unistd.h>
+ #include <iostream>
+ #include <limits.h>
++#include <pthread.h>
+ #include <queue>
+ #include <string>
+
diff --git a/audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C b/audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C
new file mode 100644
index 000000000000..702073dac679
--- /dev/null
+++ b/audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C
@@ -0,0 +1,29 @@
+--- SpiralSound/PluginManager.C.orig Mon Jan 6 01:17:04 2003
++++ SpiralSound/PluginManager.C Mon Jan 6 01:17:45 2003
+@@ -48,7 +48,7 @@
+ }
+
+ // Link the neccesary functions
+- char *error;
++ const char *error;
+
+ NewPlugin->CreateInstance = (SpiralPlugin*(*)()) dlsym(NewPlugin->Handle, "CreateInstance");
+
+@@ -89,7 +89,7 @@
+ if (IsValid(ID))
+ {
+ dlclose(GetPlugin(ID)->Handle);
+- char *error;
++ const char *error;
+ if ((error = dlerror()) != NULL)
+ {
+ SpiralInfo::Alert("Error unlinking plugin: \n"+string(error));
+@@ -103,7 +103,7 @@
+ i!=m_PluginVec.end(); i++)
+ {
+ dlclose((*i)->Handle);
+- char *error;
++ const char *error;
+ if ((error = dlerror()) != NULL)
+ {
+ SpiralInfo::Alert("Error unlinking plugin: \n"+string(error));
diff --git a/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::DiskWriterPlugin.C b/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::DiskWriterPlugin.C
new file mode 100644
index 000000000000..fae61fd271ec
--- /dev/null
+++ b/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::DiskWriterPlugin.C
@@ -0,0 +1,10 @@
+--- SpiralSound/Plugins/DiskWriterPlugin/DiskWriterPlugin.C.orig Tue Jan 7 01:20:23 2003
++++ SpiralSound/Plugins/DiskWriterPlugin/DiskWriterPlugin.C Tue Jan 7 01:21:15 2003
+@@ -20,6 +20,7 @@
+ #define _ISOC9X_SOURCE 1
+ #define _ISOC99_SOURCE 1
+ #include <math.h>
++#define lrintf(flt) ((int) (flt))
+
+ #include <sys/types.h>
+ #include <stdio.h>
diff --git a/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C b/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C
new file mode 100644
index 000000000000..7a180c71fd69
--- /dev/null
+++ b/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C
@@ -0,0 +1,19 @@
+--- SpiralSound/Plugins/OutputPlugin/OutputPlugin.C.orig Thu Dec 12 16:23:11 2002
++++ SpiralSound/Plugins/OutputPlugin/OutputPlugin.C Tue Jan 7 01:03:15 2003
+@@ -20,6 +20,7 @@
+ #define _ISOC9X_SOURCE 1
+ #define _ISOC99_SOURCE 1
+ #include <math.h>
++#define lrintf(flt) ((int) (flt))
+
+ #include <sys/types.h>
+ #include <stdio.h>
+@@ -27,7 +28,7 @@
+ #include <unistd.h>
+ #include <limits.h>
+ #if defined (__FreeBSD__)
+- #include <machine/soundcard.h>
++ #include <sys/soundcard.h>
+ #else
+ #if defined (__NetBSD__) || defined (__OpenBSD__)
+ #include <soundcard.h> /* OSS emulation */
diff --git a/audio/spiralsynthmodular/files/patch-SpiralSynthModular.C b/audio/spiralsynthmodular/files/patch-SpiralSynthModular.C
new file mode 100644
index 000000000000..20cc0f25514a
--- /dev/null
+++ b/audio/spiralsynthmodular/files/patch-SpiralSynthModular.C
@@ -0,0 +1,10 @@
+--- SpiralSynthModular.C.orig Thu Nov 7 19:20:19 2002
++++ SpiralSynthModular.C Thu Nov 7 19:21:19 2002
+@@ -20,6 +20,7 @@
+ #include <iostream>
+ #include <fstream>
+ #include <sstream>
++#include <ctime>
+ #include <FL/Fl.H>
+ #include <FL/Enumerations.H>
+ #include <FL/fl_file_chooser.h>
diff --git a/audio/spiralsynthmodular/pkg-comment b/audio/spiralsynthmodular/pkg-comment
new file mode 100644
index 000000000000..9b597ef7c9e6
--- /dev/null
+++ b/audio/spiralsynthmodular/pkg-comment
@@ -0,0 +1 @@
+An object orientated modular softsynth / sequencer / sampler
diff --git a/audio/spiralsynthmodular/pkg-descr b/audio/spiralsynthmodular/pkg-descr
new file mode 100644
index 000000000000..3b0e7d83c236
--- /dev/null
+++ b/audio/spiralsynthmodular/pkg-descr
@@ -0,0 +1,11 @@
+SSM is an object orientated modular softsynth / sequencer / sampler.
+
+You can use it in a fairly straight forward way to make tracks with,
+or get very experimental. Audio or control data can be freely passed
+between the plugins, there is no difference. Data can also be fed
+back on itself for chaotic effects.
+
+WWW: http://www.pawfal.org/Software/SSM/
+
+- David
+dyeske@yahoo.com
diff --git a/audio/spiralsynthmodular/pkg-plist b/audio/spiralsynthmodular/pkg-plist
new file mode 100644
index 000000000000..e4eb8dcfde99
--- /dev/null
+++ b/audio/spiralsynthmodular/pkg-plist
@@ -0,0 +1,33 @@
+bin/spiralsynthmodular
+lib/SpiralPlugins/AmpPlugin.so
+lib/SpiralPlugins/ControllerPlugin.so
+lib/SpiralPlugins/DelayPlugin.so
+lib/SpiralPlugins/DiskWriterPlugin.so
+lib/SpiralPlugins/DistributorPlugin.so
+lib/SpiralPlugins/EchoPlugin.so
+lib/SpiralPlugins/EnvFollowerPlugin.so
+lib/SpiralPlugins/EnvelopePlugin.so
+lib/SpiralPlugins/FilterPlugin.so
+lib/SpiralPlugins/KeyboardPlugin.so
+lib/SpiralPlugins/LADSPAPlugin.so
+lib/SpiralPlugins/LFOPlugin.so
+lib/SpiralPlugins/MatrixPlugin.so
+lib/SpiralPlugins/MidiPlugin.so
+lib/SpiralPlugins/MixerPlugin.so
+lib/SpiralPlugins/MoogFilterPlugin.so
+lib/SpiralPlugins/NoteSnapPlugin.so
+lib/SpiralPlugins/OscillatorPlugin.so
+lib/SpiralPlugins/OutputPlugin.so
+lib/SpiralPlugins/PoshSamplerPlugin.so
+lib/SpiralPlugins/RingModPlugin.so
+lib/SpiralPlugins/SVFilterPlugin.so
+lib/SpiralPlugins/SampleHoldPlugin.so
+lib/SpiralPlugins/ScopePlugin.so
+lib/SpiralPlugins/SeqSelectorPlugin.so
+lib/SpiralPlugins/SmoothPlugin.so
+lib/SpiralPlugins/SplitterPlugin.so
+lib/SpiralPlugins/StereoMixerPlugin.so
+lib/SpiralPlugins/StreamPlugin.so
+lib/SpiralPlugins/WaveTablePlugin.so
+lib/SpiralPlugins/XFadePlugin.so
+@dirrm lib/SpiralPlugins