aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-01-08 16:14:47 +0800
committerijliao <ijliao@FreeBSD.org>2004-01-08 16:14:47 +0800
commit8d6ea278e5836683d69c6e7e4580dbdb41aacb03 (patch)
tree27e609427935786b59ce8331f3d7cfb37cb798fe /audio
parent49ea29ba791f79d43070e973bde29842c3b70113 (diff)
downloadfreebsd-ports-gnome-8d6ea278e5836683d69c6e7e4580dbdb41aacb03.tar.gz
freebsd-ports-gnome-8d6ea278e5836683d69c6e7e4580dbdb41aacb03.tar.zst
freebsd-ports-gnome-8d6ea278e5836683d69c6e7e4580dbdb41aacb03.zip
add q-audio 1.2
Q-Audio -- digital audio interface for the Q language
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/q-audio/Makefile35
-rw-r--r--audio/q-audio/distinfo1
-rw-r--r--audio/q-audio/files/patch-ltmain.sh15
-rw-r--r--audio/q-audio/pkg-descr17
-rw-r--r--audio/q-audio/pkg-plist15
6 files changed, 84 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index c3c12ead7e27..92dc0d77e4c8 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -262,6 +262,7 @@
SUBDIR += py-vorbis
SUBDIR += py-xmms
SUBDIR += pysol-sound-server
+ SUBDIR += q-audio
SUBDIR += quelcom
SUBDIR += radio
SUBDIR += raproxy
diff --git a/audio/q-audio/Makefile b/audio/q-audio/Makefile
new file mode 100644
index 000000000000..a961b39dd4c9
--- /dev/null
+++ b/audio/q-audio/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: q-audio
+# Date created: 14 August 2003
+# Whom: ag@muwiinfa.geschichte.uni-mainz.de Albert Graef
+#
+# $FreeBSD$
+#
+
+PORTNAME= q-audio
+PORTVERSION= 1.2
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= q-lang
+
+MAINTAINER= ag@muwiinfa.geschichte.uni-mainz.de
+COMMENT= Q-Audio -- digital audio interface for the Q language
+
+LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
+ q.4:${PORTSDIR}/lang/q
+
+USE_REINPLACE= yes
+USE_GNOME= gnometarget
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-pthread="${PTHREAD_LIBS}"
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+DATADIR= ${PREFIX}/share/q
+EXAMPLESDIR= ${PREFIX}/share/examples/q/audio
+
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
+ ${GREP} -l "^examplesdir" | ${XARGS} ${REINPLACE_CMD} -e \
+ "s;[(]pkgdatadir[)]/examples;(datadir)/examples/q;"
+
+.include <bsd.port.mk>
diff --git a/audio/q-audio/distinfo b/audio/q-audio/distinfo
new file mode 100644
index 000000000000..2b943bfc066d
--- /dev/null
+++ b/audio/q-audio/distinfo
@@ -0,0 +1 @@
+MD5 (q-audio-1.2.tar.gz) = 79c887ac39a5b21edd2d5b9ff2143215
diff --git a/audio/q-audio/files/patch-ltmain.sh b/audio/q-audio/files/patch-ltmain.sh
new file mode 100644
index 000000000000..73941991ad87
--- /dev/null
+++ b/audio/q-audio/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig Thu Jan 8 15:57:49 2004
++++ ltmain.sh Thu Jan 8 15:58:00 2004
+@@ -4210,10 +4210,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false ; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/audio/q-audio/pkg-descr b/audio/q-audio/pkg-descr
new file mode 100644
index 000000000000..d67931041f13
--- /dev/null
+++ b/audio/q-audio/pkg-descr
@@ -0,0 +1,17 @@
+This package contains two modules to write digital audio applications in the Q
+programming language:
+
+- The audio module implements a (near-)realtime audio interface on top of Phil
+ Burk's PortAudio library V1.8 (http://www.portaudio.com/).
+
+- The sndfile module allows you to access sound files in various formats using
+ Erik de Castro Lopo's libsndfile library V1.0 or later
+ (http://www.zip.com.au/~erikd/libsndfile/).
+
+Also included is a GGI-based wave renderer (draw_wave.q) and a simple
+graphical audio player application (audio_player.q).
+
+WWW: http://q-lang.sourceforge.net/
+
+- Albert Graef
+ag@muwiinfa.geschichte.uni-mainz.de
diff --git a/audio/q-audio/pkg-plist b/audio/q-audio/pkg-plist
new file mode 100644
index 000000000000..842dbcb18aca
--- /dev/null
+++ b/audio/q-audio/pkg-plist
@@ -0,0 +1,15 @@
+bin/audio_player
+lib/q/audio.a
+lib/q/audio.so
+lib/q/sndfile.a
+lib/q/sndfile.so
+lib/q/draw_wave.a
+lib/q/draw_wave.so
+%%DATADIR%%/etc/README-Audio
+%%DATADIR%%/lib/audio.q
+%%DATADIR%%/lib/sndfile.q
+%%DATADIR%%/lib/draw_wave.q
+%%DATADIR%%/lib/audio_player.q
+%%DATADIR%%/lib/audio_player.tcl
+%%EXAMPLESDIR%%/audio_examp.q
+@dirrm %%EXAMPLESDIR%%