diff options
author | gson <gson@pkgsrc.org> | 2002-08-25 18:34:39 +0000 |
---|---|---|
committer | gson <gson@pkgsrc.org> | 2002-08-25 18:34:39 +0000 |
commit | ed2826b75a2132eaf784d65c3bfec74c0d928450 (patch) | |
tree | 2b2a98c00f2bc78d25bd2418a54ec6220a311a9c /audio/tcl-snack | |
parent | 85ef20ea786ded37558232435ad0db3b38f5fb79 (diff) | |
download | pkgsrc-ed2826b75a2132eaf784d65c3bfec74c0d928450.tar.gz |
Add tcl-snack: the Snack Sound Toolkit
The Snack Sound Toolkit is designed to be used with a scripting
language such as Tcl/Tk or Python. Using Snack you can create powerful
multi-platform audio applications with just a few lines of code. Snack
has commands for basic sound handling, e.g. sound card and disk
I/O. Snack also has primitives for sound visualization, e.g. waveforms
and spectrograms. It was developed mainly to handle digital recordings
of speech, but is just as useful for general audio. Snack has also
successfully been applied to other one-dimensional signals.
Diffstat (limited to 'audio/tcl-snack')
-rw-r--r-- | audio/tcl-snack/DESCR | 8 | ||||
-rw-r--r-- | audio/tcl-snack/Makefile | 20 | ||||
-rw-r--r-- | audio/tcl-snack/PLIST | 7 | ||||
-rw-r--r-- | audio/tcl-snack/distinfo | 7 | ||||
-rw-r--r-- | audio/tcl-snack/patches/patch-aa | 30 | ||||
-rw-r--r-- | audio/tcl-snack/patches/patch-ab | 16 | ||||
-rw-r--r-- | audio/tcl-snack/patches/patch-ac | 25 |
7 files changed, 113 insertions, 0 deletions
diff --git a/audio/tcl-snack/DESCR b/audio/tcl-snack/DESCR new file mode 100644 index 00000000000..e9b69ad3653 --- /dev/null +++ b/audio/tcl-snack/DESCR @@ -0,0 +1,8 @@ +The Snack Sound Toolkit is designed to be used with a scripting +language such as Tcl/Tk or Python. Using Snack you can create powerful +multi-platform audio applications with just a few lines of code. Snack +has commands for basic sound handling, e.g. sound card and disk +I/O. Snack also has primitives for sound visualization, e.g. waveforms +and spectrograms. It was developed mainly to handle digital recordings +of speech, but is just as useful for general audio. Snack has also +successfully been applied to other one-dimensional signals. diff --git a/audio/tcl-snack/Makefile b/audio/tcl-snack/Makefile new file mode 100644 index 00000000000..5f89685e35d --- /dev/null +++ b/audio/tcl-snack/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/25 18:34:39 gson Exp $ + +DISTNAME= snack2.2a2 +PKGNAME= tcl-snack-2.2a2 +CATEGORIES= audio +MASTER_SITES= http://www.speech.kth.se/~kare/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= gson@netbsd.org +HOMEPAGE= http://www.speech.kth.se/snack/ +COMMENT= The Snack Sound Toolkit + +DEPENDS+= tcl>=8.0:../../lang/tcl +GNU_CONFIGURE= YES +USE_BUILDLINK_ONLY= YES +WRKSRC= ${WRKDIR}/${DISTNAME}/unix + +.include "../../lang/tcl/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/tcl-snack/PLIST b/audio/tcl-snack/PLIST new file mode 100644 index 00000000000..d2d55bbc1d1 --- /dev/null +++ b/audio/tcl-snack/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/25 18:34:39 gson Exp $ +lib/libsnackstub2.2.a +lib/snack2.2/libsnack.so +lib/snack2.2/libsound.so +lib/snack2.2/pkgIndex.tcl +lib/snack2.2/snack.tcl +@dirrm lib/snack2.2 diff --git a/audio/tcl-snack/distinfo b/audio/tcl-snack/distinfo new file mode 100644 index 00000000000..e1787f849f4 --- /dev/null +++ b/audio/tcl-snack/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/25 18:34:39 gson Exp $ + +SHA1 (snack2.2a2.tar.Z) = 01a0f1c0f82823317c9eecc21bdb3357d08aff33 +Size (snack2.2a2.tar.Z) = 1854805 bytes +SHA1 (patch-aa) = d0414850f566393e8ff17f3cf332bf217cf779da +SHA1 (patch-ab) = 9d23177311cb392ad5e0203c1a4f5e2cf6d2ca55 +SHA1 (patch-ac) = 470511443dab1a8fd0e4a0b94f30f43a733a43e4 diff --git a/audio/tcl-snack/patches/patch-aa b/audio/tcl-snack/patches/patch-aa new file mode 100644 index 00000000000..daf65c79d66 --- /dev/null +++ b/audio/tcl-snack/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/25 18:34:39 gson Exp $ + +--- Makefile.in.orig Wed Jul 17 04:03:15 2002 ++++ Makefile.in +@@ -1,14 +1,14 @@ + # The path to the tcl.h header file + +-TCL_INCPATH = @TCL_SRC_DIR@/generic ++TCL_INCPATH = @TCL_PREFIX@/include + + # The path to the tk.h header file + +-TK_INCPATH = @TK_SRC_DIR@/generic ++TK_INCPATH = @TK_PREFIX@/include + + # The path to the X11 include files + +-XINCLUDES = @XINCLUDES@ ++XINCLUDES = @XINCLUDES@/include + + # Install SNACK package here + +@@ -28,6 +28,7 @@ + TCL_VERSION = @TCLVER@ + + CC = @CC@ ++TCL_CC = ${CC} + + INCLUDES = ${XINCLUDES} -I${TCL_INCPATH} -I${TK_INCPATH} @AINC@ @NISTINC@ + diff --git a/audio/tcl-snack/patches/patch-ab b/audio/tcl-snack/patches/patch-ab new file mode 100644 index 00000000000..dddc94ba74f --- /dev/null +++ b/audio/tcl-snack/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/08/25 18:34:39 gson Exp $ + +--- configure.in.orig Wed Jul 17 04:03:15 2002 ++++ configure.in +@@ -234,9 +234,11 @@ + AC_SUBST(SHLIB_LD) + AC_SUBST(SHLIB_SUFFIX) + AC_SUBST(XINCLUDES) ++AC_SUBST(TCL_PREFIX) + AC_SUBST(TCL_LIB_SPEC) + AC_SUBST(TK_LIB_SPEC) + AC_SUBST(TCL_SRC_DIR) ++AC_SUBST(TK_PREFIX) + AC_SUBST(TK_SRC_DIR) + AC_SUBST(TK_LIBS) + AC_SUBST(SNACK_INSTALL_PATH) diff --git a/audio/tcl-snack/patches/patch-ac b/audio/tcl-snack/patches/patch-ac new file mode 100644 index 00000000000..9a50ca7cc17 --- /dev/null +++ b/audio/tcl-snack/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/08/25 18:34:39 gson Exp $ + +--- configure.orig Wed Jul 17 04:03:15 2002 ++++ configure +@@ -1015,6 +1015,8 @@ + + + ++ ++ + trap '' 1 2 15 + cat > confcache <<\EOF + # This file is a shell script that caches the results of configure +@@ -1164,9 +1166,11 @@ + s%@SHLIB_LD@%$SHLIB_LD%g + s%@SHLIB_SUFFIX@%$SHLIB_SUFFIX%g + s%@XINCLUDES@%$XINCLUDES%g ++s%@TCL_PREFIX@%$TCL_PREFIX%g + s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g + s%@TK_LIB_SPEC@%$TK_LIB_SPEC%g + s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g ++s%@TK_PREFIX@%$TK_PREFIX%g + s%@TK_SRC_DIR@%$TK_SRC_DIR%g + s%@TK_LIBS@%$TK_LIBS%g + s%@SNACK_INSTALL_PATH@%$SNACK_INSTALL_PATH%g |