Update to mad-0.14.2b

- Added esd flavor, adding esound support to madplay
- Added -b (--bit-depth) option and -i (--ignore-crc) option to madplay
- Added a new mad_stream_errorstr() API function to libmad for retrieving
a string description of the current error condition.
- Changed the audio_wave module to initially write ~0 length rather than
0, for better compatibility when output is piped to another program.
This commit is contained in:
pvalchev 2001-11-20 07:16:30 +00:00
parent c1227e622b
commit 5b5188325c
5 changed files with 20 additions and 12 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.5 2001/10/27 00:11:40 pvalchev Exp $ # $OpenBSD: Makefile,v 1.6 2001/11/20 07:16:30 pvalchev Exp $
COMMENT= "high-quality mpeg audio decoder" COMMENT= "high-quality mpeg audio decoder"
VERSION= 0.14.1b VERSION= 0.14.2b
DISTNAME= mad-${VERSION} DISTNAME= mad-${VERSION}
CATEGORIES= audio devel CATEGORIES= audio devel
NEED_VERSION= 1.484 NEED_VERSION= 1.498
HOMEPAGE= http://mad.sourceforge.net/ HOMEPAGE= http://mad.sourceforge.net/
@ -22,7 +22,7 @@ MASTER_SITE_SUBDIR= mad
MODULES= gettext MODULES= gettext
FLAVORS= debug FLAVORS= debug esd
FLAVOR?= FLAVOR?=
.if ${FLAVOR:L:Mdebug} .if ${FLAVOR:L:Mdebug}
@ -31,6 +31,13 @@ CONFIGURE_ARGS+= --enable-debugging
CONFIGURE_ARGS+= --disable-debugging CONFIGURE_ARGS+= --disable-debugging
.endif .endif
.if ${FLAVOR:L:Mesd}
CONFIGURE_ARGS+= --with-esd
LIB_DEPENDS+= esd.2::audio/esound
.else
CONFIGURE_ARGS+= --without-esd
.endif
USE_GMAKE= Yes USE_GMAKE= Yes
SEPARATE_BUILD= concurrent SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
@ -39,7 +46,8 @@ CONFIGURE_ARGS+= --enable-sso \
--enable-accuracy \ --enable-accuracy \
--enable-nls --enable-nls
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" LDFLAGS="-Llibmad/.libs -Llibid3tag/.libs -L${LOCALBASE}/lib"
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \ PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \ ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \

3
audio/mad/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (mad-0.14.2b.tar.gz) = eb3bfbe634ba9d5b4928aa11e0f6819d
RMD160 (mad-0.14.2b.tar.gz) = 5cf96f045de2317cbb5636ee85d153adc19e47da
SHA1 (mad-0.14.2b.tar.gz) = 07303e2a512a9956d63fef3451ae7823e5f03b68

View File

@ -1,3 +0,0 @@
MD5 (mad-0.14.1b.tar.gz) = 4e70a3129d93a47b19202dade3b86f89
RMD160 (mad-0.14.1b.tar.gz) = d9bcc5b35bec8f36373cf4f2319383b3965846dd
SHA1 (mad-0.14.1b.tar.gz) = e561ded6e914cc8bf627e90ceb4ba02d5c01af48

View File

@ -18,6 +18,6 @@ The software is distributed as a library (libmad) and
command-line front-end (madplay). command-line front-end (madplay).
Additionally, packages can be built with "debug" flavor to enable Additionally, packages can be built with "debug" flavor to enable
debugging. debugging and "esd" flavor for EsounD support.
WWW: ${HOMEPAGE} WWW: ${HOMEPAGE}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2001/10/27 00:11:40 pvalchev Exp $ @comment $OpenBSD: PFRAG.shared,v 1.3 2001/11/20 07:16:31 pvalchev Exp $
lib/libid3tag.so.0.0 lib/libid3tag.so.1.0
lib/libmad.so.0.0 lib/libmad.so.1.0
DYNLIBDIR(%B) DYNLIBDIR(%B)