1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Add libmad, the library backend to the MAD audio project. MAD is a

high-quality MPEG 1 and 2 audio decoder.

PR:		59702
Submitted by:	Sergey Akifyev <asa@gascom.ru>
This commit is contained in:
Joe Marcus Clarke 2003-12-07 00:50:00 +00:00
parent 396b9657ea
commit 2e0d331d7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95213
6 changed files with 60 additions and 0 deletions

View File

@ -144,6 +144,7 @@
SUBDIR += libao
SUBDIR += libaudiofile
SUBDIR += libcdaudio
SUBDIR += libmad
SUBDIR += libmikmod
SUBDIR += libmusicbrainz
SUBDIR += libogg

24
audio/libmad/Makefile Normal file
View File

@ -0,0 +1,24 @@
# New ports collection makefile for: libmad
# Date created: 26 November 2003
# Whom: Sergey Akifyev <asa@gascom.ru>
#
# $FreeBSD$
#
PORTNAME= libmad
PORTVERSION= 0.15.0b
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.mars.org/pub/mpeg/
MASTER_SITE_SUBDIR= mad
MAINTAINER= asa@gascom.ru
COMMENT= Libmad library (part of MAD project)
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --disable-debugging \
--enable-sso \
--enable-accuracy
.include <bsd.port.mk>

1
audio/libmad/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (libmad-0.15.0b.tar.gz) = 2e4487cdf922a6da2546bad74f643205

View File

@ -0,0 +1,10 @@
--- configure.orig Wed Dec 11 18:31:51 2002
+++ configure Thu Dec 12 12:07:17 2002
@@ -7414,6 +7414,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

20
audio/libmad/pkg-descr Normal file
View File

@ -0,0 +1,20 @@
MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1
as well as the MPEG-2 extension to Lower Sampling Frequencies. All
three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are
fully implemented.
MAD does not yet support MPEG-2 multichannel audio (although it should
be backward compatible with such streams) or AAC, nor does it support
the so-called MPEG 2.5 format.
MAD has the following special features:
- 24-bit PCM output
- 100% fixed-point (integer) computation
- completely new implementation based on the ISO/IEC standards
- distributed under the terms of the GNU General Public License (GPL)
The software is distributed as a library (libmad) and command-line
front-end (madplay).
WWW: http://mad.sourceforge.net/

4
audio/libmad/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
include/mad.h
lib/libmad.a
lib/libmad.so
lib/libmad.so.2