Date: 18 Nov 2000 21:59:20 -0000 From: jason-freebsd@mastaler.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22950: NEW PORT: mad - High-quality MPEG audio decoder Message-ID: <20001118215920.76996.qmail@aguirre.la.mastaler.com>
next in thread | raw e-mail | index | archive | help
>Number: 22950 >Category: ports >Synopsis: NEW PORT: mad - High-quality MPEG audio decoder >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 18 14:00:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: Jason R Mastaler >Release: FreeBSD 4.1-20001019-STABLE i386 >Organization: >Environment: >Description: MAD is a high-quality MPEG audio decoder. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented. The software is distributed as a library (libmad) and command-line front-end (madplay). This software received the NetBSD "Package of the Month" award for October, 2000. (Excerpt from netbsd-announce) "madplay, (pkgsrc/audio/madplay) nominated by Simon Burge, Thomas Klausner and others, because its playback of mp3s is definitely audibly superior to other mp3 players." See <http://mad.sourceforge.net/> for more information. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mad # mad/files # mad/files/patch-aa # mad/files/patch-ab # mad/Makefile # mad/pkg-plist # mad/distinfo # mad/pkg-comment # mad/pkg-descr # echo c - mad mkdir -p mad > /dev/null 2>&1 echo c - mad/files mkdir -p mad/files > /dev/null 2>&1 echo x - mad/files/patch-aa sed 's/^X//' >mad/files/patch-aa << 'END-of-mad/files/patch-aa' X--- configure.orig Fri Nov 17 11:09:43 2000 X+++ configure Fri Nov 17 11:10:07 2000 X@@ -5439,10 +5439,6 @@ X *) # Relative path. X ac_sub_cache_file="$ac_dots$cache_file" ;; X esac X- case "$ac_given_INSTALL" in X- [/$]*) INSTALL="$ac_given_INSTALL" ;; X- *) INSTALL="$ac_dots$ac_given_INSTALL" ;; X- esac X X echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" X # The eval makes quoting arguments work. END-of-mad/files/patch-aa echo x - mad/files/patch-ab sed 's/^X//' >mad/files/patch-ab << 'END-of-mad/files/patch-ab' X--- audio_oss.c.orig Thu Nov 16 03:51:04 2000 X+++ audio_oss.c Sat Nov 18 13:45:25 2000 X@@ -57,6 +57,10 @@ X # undef AUDIO_TRY32BITS X # endif X X+# if !defined(SNDCTL_DSP_CHANNELS) && defined(SOUND_PCM_WRITE_CHANNELS) X+# define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS X+# endif X+ X # define AUDIO_DEVICE "/dev/dsp" X X static int sfd; END-of-mad/files/patch-ab echo x - mad/Makefile sed 's/^X//' >mad/Makefile << 'END-of-mad/Makefile' X# New ports collection makefile for: mad X# Date created: 18 November 2000 X# Whom: Jason R. Mastaler <jason-freebsd@mastaler.com> X# X# $FreeBSD$ X# X XPORTNAME= mad XPORTVERSION= 0.12.1b XCATEGORIES= audio XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ X ftp://ftp.mars.org/pub/mpeg/ XMASTER_SITE_SUBDIR= mad X XMAINTAINER= jason-freebsd@mastaler.com X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_LIBTOOL= yes X XMAN1= abxtest.1 madplay.1 X X.include <bsd.port.mk> END-of-mad/Makefile echo x - mad/pkg-plist sed 's/^X//' >mad/pkg-plist << 'END-of-mad/pkg-plist' Xbin/abxtest Xbin/madplay Xinclude/mad.h Xlib/libmad.a Xlib/libmad.la Xshare/locale/en/LC_MESSAGES/mad.mo Xshare/locale/es/LC_MESSAGES/mad.mo Xshare/locale/fr/LC_MESSAGES/mad.mo Xshare/locale/hr/LC_MESSAGES/mad.mo Xshare/locale/no/LC_MESSAGES/mad.mo END-of-mad/pkg-plist echo x - mad/distinfo sed 's/^X//' >mad/distinfo << 'END-of-mad/distinfo' XMD5 (mad-0.12.1b.tar.gz) = 7562add886aee7b2dbdc3c22b32e70bd END-of-mad/distinfo echo x - mad/pkg-comment sed 's/^X//' >mad/pkg-comment << 'END-of-mad/pkg-comment' XHigh-quality MPEG audio decoder END-of-mad/pkg-comment echo x - mad/pkg-descr sed 's/^X//' >mad/pkg-descr << 'END-of-mad/pkg-descr' XMAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 Xas well as the MPEG-2 extension to Lower Sampling Frequencies. All Xthree audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are Xfully implemented. X XMAD does not yet support MPEG-2 multichannel audio (although it should Xbe backward compatible with such streams) or AAC, nor does it support Xthe so-called MPEG 2.5 format. X XMAD has the following special features: X X - 24-bit PCM output X - 100% fixed-point (integer) computation X - completely new implementation based on the ISO/IEC standards X - distributed under the terms of the GNU General Public License (GPL) X XThe software is distributed as a library (libmad) and command-line Xfront-end (madplay). X XWWW: http://mad.sourceforge.net/ END-of-mad/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001118215920.76996.qmail>