summaryrefslogtreecommitdiff
path: root/audio/spiralsynth
diff options
context:
space:
mode:
authorrh <rh>2002-05-26 01:14:26 +0000
committerrh <rh>2002-05-26 01:14:26 +0000
commit927e8511461df931ddeab2b930ea9fdf2870a86d (patch)
tree509012594911c88ad90cc0a075d972fd7a08e684 /audio/spiralsynth
parent154cf7c43168e24806e4e872983677231bd91273 (diff)
downloadpkgsrc-927e8511461df931ddeab2b930ea9fdf2870a86d.tar.gz
Initial import of spiralsynth-0.1.7, an "analog" synthesizer with X11 gui.
Diffstat (limited to 'audio/spiralsynth')
-rw-r--r--audio/spiralsynth/DESCR6
-rw-r--r--audio/spiralsynth/Makefile29
-rw-r--r--audio/spiralsynth/PLIST5
-rw-r--r--audio/spiralsynth/distinfo7
-rw-r--r--audio/spiralsynth/patches/patch-aa18
-rw-r--r--audio/spiralsynth/patches/patch-ab13
-rw-r--r--audio/spiralsynth/patches/patch-ad25
7 files changed, 103 insertions, 0 deletions
diff --git a/audio/spiralsynth/DESCR b/audio/spiralsynth/DESCR
new file mode 100644
index 00000000000..a3aa24211d0
--- /dev/null
+++ b/audio/spiralsynth/DESCR
@@ -0,0 +1,6 @@
+Spiral Synth is a physically modelled polyphonic analogue synthesizer for
+Linux or BSD. It is capable of creating the kind of sounds made by
+hardware analogue synths, the noises used in electronic music. You can
+also use it to make stranger sounds too. Midi is supported, including
+velocity detection, mapped to the volume of the oscillators (But you can
+also use the PC keyboard to play the synth).
diff --git a/audio/spiralsynth/Makefile b/audio/spiralsynth/Makefile
new file mode 100644
index 00000000000..7628677ab29
--- /dev/null
+++ b/audio/spiralsynth/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/26 01:14:26 rh Exp $
+#
+
+DISTNAME= SpiralSynth-0.1.7
+PKGNAME= spiralsynth-0.1.7
+CATEGORIES= audio
+MASTER_SITES= http://www.pawfal.org/Software/SpiralSynth/dload/
+
+MAINTAINER= collver@linuxfreemail.com
+HOMEPAGE= http://www.pawfal.org/Software/SpiralSynth/
+COMMENT= polyphonic analogue softsynth
+
+# only runs correctly on little-endian machines
+ONLY_FOR_PLATFORM= *-*-alpha *-*-arc *-*-cobalt *-*-dreamcast \
+ *-*-hpcmips *-*-hpcsh *-*-i386 *-*-pc532 *-*-pmax \
+ *-*-vax
+
+USE_X11= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/spiralsynth
+ ${INSTALL_DATA} ${WRKSRC}/.SpiralPatches.bank \
+ ${WRKSRC}/.Spiralrc ${PREFIX}/share/spiralsynth
+
+.include "../../x11/fltk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/spiralsynth/PLIST b/audio/spiralsynth/PLIST
new file mode 100644
index 00000000000..2e2d898ec7a
--- /dev/null
+++ b/audio/spiralsynth/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/26 01:14:26 rh Exp $
+bin/SpiralSynth
+share/spiralsynth/.SpiralPatches.bank
+share/spiralsynth/.Spiralrc
+@dirrm share/spiralsynth
diff --git a/audio/spiralsynth/distinfo b/audio/spiralsynth/distinfo
new file mode 100644
index 00000000000..f846346142f
--- /dev/null
+++ b/audio/spiralsynth/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/26 01:14:26 rh Exp $
+
+SHA1 (SpiralSynth-0.1.7.tar.gz) = 8b66749b940c9dcfcd4a71c319ac233139014204
+Size (SpiralSynth-0.1.7.tar.gz) = 62393 bytes
+SHA1 (patch-aa) = 7e1ed487fd499c7c87e2b6fc9a770203cf142097
+SHA1 (patch-ab) = eea5f0a97ccc796a176d48b2acfe61f6a455e51f
+SHA1 (patch-ad) = 207bc32f2991f99ba2e907a417d127f0073b3d24
diff --git a/audio/spiralsynth/patches/patch-aa b/audio/spiralsynth/patches/patch-aa
new file mode 100644
index 00000000000..76b983163e5
--- /dev/null
+++ b/audio/spiralsynth/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/26 01:14:27 rh Exp $
+
+--- Makefile.in.orig Tue Aug 14 20:12:55 2001
++++ Makefile.in
+@@ -11,10 +11,10 @@
+ CXX = g++
+ CFLAGS = -pipe -Wall -O3 -ffast-math -DNO_DEBUG -Wno-unused
+ CXXFLAGS= -pipe -Wall -O3 -ffast-math -DNO_DEBUG -Wno-unused
+-INCPATH = -I/usr/X11R6/include
+-LINK = g++
++INCPATH = -I${X11BASE}/include
++LINK = g++ -Wl,-R${X11BASE}/lib
+ LFLAGS =
+-LIBS = -L/usr/X11R6/lib -lfltk -lGL -lXext -lX11 -lm
++LIBS = -L${X11BASE}/lib -lfltk -lGL -lXext -lX11 -lm -lossaudio
+ MOC = moc
+
+ TAR = tar -cf
diff --git a/audio/spiralsynth/patches/patch-ab b/audio/spiralsynth/patches/patch-ab
new file mode 100644
index 00000000000..c180d0fd6ee
--- /dev/null
+++ b/audio/spiralsynth/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/26 01:14:27 rh Exp $
+
+--- SpiralInfo.C.orig Sun Nov 26 07:52:43 2000
++++ SpiralInfo.C
+@@ -41,7 +41,7 @@
+ float SpiralInfo::VALUECONV = 1.0f/MAXSAMPLE;
+ bool SpiralInfo::WANTMIDI = true;
+ int SpiralInfo::FILTERGRAN = 50;
+-string SpiralInfo::OUTPUTFILE = "/dev/dsp";
++string SpiralInfo::OUTPUTFILE = "/dev/sound";
+ string SpiralInfo::MIDIFILE = "/dev/midi";
+ int SpiralInfo::POLY = 2;
+ bool SpiralInfo::REALTIMEOUT = true;
diff --git a/audio/spiralsynth/patches/patch-ad b/audio/spiralsynth/patches/patch-ad
new file mode 100644
index 00000000000..85098262505
--- /dev/null
+++ b/audio/spiralsynth/patches/patch-ad
@@ -0,0 +1,25 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/05/26 01:14:27 rh Exp $
+
+--- SpiralSound/Output.h.orig Sun Nov 26 07:52:46 2000
++++ SpiralSound/Output.h
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
++#include <sys/ioctl.h>
+ #include <sys/types.h>
+ #include <stdio.h>
+ #include <fcntl.h>
+@@ -25,12 +26,10 @@
+ #else
+ #if defined (__NetBSD__) || defined (__OpenBSD__)
+ #include <soundcard.h> /* OSS emulation */
+-#undef ioctl
+ #else /* BSDI, Linux, Solaris */
+ #include <sys/soundcard.h>
+ #endif /* __NetBSD__ or __OpenBSD__ */
+ #endif /* __FreeBSD__ */
+-#include <sys/ioctl.h>
+ #include <limits.h>
+
+ #include "SpiralInfo.h"