From 31aab6767a8e08acc39e38524030d1dc63a8af16 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 3 Jul 2003 08:32:07 +0000 Subject: 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. --- audio/mad123/DESCR | 20 ++++++++++++++++++++ audio/mad123/Makefile | 27 +++++++++++++++++++++++++++ audio/mad123/PLIST | 2 ++ audio/mad123/distinfo | 4 ++++ 4 files changed, 53 insertions(+) create mode 100644 audio/mad123/DESCR create mode 100644 audio/mad123/Makefile create mode 100644 audio/mad123/PLIST create mode 100644 audio/mad123/distinfo (limited to 'audio/mad123') 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 -- cgit v1.2.3