summaryrefslogtreecommitdiff
path: root/audio/mad123
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-07-03 08:32:07 +0000
committeragc <agc@pkgsrc.org>2003-07-03 08:32:07 +0000
commit31aab6767a8e08acc39e38524030d1dc63a8af16 (patch)
treebf7d0c11ecdb99f1ba1db0fff00dfec6d04ab48a /audio/mad123
parentf75f3d54188213417f03817f0e2a9ae125ba843d (diff)
downloadpkgsrc-31aab6767a8e08acc39e38524030d1dc63a8af16.tar.gz
Due to popular demand, initial import of Steve Woodford's mad123-0.7,
a command-line MPEG audio player, into the NetBSD Packages Collection. mad123 is a simple command line MP3 player using Robert Leslie's libmad fixed-point MP3 decoder library. This is not meant to be a serious replacement for the ubiquitous mpg123 program. Instead, this is a merely an experiment in using libmad. At the time mad123 was written, a couple of things set it apart from the command line MP3 player supplied with libmad (madplay): 1) Supports URL style MP3 pathnames. 2) The audio output is double-buffered. 3) Streams can be pre-buffered using read-ahead. 4) Simple keyboard controls. 5) CTRL-C behaves like it does for mpg123. 6) It can be installed setuid-root so it can adjust scheduling priority to reduce its susceptiblity to jitter.
Diffstat (limited to 'audio/mad123')
-rw-r--r--audio/mad123/DESCR20
-rw-r--r--audio/mad123/Makefile27
-rw-r--r--audio/mad123/PLIST2
-rw-r--r--audio/mad123/distinfo4
4 files changed, 53 insertions, 0 deletions
diff --git a/audio/mad123/DESCR b/audio/mad123/DESCR
new file mode 100644
index 00000000000..cb7ea1849e9
--- /dev/null
+++ b/audio/mad123/DESCR
@@ -0,0 +1,20 @@
+mad123 is a simple command line MP3 player using Robert Leslie's
+libmad fixed-point MP3 decoder library.
+
+This is not meant to be a serious replacement for the ubiquitous
+mpg123 program. Instead, this is a merely an experiment in using
+libmad. At the time mad123 was written, a couple of things set it
+apart from the command line MP3 player supplied with libmad (madplay):
+
+1) Supports URL style MP3 pathnames.
+
+2) The audio output is double-buffered.
+
+3) Streams can be pre-buffered using read-ahead.
+
+4) Simple keyboard controls.
+
+5) CTRL-C behaves like it does for mpg123.
+
+6) It can be installed setuid-root so it can adjust scheduling
+priority to reduce its susceptiblity to jitter.
diff --git a/audio/mad123/Makefile b/audio/mad123/Makefile
new file mode 100644
index 00000000000..7a7f64687dd
--- /dev/null
+++ b/audio/mad123/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/03 08:32:07 agc Exp $
+#
+
+DISTNAME= mad123-0.7
+CATEGORIES= audio
+MASTER_SITES= http://www.mctavish.co.uk/mad123/
+
+MAINTAINER= tech-pkg@netbsd.org
+HOMEPAGE= http://www.mctavish.co.uk/mad123/
+COMMENT= Command-line MPEG audio player
+
+USE_BUILDLINK2= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mad123 ${PREFIX}/bin/mad123
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../audio/mad/buildlink2.mk"
+.include "../../audio/id3lib/buildlink2.mk"
+.include "../../www/curl/buildlink2.mk"
+
+.if defined(USE_OSS)
+. include "../../mk/ossaudio.buildlink2.mk"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mad123/PLIST b/audio/mad123/PLIST
new file mode 100644
index 00000000000..b1eb3ab50a5
--- /dev/null
+++ b/audio/mad123/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/03 08:32:07 agc Exp $
+bin/mad123
diff --git a/audio/mad123/distinfo b/audio/mad123/distinfo
new file mode 100644
index 00000000000..2fd39757ebd
--- /dev/null
+++ b/audio/mad123/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/07/03 08:32:07 agc Exp $
+
+SHA1 (mad123-0.7.tar.gz) = 87780a26dda3cbc5641f69e247aea5cf09539f5a
+Size (mad123-0.7.tar.gz) = 19298 bytes