summaryrefslogtreecommitdiff
path: root/audio/terminatorx
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-30 17:36:03 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-30 17:36:03 +0000
commit37ed332e418730a3a5dff5fad96aa7ad9786778d (patch)
tree3b6094b3ace5ef3e0ba04148657c3f3ff788fb4c /audio/terminatorx
parentadd p5-Net-SCP 0.06 (diff)
add terminatorX 3.72
Realtime audio synthesizer that allows you to "scratch" on audio data PR: 38054 Submitted by: Tilman Linneweh <tilman@arved.de>
Notes
Notes: svn path=/head/; revision=60310
Diffstat (limited to 'audio/terminatorx')
-rw-r--r--audio/terminatorx/Makefile48
-rw-r--r--audio/terminatorx/distinfo1
-rw-r--r--audio/terminatorx/files/patch-configure29
-rw-r--r--audio/terminatorx/files/patch-src-Makefile.am8
-rw-r--r--audio/terminatorx/files/patch-src-Makefile.in11
-rw-r--r--audio/terminatorx/files/patch-src-tX-audiofile.h11
-rw-r--r--audio/terminatorx/pkg-comment1
-rw-r--r--audio/terminatorx/pkg-descr13
-rw-r--r--audio/terminatorx/pkg-plist1
9 files changed, 123 insertions, 0 deletions
diff --git a/audio/terminatorx/Makefile b/audio/terminatorx/Makefile
new file mode 100644
index 000000000000..5b44a509dfe1
--- /dev/null
+++ b/audio/terminatorx/Makefile
@@ -0,0 +1,48 @@
+# New ports collection Makefile for: terminatorx
+# Date created: 13 May 2002
+# Whom: Tilman Linneweh <freebsdports@arved.de
+#
+# $FreeBSD$
+
+PORTNAME= terminatorx
+PORTVERSION= 3.72
+CATEGORIES= audio
+MASTER_SITES= http://www.terminatorx.cx/
+DISTNAME= terminatorX-${PORTVERSION}
+
+MAINTAINER= freebsdports@arved.de
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+.if !defined(WITHOUT_SOX)
+BUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox
+.endif
+.if !defined(WITHOUT_VORBIS)
+BUILD_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
+.endif
+
+USE_GTK= yes
+GNU_CONFIGURE= yes
+
+pre-everything:
+.if !defined(WITHOUT_SOX)
+ @${ECHO_MSG} "You can disable support for sox by defining WITHOUT_SOX."
+.endif
+.if !defined(WITHOUT_VORBIS)
+ @${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS."
+.endif
+
+post-patch:
+
+.for i in main.cc \
+ tX_audiofile.cc \
+ tX_flash.c \
+ tX_seqpar.cc \
+ tX_vtt.cc \
+ tX_widget.c
+ ${MV} ${WRKSRC}/src/$i ${WRKSRC}/src/$i.sed
+ ${SED} -e "s:malloc.h:stdlib.h:g" \
+ ${WRKSRC}/src/$i.sed >${WRKSRC}/src/$i
+ ${RM} ${WRKSRC}/src/$i.sed
+.endfor
+
+.include <bsd.port.mk>
diff --git a/audio/terminatorx/distinfo b/audio/terminatorx/distinfo
new file mode 100644
index 000000000000..e18fe03701cb
--- /dev/null
+++ b/audio/terminatorx/distinfo
@@ -0,0 +1 @@
+MD5 (terminatorX-3.72.tar.gz) = 85453df5c69ab2ecc6913a2b2226c197
diff --git a/audio/terminatorx/files/patch-configure b/audio/terminatorx/files/patch-configure
new file mode 100644
index 000000000000..2c44692e19f9
--- /dev/null
+++ b/audio/terminatorx/files/patch-configure
@@ -0,0 +1,29 @@
+--- configure.orig Mon May 13 20:02:09 2002
++++ configure Mon May 13 20:07:07 2002
+@@ -1436,7 +1436,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpthread $LIBS"
++LIBS="-pthread $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1442 "configure"
+ #include "confdefs.h"
+@@ -1470,7 +1470,7 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="-pthread $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+@@ -1983,7 +1983,7 @@
+ #include "confdefs.h"
+ #include <$ac_hdr>
+ EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
++ac_try="$ac_cpp -I/usr/local/include conftest.$ac_ext >/dev/null 2>conftest.out"
+ { (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
diff --git a/audio/terminatorx/files/patch-src-Makefile.am b/audio/terminatorx/files/patch-src-Makefile.am
new file mode 100644
index 000000000000..49bcb65e69be
--- /dev/null
+++ b/audio/terminatorx/files/patch-src-Makefile.am
@@ -0,0 +1,8 @@
+--- src/Makefile.am.orig Mon May 13 22:19:10 2002
++++ src/Makefile.am Mon May 13 22:19:41 2002
+@@ -1,4 +1,4 @@
+-LIBS=@GTK_LIBS@ -lXi -lXxf86dga -lpthread
++LIBS=@GTK_LIBS@ -lXi -lXxf86dga -pthread
+
+ SUBDIRS = gui_icons smallknob
+
diff --git a/audio/terminatorx/files/patch-src-Makefile.in b/audio/terminatorx/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..695de39ccee9
--- /dev/null
+++ b/audio/terminatorx/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Mon May 13 22:08:37 2002
++++ src/Makefile.in Mon May 13 22:08:50 2002
+@@ -78,7 +78,7 @@
+ X_PRE_LIBS = @X_PRE_LIBS@
+ x_libraries = @x_libraries@
+
+-LIBS = @GTK_LIBS@ -lXi -lXxf86dga -lpthread
++LIBS = @GTK_LIBS@ -lXi -lXxf86dga -pthread
+
+ SUBDIRS = gui_icons smallknob
+
diff --git a/audio/terminatorx/files/patch-src-tX-audiofile.h b/audio/terminatorx/files/patch-src-tX-audiofile.h
new file mode 100644
index 000000000000..f3f455500604
--- /dev/null
+++ b/audio/terminatorx/files/patch-src-tX-audiofile.h
@@ -0,0 +1,11 @@
+--- src/tX_audiofile.h.orig Mon May 13 21:30:21 2002
++++ src/tX_audiofile.h Mon May 13 21:30:45 2002
+@@ -71,7 +71,7 @@
+ #define TX_FILE_MPG123 2
+ #define TX_FILE_OGG123 3
+
+-#include <linux/limits.h>
++#include <limits.h>
+ #include "tX_types.h"
+ #include <stdio.h>
+
diff --git a/audio/terminatorx/pkg-comment b/audio/terminatorx/pkg-comment
new file mode 100644
index 000000000000..7373841be804
--- /dev/null
+++ b/audio/terminatorx/pkg-comment
@@ -0,0 +1 @@
+Realtime audio synthesizer that allows you to "scratch" on audio data
diff --git a/audio/terminatorx/pkg-descr b/audio/terminatorx/pkg-descr
new file mode 100644
index 000000000000..2c1fd2ef718d
--- /dev/null
+++ b/audio/terminatorx/pkg-descr
@@ -0,0 +1,13 @@
+terminatorX is a realtime audio synthesizer that allows you to "scratch" on
+digitally sampled audio data (*.wav, *.au, *.mp3, etc.) the way hiphop-DJs
+scratch on vinyl records.
+
+It features multiple turntables, realtime
+effects (buit-in as well as LADSPA plugin effects), a sequencer and
+an easy-to- use gtk+ GUI.
+
+Author: Alexander Koenig <alex@lisas.de>
+WWW: http://www.terminatorx.cx
+
+-- Tilman Linneweh
+freebsdports@arved.de
diff --git a/audio/terminatorx/pkg-plist b/audio/terminatorx/pkg-plist
new file mode 100644
index 000000000000..c5da605d5b09
--- /dev/null
+++ b/audio/terminatorx/pkg-plist
@@ -0,0 +1 @@
+bin/terminatorX