summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorgreid <greid@FreeBSD.org>2001-05-26 10:48:21 +0000
committergreid <greid@FreeBSD.org>2001-05-26 10:48:21 +0000
commitc440c8e3793426ad2f9f4327596238a82c309a65 (patch)
treea87c54d9df7dbc37f5ed1b8da3637b6f4ef13881 /graphics
parent6592e363f2280c39d0fcc4a51de1a13cac81adf1 (diff)
downloadFreeBSD-ports-c440c8e3793426ad2f9f4327596238a82c309a65.zip
FreeBSD-ports-c440c8e3793426ad2f9f4327596238a82c309a65.tar.gz
Add synaesthesia 2.1, a program to graphically represents sound in real
time PR: 27652 Submitted by: Pete Fritchman <petef@databits.net>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/synaesthesia/Makefile30
-rw-r--r--graphics/synaesthesia/distinfo1
-rw-r--r--graphics/synaesthesia/files/patch-configure11
-rw-r--r--graphics/synaesthesia/files/patch-sound.cc10
-rw-r--r--graphics/synaesthesia/pkg-comment1
-rw-r--r--graphics/synaesthesia/pkg-descr15
-rw-r--r--graphics/synaesthesia/pkg-plist3
8 files changed, 72 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 2f75133..4947052 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -225,6 +225,7 @@
SUBDIR += splitmpg
SUBDIR += stamp
SUBDIR += svgalib
+ SUBDIR += synaesthesia
SUBDIR += tgif
SUBDIR += tgif-nls
SUBDIR += threeDS
diff --git a/graphics/synaesthesia/Makefile b/graphics/synaesthesia/Makefile
new file mode 100644
index 0000000..5a1b243
--- /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 <bsd.port.mk>
diff --git a/graphics/synaesthesia/distinfo b/graphics/synaesthesia/distinfo
new file mode 100644
index 0000000..bf29bea
--- /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 0000000..4083551
--- /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 0000000..2119deb
--- /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 0000000..9968766
--- /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 0000000..0fe6a2e
--- /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 0000000..61cc740
--- /dev/null
+++ b/graphics/synaesthesia/pkg-plist
@@ -0,0 +1,3 @@
+bin/synaesthesia
+%%PORTDOCS%%share/doc/synaesthesia/README
+%%PORTDOCS%%@dirrm share/doc/synaesthesia
OpenPOWER on IntegriCloud