summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-26 08:38:00 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-26 08:38:00 +0800
commit971251a930732fc2d4e7344505f829f919a074b0 (patch)
tree8bb7371b7cd95f4ab113aa19dc5a729c2b756167 /audio
parent346126b920647f361d36d935846cac75a7d0da30 (diff)
downloadmarcuscom-ports-971251a930732fc2d4e7344505f829f919a074b0.tar
marcuscom-ports-971251a930732fc2d4e7344505f829f919a074b0.tar.gz
marcuscom-ports-971251a930732fc2d4e7344505f829f919a074b0.tar.bz2
marcuscom-ports-971251a930732fc2d4e7344505f829f919a074b0.tar.lz
marcuscom-ports-971251a930732fc2d4e7344505f829f919a074b0.tar.xz
marcuscom-ports-971251a930732fc2d4e7344505f829f919a074b0.tar.zst
marcuscom-ports-971251a930732fc2d4e7344505f829f919a074b0.zip
- USE_X_PREFIX -> USE_XLIB.
- X11BASE -> LOCALBASE, it installs in LOCALBASE now and gtk theme is in LOCALBASE. - Bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6811 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio')
-rw-r--r--audio/terminatorx/Makefile100
-rw-r--r--audio/terminatorx/distinfo3
-rw-r--r--audio/terminatorx/files/patch-configure20
-rw-r--r--audio/terminatorx/files/patch-src::main.cc11
-rw-r--r--audio/terminatorx/files/patch-src::tX_dialog.cc11
-rw-r--r--audio/terminatorx/files/patch-src::tX_global.c11
-rw-r--r--audio/terminatorx/files/patch-src::tX_ladspa.cc13
-rw-r--r--audio/terminatorx/pkg-descr10
-rw-r--r--audio/terminatorx/pkg-plist13
9 files changed, 192 insertions, 0 deletions
diff --git a/audio/terminatorx/Makefile b/audio/terminatorx/Makefile
new file mode 100644
index 000000000..951eb4923
--- /dev/null
+++ b/audio/terminatorx/Makefile
@@ -0,0 +1,100 @@
+# New ports collection Makefile for: terminatorx
+# Date created: 13 May 2002
+# Whom: Tilman Linneweh <arved@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= terminatorx
+PORTVERSION= 3.82
+PORTREVISION= 3
+CATEGORIES= audio
+MASTER_SITES= http://terminatorx.org/dist/
+DISTNAME= terminatorX-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Realtime audio synthesizer that allows you to "scratch" on audio data
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \
+ scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \
+ lrdf.2:${PORTSDIR}/textproc/liblrdf \
+ jack.0:${PORTSDIR}/audio/jack
+
+USE_BZIP2= yes
+USE_XLIB= yes
+INSTALLS_OMF= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget gtk20 libxml2
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --disable-alsa \
+ --disable-alsamidi
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
+
+MAN1= terminatorX.1
+
+OPTIONS= MPG123 "mpg123 support" on \
+ SOX "sox (.au) support" on \
+ VORBIS "OGG Vorbis support" on \
+ MAD "MPEG Audio Decoder (libmad) support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_MPG123)
+BUILD_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
+.else
+CONFIGURE_ARGS+= --disable-mpg123
+.endif
+
+.if !defined(WITHOUT_SOX)
+BUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox
+.else
+CONFIGURE_ARGS+= --disable-sox
+.endif
+
+.if !defined(WITHOUT_VORBIS)
+BUILD_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
+.else
+CONFIGURE_ARGS+= --disable-vorbis
+.endif
+
+.if !defined(WITHOUT_MAD)
+LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/mad
+.else
+CONFIGURE_ARGS+= --disable-mad
+.endif
+
+post-patch:
+ @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|malloc\.h|stdlib.h|g'
+ @${GREP} -lR "%%LOCALBASE%%" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|%%LOCALBASE%%|${LOCALBASE}|g'
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/terminatorX ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/terminatorX.1 ${MANPREFIX}/man/man1
+.for file in terminatorX-app.png terminatorX-mime.png
+ ${INSTALL_DATA} ${WRKSRC}/gnome-support/${file} \
+ ${PREFIX}/share/gnome/pixmaps
+.endfor
+.for file in terminatorX.mime terminatorX.keys
+ ${INSTALL_DATA} ${WRKSRC}/gnome-support/${file} \
+ ${PREFIX}/share/gnome/mime-info
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/gnome-support/terminatorX.desktop \
+ ${PREFIX}/share/gnome/apps/Multimedia
+ @${MKDIR} ${PREFIX}/share/gnome/help/terminatorX/C
+ ${INSTALL_DATA} ${WRKSRC}/doc/terminatorX-manual/C/terminatorX-manual.xml \
+ ${PREFIX}/share/gnome/help/terminatorX/C/terminatorX.xml
+ @${MKDIR} ${PREFIX}/share/gnome/help/terminatorX/C/figures
+ ${INSTALL_DATA} ${WRKSRC}/doc/terminatorX-manual/C/figures/signalflow.png \
+ ${PREFIX}/share/gnome/help/terminatorX/C/figures
+ @${MKDIR} ${PREFIX}/share/gnome/omf/terminatorX
+ ${INSTALL_DATA} ${WRKSRC}/doc/terminatorX-manual/C/terminatorX-manual-C.omf \
+ ${PREFIX}/share/gnome/omf/terminatorX/terminatorX-C.omf
+ @scrollkeeper-install -q ${PREFIX}/share/gnome/omf/terminatorX/terminatorX-C.omf 2>/dev/null || ${TRUE}
+
+.include <bsd.port.post.mk>
diff --git a/audio/terminatorx/distinfo b/audio/terminatorx/distinfo
new file mode 100644
index 000000000..68e8a2d52
--- /dev/null
+++ b/audio/terminatorx/distinfo
@@ -0,0 +1,3 @@
+MD5 (terminatorX-3.82.tar.bz2) = 72f17e3e34581e8090f4f53c1328f641
+SHA256 (terminatorX-3.82.tar.bz2) = dad251021d6fab5a47eff8fde7afdfd18f97d2f5b940a90686a0fed580a04bd9
+SIZE (terminatorX-3.82.tar.bz2) = 395755
diff --git a/audio/terminatorx/files/patch-configure b/audio/terminatorx/files/patch-configure
new file mode 100644
index 000000000..67c50cb4e
--- /dev/null
+++ b/audio/terminatorx/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Wed Nov 3 23:41:09 2004
++++ configure Thu Nov 4 13:35:03 2004
+@@ -8456,6 +8456,8 @@
+ echo "${ECHO_T}Found GNOME - installing terminatorX.desktop." >&6
+ OPTION_GNOME="yes"
+ else
++ GNOMEpresent_TRUE='#'
++ GNOMEpresent_FALSE=
+ echo "$as_me:$LINENO: result: GNOME not found." >&5
+ echo "${ECHO_T}GNOME not found." >&6
+ fi
+@@ -8594,7 +8596,7 @@
+
+
+ if test "$prefix" != "NONE"; then
+- xml_man="\\\"$datadir/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\\\""
++ xml_man="\\\"$datadir/help/terminatorX/C/terminatorX.xml\\\""
+ else
+ xml_man="\\\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\\\""
+ fi
diff --git a/audio/terminatorx/files/patch-src::main.cc b/audio/terminatorx/files/patch-src::main.cc
new file mode 100644
index 000000000..4b8a777e9
--- /dev/null
+++ b/audio/terminatorx/files/patch-src::main.cc
@@ -0,0 +1,11 @@
+--- src/main.cc.orig Thu Aug 21 06:41:24 2003
++++ src/main.cc Sat Aug 23 04:52:05 2003
+@@ -33,7 +33,7 @@
+ 4 October 1999: Rewrite ;) - back to C++
+ */
+
+-#define TX_GTKRC "/usr/share/themes/terminatorX/gtk/gtkrc"
++#define TX_GTKRC "%%LOCALBASE%%/share/themes/terminatorX/gtk/gtkrc"
+
+ #define BENCH_CYCLES 100000
+
diff --git a/audio/terminatorx/files/patch-src::tX_dialog.cc b/audio/terminatorx/files/patch-src::tX_dialog.cc
new file mode 100644
index 000000000..580957977
--- /dev/null
+++ b/audio/terminatorx/files/patch-src::tX_dialog.cc
@@ -0,0 +1,11 @@
+--- src/tX_dialog.cc.orig Thu Jun 5 14:08:16 2003
++++ src/tX_dialog.cc Thu Jun 5 14:08:40 2003
+@@ -184,7 +184,7 @@
+ #ifdef USE_OSS
+ static GList *oss_devices=NULL;
+
+-int oss_select_dsp_only(const struct dirent *entry){
++int oss_select_dsp_only(struct dirent *entry){
+ return (strstr(entry->d_name, "dsp")!=0);
+ }
+
diff --git a/audio/terminatorx/files/patch-src::tX_global.c b/audio/terminatorx/files/patch-src::tX_global.c
new file mode 100644
index 000000000..67c21b697
--- /dev/null
+++ b/audio/terminatorx/files/patch-src::tX_global.c
@@ -0,0 +1,11 @@
+--- src/tX_global.c.orig Thu Aug 21 06:41:24 2003
++++ src/tX_global.c Sat Aug 23 04:34:16 2003
+@@ -127,7 +127,7 @@
+ #endif
+ globals.use_stdout_cmdline=0;
+ strcpy(globals.current_path, "");
+- strcpy(globals.lrdf_path, "/usr/share/ladspa/rdf:/usr/local/share/ladspa/rdf");
++ strcpy(globals.lrdf_path, "%%LOCALBASE%%/share/ladspa/rdf");
+ globals.fullscreen_enabled=0;
+ globals.confirm_events=0;
+ globals.compress_set_files=0;
diff --git a/audio/terminatorx/files/patch-src::tX_ladspa.cc b/audio/terminatorx/files/patch-src::tX_ladspa.cc
new file mode 100644
index 000000000..56ba8e4ec
--- /dev/null
+++ b/audio/terminatorx/files/patch-src::tX_ladspa.cc
@@ -0,0 +1,13 @@
+--- src/tX_ladspa.cc.orig Tue Aug 19 02:36:40 2003
++++ src/tX_ladspa.cc Sat Aug 23 04:37:18 2003
+@@ -44,8 +44,8 @@
+ ladspa_path_ptr=getenv("LADSPA_PATH");
+
+ if (!ladspa_path_ptr) {
+- tX_warning("LADSPA_PATH not set. Trying /usr/lib/ladspa:/usr/local/lib/ladspa");
+- strcpy(ladspa_path, "/usr/lib/ladspa:/usr/local/lib/ladspa");
++ tX_warning("LADSPA_PATH not set. Trying %%LOCALBASE%%/lib/ladspa");
++ strcpy(ladspa_path, "%%LOCALBASE%%/lib/ladspa");
+ }
+ else strcpy(ladspa_path, ladspa_path_ptr);
+
diff --git a/audio/terminatorx/pkg-descr b/audio/terminatorx/pkg-descr
new file mode 100644
index 000000000..08a7eafa4
--- /dev/null
+++ b/audio/terminatorx/pkg-descr
@@ -0,0 +1,10 @@
+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.org
diff --git a/audio/terminatorx/pkg-plist b/audio/terminatorx/pkg-plist
new file mode 100644
index 000000000..410c5fde1
--- /dev/null
+++ b/audio/terminatorx/pkg-plist
@@ -0,0 +1,13 @@
+bin/terminatorX
+share/gnome/apps/Multimedia/terminatorX.desktop
+share/gnome/help/terminatorX/C/terminatorX.xml
+share/gnome/help/terminatorX/C/figures/signalflow.png
+share/gnome/mime-info/terminatorX.keys
+share/gnome/mime-info/terminatorX.mime
+share/gnome/omf/terminatorX/terminatorX-C.omf
+share/gnome/pixmaps/terminatorX-app.png
+share/gnome/pixmaps/terminatorX-mime.png
+@dirrm share/gnome/omf/terminatorX
+@dirrm share/gnome/help/terminatorX/C/figures
+@dirrm share/gnome/help/terminatorX/C
+@dirrm share/gnome/help/terminatorX