aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorgreid <greid@FreeBSD.org>2001-05-26 18:48:21 +0800
committergreid <greid@FreeBSD.org>2001-05-26 18:48:21 +0800
commitc440c8e3793426ad2f9f4327596238a82c309a65 (patch)
treea87c54d9df7dbc37f5ed1b8da3637b6f4ef13881 /graphics
parent6592e363f2280c39d0fcc4a51de1a13cac81adf1 (diff)
downloadfreebsd-ports-gnome-c440c8e3793426ad2f9f4327596238a82c309a65.tar.gz
freebsd-ports-gnome-c440c8e3793426ad2f9f4327596238a82c309a65.tar.zst
freebsd-ports-gnome-c440c8e3793426ad2f9f4327596238a82c309a65.zip
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 2f7513358f34..4947052079f7 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 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 <bsd.port.mk>
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