From d593d56d899bcf5f2f20a113b6e222dcfb43f94f Mon Sep 17 00:00:00 2001 From: George C A Reid Date: Sat, 26 May 2001 10:48:21 +0000 Subject: Add synaesthesia 2.1, a program to graphically represents sound in real time PR: 27652 Submitted by: Pete Fritchman --- graphics/synaesthesia/Makefile | 30 +++++++++++++++++++++++++++++ graphics/synaesthesia/distinfo | 1 + graphics/synaesthesia/files/patch-configure | 11 +++++++++++ graphics/synaesthesia/files/patch-sound.cc | 10 ++++++++++ graphics/synaesthesia/pkg-comment | 1 + graphics/synaesthesia/pkg-descr | 15 +++++++++++++++ graphics/synaesthesia/pkg-plist | 3 +++ 7 files changed, 71 insertions(+) create mode 100644 graphics/synaesthesia/Makefile create mode 100644 graphics/synaesthesia/distinfo create mode 100644 graphics/synaesthesia/files/patch-configure create mode 100644 graphics/synaesthesia/files/patch-sound.cc create mode 100644 graphics/synaesthesia/pkg-comment create mode 100644 graphics/synaesthesia/pkg-descr create mode 100644 graphics/synaesthesia/pkg-plist (limited to 'graphics/synaesthesia') diff --git a/graphics/synaesthesia/Makefile b/graphics/synaesthesia/Makefile new file mode 100644 index 000000000000..5a1b24358a12 --- /dev/null +++ b/graphics/synaesthesia/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: synaesthesia +# Date created: 25 May 2001 +# Whom: petef@databits.net +# +# $FreeBSD$ +# + +PORTNAME= synaesthesia +PORTVERSION= 2.1 +CATEGORIES= graphics +MASTER_SITES= http://yoyo.cc.monash.edu.au/~pfh/ + +MAINTAINER= petef@databits.net + +LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10 + +USE_GMAKE= Yes +USE_X_PREFIX= Yes + +GNU_CONFIGURE= Yes +CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/synaesthesia ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/synaesthesia + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/synaesthesia +.endif + +.include diff --git a/graphics/synaesthesia/distinfo b/graphics/synaesthesia/distinfo new file mode 100644 index 000000000000..bf29bea03979 --- /dev/null +++ b/graphics/synaesthesia/distinfo @@ -0,0 +1 @@ +MD5 (synaesthesia-2.1.tar.gz) = 5bc166deb369a3c71efd61e1ad5e5475 diff --git a/graphics/synaesthesia/files/patch-configure b/graphics/synaesthesia/files/patch-configure new file mode 100644 index 000000000000..4083551546d3 --- /dev/null +++ b/graphics/synaesthesia/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Sat May 26 11:34:45 2001 ++++ configure Sat May 26 11:34:50 2001 +@@ -785,8 +785,6 @@ + + + +-CXXFLAGS="-O4" +-CFLAGS="-O4" + + # Extract the first word of "gcc", so it can be a program name with args. + set dummy gcc; ac_word=$2 diff --git a/graphics/synaesthesia/files/patch-sound.cc b/graphics/synaesthesia/files/patch-sound.cc new file mode 100644 index 000000000000..2119deba4126 --- /dev/null +++ b/graphics/synaesthesia/files/patch-sound.cc @@ -0,0 +1,10 @@ +--- sound.cc.orig Fri May 25 23:13:55 2001 ++++ sound.cc Fri May 25 23:13:59 2001 +@@ -423,7 +423,7 @@ + } + } + +- data = new short[NumSamples*2]; ++ data = new u_short[NumSamples*2]; + memset((char*)data,0,NumSamples*4); + } diff --git a/graphics/synaesthesia/pkg-comment b/graphics/synaesthesia/pkg-comment new file mode 100644 index 000000000000..9968766fe069 --- /dev/null +++ b/graphics/synaesthesia/pkg-comment @@ -0,0 +1 @@ +Graphically represents sound in real time diff --git a/graphics/synaesthesia/pkg-descr b/graphics/synaesthesia/pkg-descr new file mode 100644 index 000000000000..0fe6a2e7f2be --- /dev/null +++ b/graphics/synaesthesia/pkg-descr @@ -0,0 +1,15 @@ +Synaesthesia is a program that represents music graphically in real +time as coruscating field of fog and glowing lines. It is intended +as a visual accompanyment to music. Synaesthesia seeks to provide +not just a visual representation of sound, but a representation of +how sound is percieved. Its display combines information about +the frequency, location and diffuseness of sound. The display is +sufficiently detailed to make it possible to distinguish several +individual instruments, singers, or special effects on screen by +their location, shape and color, and sufficiently fast to distinguish +individual drum beats and notes. + +WWW: http://yoyo.cc.monash.edu.au/~pfh/synaesthesia.html + +- Pete +petef@databits.net diff --git a/graphics/synaesthesia/pkg-plist b/graphics/synaesthesia/pkg-plist new file mode 100644 index 000000000000..61cc7404e6ec --- /dev/null +++ b/graphics/synaesthesia/pkg-plist @@ -0,0 +1,3 @@ +bin/synaesthesia +%%PORTDOCS%%share/doc/synaesthesia/README +%%PORTDOCS%%@dirrm share/doc/synaesthesia -- cgit v1.2.3