summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 01:55:46 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 01:55:46 +0800
commitc091a01dcb0e6b8a74a6b0d4f2384035e7265327 (patch)
treeee776466a339d3415bbe2195a5425f25fb1b23de
parentf91c14bcd18a8171c4d4efc720dbe6a56a9fe724 (diff)
downloadmarcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.gz
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.bz2
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.lz
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.xz
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.zst
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8765 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--audio/terminatorx/Makefile101
-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
-rw-r--r--audio/tunesbrowser/Makefile43
-rw-r--r--audio/tunesbrowser/distinfo3
-rw-r--r--audio/tunesbrowser/files/patch-Makefile.in20
-rw-r--r--audio/tunesbrowser/files/patch-misc_ui.c12
-rw-r--r--audio/tunesbrowser/pkg-descr8
-rw-r--r--audio/tunesbrowser/pkg-plist9
15 files changed, 288 insertions, 0 deletions
diff --git a/audio/terminatorx/Makefile b/audio/terminatorx/Makefile
new file mode 100644
index 000000000..bc4b65698
--- /dev/null
+++ b/audio/terminatorx/Makefile
@@ -0,0 +1,101 @@
+# New ports collection Makefile for: terminatorx
+# Date created: 13 May 2002
+# Whom: Tilman Linneweh <arved@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= terminatorx
+PORTVERSION= 3.82
+PORTREVISION= 4
+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/pixmaps
+.endfor
+.for file in terminatorX.mime terminatorX.keys
+ ${INSTALL_DATA} ${WRKSRC}/gnome-support/${file} \
+ ${PREFIX}/share/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/omf/terminatorX
+ ${INSTALL_DATA} ${WRKSRC}/doc/terminatorX-manual/C/terminatorX-manual-C.omf \
+ ${PREFIX}/share/omf/terminatorX/terminatorX-C.omf
+ @scrollkeeper-install -q ${PREFIX}/share/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..1b64bfbd8
--- /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/mime-info/terminatorX.keys
+share/mime-info/terminatorX.mime
+share/omf/terminatorX/terminatorX-C.omf
+share/pixmaps/terminatorX-app.png
+share/pixmaps/terminatorX-mime.png
+@dirrm share/omf/terminatorX
+@dirrm share/gnome/help/terminatorX/C/figures
+@dirrm share/gnome/help/terminatorX/C
+@dirrm share/gnome/help/terminatorX
diff --git a/audio/tunesbrowser/Makefile b/audio/tunesbrowser/Makefile
new file mode 100644
index 000000000..75f8239dc
--- /dev/null
+++ b/audio/tunesbrowser/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: tunesbrowser
+# Date created: 2004-07-27
+# Whom: Michael Johnson <ahze@ahze.net>
+#
+# $FreeBSD$
+# $MCom: ports/audio/tunesbrowser/Makefile,v 1.7 2006/04/29 10:51:51 pav Exp $
+
+PORTNAME= tunesbrowser
+PORTVERSION= 0.3.0
+PORTREVISION= 3
+CATEGORIES= audio
+MASTER_SITES= http://crazney.net/programs/itunes/files/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Simple iTunes-like music player
+
+LIB_DEPENDS= opendaap.0:${PORTSDIR}/devel/libopendaap
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget libglade2
+WANT_GNOME= yes
+USE_GSTREAMER80= mad
+GNU_CONFIGURE= yes
+
+MAN1= tunesbrowser.1
+
+OPTIONS= FAAD "Enable AAC/MP4 Audio output" Off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_FAAD)
+USE_GSTREAMER80+= faad
+.endif
+
+.if ${HAVE_GNOME:Mlibgnome}!=""
+PKGNAMESUFFIX= -gnome
+USE_GNOME+= libgnome
+.else
+CONFIGURE_ARGS+= --disable-gnome
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/tunesbrowser/distinfo b/audio/tunesbrowser/distinfo
new file mode 100644
index 000000000..7de0b68f8
--- /dev/null
+++ b/audio/tunesbrowser/distinfo
@@ -0,0 +1,3 @@
+MD5 (tunesbrowser-0.3.0.tar.bz2) = dacfc3f7209c3165be9a9211dfb7bf0e
+SHA256 (tunesbrowser-0.3.0.tar.bz2) = 73f2f01f86f90618fee6756e0f039da2fecc3cc929f665e900c449e7d126dbb6
+SIZE (tunesbrowser-0.3.0.tar.bz2) = 222593
diff --git a/audio/tunesbrowser/files/patch-Makefile.in b/audio/tunesbrowser/files/patch-Makefile.in
new file mode 100644
index 000000000..229c61c3e
--- /dev/null
+++ b/audio/tunesbrowser/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Mon May 16 14:48:28 2005
++++ Makefile.in Mon May 16 19:39:09 2005
+@@ -144,7 +144,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ SUBDIRS = debug
+-uidir = $(datadir)
++uidir = $(pkgdatadir)
+ bin_PROGRAMS = tunesbrowser
+ tunesbrowser_SOURCES = albumlist.c artistlist.c audioplayer.c \
+ daap.c main.c misc_ui.c songlist.c sourcelist.c \
+@@ -158,7 +158,7 @@
+ man_MANS = tunesbrowser.1
+
+ INCLUDES = -I$(srcdir) -I$(srcdir)/debug
+-AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(datadir)
++AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(pkgdatadir)
+
+ ui_DATA = tunesbrowser.glade \
+ comp.blue.png comp.red.png \
diff --git a/audio/tunesbrowser/files/patch-misc_ui.c b/audio/tunesbrowser/files/patch-misc_ui.c
new file mode 100644
index 000000000..897db5181
--- /dev/null
+++ b/audio/tunesbrowser/files/patch-misc_ui.c
@@ -0,0 +1,12 @@
+--- misc_ui.c.orig Wed Jul 28 06:41:58 2004
++++ misc_ui.c Wed Jul 28 06:43:37 2004
+@@ -139,8 +139,8 @@
+ if (seconds >= 0)
+ {
+ int minutes = seconds / 60;
++ char bufstr[11];
+ seconds -= minutes * 60;
+- char bufstr[11] = {0};
+
+ snprintf(bufstr, 10, "%i:%02i",
+ minutes, seconds);
diff --git a/audio/tunesbrowser/pkg-descr b/audio/tunesbrowser/pkg-descr
new file mode 100644
index 000000000..bfb53f318
--- /dev/null
+++ b/audio/tunesbrowser/pkg-descr
@@ -0,0 +1,8 @@
+TunesBrowser is a simple music player, capable of playing music found on
+iTunes(R) shares. Its features are:
+
+ - Play MP3's off other computers running iTunes
+ - Discovery of hosts over Rendezvous
+ - Interface is quite similar to that of iTunes
+
+WWW: http://crazney.net/programs/itunes/tunesbrowser.html
diff --git a/audio/tunesbrowser/pkg-plist b/audio/tunesbrowser/pkg-plist
new file mode 100644
index 000000000..e1f667be2
--- /dev/null
+++ b/audio/tunesbrowser/pkg-plist
@@ -0,0 +1,9 @@
+bin/tunesbrowser
+share/tunesbrowser/comp.blue.png
+share/tunesbrowser/comp.red.png
+share/tunesbrowser/sound1.png
+share/tunesbrowser/sound2.png
+share/tunesbrowser/soundfile.png
+share/tunesbrowser/tips.txt
+share/tunesbrowser/tunesbrowser.glade
+@dirrm share/tunesbrowser