pkgsrc/audio/lame/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

2006-12-15 15:34:18 +01:00
# $NetBSD: Makefile,v 1.57 2006/12/15 14:34:19 wiz Exp $
1999-08-08 05:12:09 +02:00
#
Update to 3.91. Changes since 3.89: * Darin Morrison: Bugfix for --alt-preset (for content with low volume, clean vocals), only important for the "fast standard" preset * Alexander Leidinger: <BR * add some missing files to the distribution * add --alt-preset to the man page * Many small improvements and bug fixes not added to history * John Dahlstrom: more fine tuning on the auto adjustment of the ATH * Robert Hegemann: small speed and quality improvements for the old VBR code (--vbr-old). * Robert Hegemann: some short block bug fixes * Robert Hegemann: Big improvements to --vbr-mtrh, now encodes much more frequencies over 16khz * Robert Hegemann: --vbr-new code disabled (outdated and lower quality) and replaced with --vbr-mtrh (Both --vbr-new and --vbr-mtrh now default to mtrh) * Robert Hegemann: reordering of --longhelp to give more information, --extrahelp dropped * Darin Morrison: Totally revamped and extremely high quality unified preset system and other general quality improvements now available with --alt-presets: * some improvements to psychoacoustics (vast improvements over default L.A.M.E. modes) when --alt-preset is used including: * Improved tuning of short block usage. * Improved quantization selection usage (the -X modes), now adapts between appropriate modes on the fly. Also helps on "dropout" problems and with pre-echo cases. * Improved joint stereo usage. Thresholds are better tuned now and fix some "dropout" problems L.A.M.E. suffers from on clips like serioustrouble. * Improved noise shaping usage. Now switches between noise shaping modes on the fly (toggles -Z on and off when appropriate) which allows lower bitrates but without the quality compromise. * Clips vastly improved over default L.A.M.E. modes (vbr/cbr/abr, including --r3mix): castanets, florida_seq, death2, fatboy, spahm, gbtinc, ravebase, short, florida_seq, hihat, bassdrum, 2nd_vent_clip, serioustrouble, bloodline, and others. No degraded clips known. * VBR bitrates are now more "stable" with less fluctuation -- not dipping too low on some music and not increasing too high unnecessarily on other music. "--alt-preset standard" provides bitrates roughly within the range of 180-220kbps, often averaging close to 192kbps. * --alt-presets replace the --dm-presets and "metal" preset is removed and replaced with generic abr and cbr presets. * --alt-preset extreme (note the 'e') replaces xtreme to help eliminate some confusion * --alt-preset vbr modes now have a fast option which offers almost no compromise in speed. * --alt-preset standard (and "fast standard") are now much lower in bitrate, matching --r3mix with an overall average, though offering higher quality especially on difficult test samples. * --alt-presets are no longer just "presets" as in a collection of switches, instead they are now quality "modes" because of special code level tunings (those mentioned above). * Use --alt-preset help for more information. * Roel VdB: more tuning on the --r3mix preset * Jon Dee, Roel VdB: INFO tag * Alexander Leidinger, mp3gain@hotmail.com: added --scale-l and --scale-r to scale stereo channels independantly * Takehiro Tominaga: new noise shaping mode, offering more "cutting edge" shaping according to masking, enabled via -q1 * Mark Taylor: More work on --nogap * Gabriel Bouvigne: Small changes to abr code for more accurate final bitrate * Gabriel Bouvigne, mp3gain@hotmail.com: Preliminary ReplayGain analysis code added (not functional yet) * Gabriel Bouvigne, Alexander Leidinger: Documentation updates * John Dahlstrom, DSPguru@math.com: floating point interface function in the Windows DLL
2002-01-07 17:38:31 +01:00
DISTNAME= lame-${VERS}
CATEGORIES= audio
Update to 3.91. Changes since 3.89: * Darin Morrison: Bugfix for --alt-preset (for content with low volume, clean vocals), only important for the "fast standard" preset * Alexander Leidinger: <BR * add some missing files to the distribution * add --alt-preset to the man page * Many small improvements and bug fixes not added to history * John Dahlstrom: more fine tuning on the auto adjustment of the ATH * Robert Hegemann: small speed and quality improvements for the old VBR code (--vbr-old). * Robert Hegemann: some short block bug fixes * Robert Hegemann: Big improvements to --vbr-mtrh, now encodes much more frequencies over 16khz * Robert Hegemann: --vbr-new code disabled (outdated and lower quality) and replaced with --vbr-mtrh (Both --vbr-new and --vbr-mtrh now default to mtrh) * Robert Hegemann: reordering of --longhelp to give more information, --extrahelp dropped * Darin Morrison: Totally revamped and extremely high quality unified preset system and other general quality improvements now available with --alt-presets: * some improvements to psychoacoustics (vast improvements over default L.A.M.E. modes) when --alt-preset is used including: * Improved tuning of short block usage. * Improved quantization selection usage (the -X modes), now adapts between appropriate modes on the fly. Also helps on "dropout" problems and with pre-echo cases. * Improved joint stereo usage. Thresholds are better tuned now and fix some "dropout" problems L.A.M.E. suffers from on clips like serioustrouble. * Improved noise shaping usage. Now switches between noise shaping modes on the fly (toggles -Z on and off when appropriate) which allows lower bitrates but without the quality compromise. * Clips vastly improved over default L.A.M.E. modes (vbr/cbr/abr, including --r3mix): castanets, florida_seq, death2, fatboy, spahm, gbtinc, ravebase, short, florida_seq, hihat, bassdrum, 2nd_vent_clip, serioustrouble, bloodline, and others. No degraded clips known. * VBR bitrates are now more "stable" with less fluctuation -- not dipping too low on some music and not increasing too high unnecessarily on other music. "--alt-preset standard" provides bitrates roughly within the range of 180-220kbps, often averaging close to 192kbps. * --alt-presets replace the --dm-presets and "metal" preset is removed and replaced with generic abr and cbr presets. * --alt-preset extreme (note the 'e') replaces xtreme to help eliminate some confusion * --alt-preset vbr modes now have a fast option which offers almost no compromise in speed. * --alt-preset standard (and "fast standard") are now much lower in bitrate, matching --r3mix with an overall average, though offering higher quality especially on difficult test samples. * --alt-presets are no longer just "presets" as in a collection of switches, instead they are now quality "modes" because of special code level tunings (those mentioned above). * Use --alt-preset help for more information. * Roel VdB: more tuning on the --r3mix preset * Jon Dee, Roel VdB: INFO tag * Alexander Leidinger, mp3gain@hotmail.com: added --scale-l and --scale-r to scale stereo channels independantly * Takehiro Tominaga: new noise shaping mode, offering more "cutting edge" shaping according to masking, enabled via -q1 * Mark Taylor: More work on --nogap * Gabriel Bouvigne: Small changes to abr code for more accurate final bitrate * Gabriel Bouvigne, mp3gain@hotmail.com: Preliminary ReplayGain analysis code added (not functional yet) * Gabriel Bouvigne, Alexander Leidinger: Documentation updates * John Dahlstrom, DSPguru@math.com: floating point interface function in the Windows DLL
2002-01-07 17:38:31 +01:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lame/} \
http://hive.me.gu.edu.au/not_lame/
2006-12-15 15:34:18 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lame.sourceforge.net/
COMMENT= Fast, high quality MP3 encoder
Update lame to 3.97, using diff provided by wiz. LAME 3.97 September 24 2006 * 3.97 beta 3 becomes 3.97 LAME 3.97 beta 3 August 19 2006 * Gabriel Bouvigne: o Workaround against a short blocks detection issue LAME 3.97 beta 2 November 26 2005 * Gabriel Bouvigne: o Fixed an initialization error when input is not using a standard sampling frequency o Fixed a possible assertion failure in very low bitrate encoding o Slight change regarding ATH adjustment with V5 o Reinstated bit reservoir for 320kbps CBR o ReplayGain analysis should now be faster when encountering silent parts * Takehiro Tominaga: o Fixed a possible link problem of assembly code LAME 3.97 beta 1 September 12 2005 * Takehiro Tominaga: o Fixed an out of array access in mp3rtp o Fixed a quality setting in DLL o Fixed display when using --silent * Vitaly Ivanov: o Updated DirectShow interface * Robert Hegemann: o Fixed an out of array access o Fixed some small rounding problem in vbr-new quantization routines o Fixed a bug in vbr-new regarding high frequencies (sfb21) when using -Y o Fixed a few bugs in vbr-new when using -Y o Updated scalefactors allocation scheme in vbr-new o Fixed mingw32 configure problems o Resolved some compiler warnings o Updated command-line visualisation * Gabriel Bouvigne: o Changed some FLOAT8 to FLOAT o Added project files for VC7 o Reworked -q1 and -q0 o Updated presets o Fixed an error in ISO quantization on systems not using the IEEE754 hack o Faster quantization o SSE version of init_xrpow * Rog�io Brito: o Updated Debian packaging o Documentation work * Chris Miller: o Support for x64 platform SDK in makefile.msvc
2006-10-23 03:30:34 +02:00
VERS= 3.97
LICENSE= lame-license
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake
2002-08-28 08:49:34 +02:00
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
2002-08-28 08:49:34 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-vorbis
2004-03-20 03:23:38 +01:00
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE:Q}
2004-03-20 03:23:38 +01:00
2003-11-06 19:31:08 +01:00
LDFLAGS.SunOS+= -lm
2005-05-31 18:04:28 +02:00
.include "options.mk"
2005-05-31 18:04:28 +02:00
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "alpha"
. include "../../math/libffm/buildlink3.mk"
# double is faster than float on Alpha
CFLAGS+= -O2 -Wall -fomit-frame-pointer -ffast-math -funroll-loops \
-mfp-regs -fschedule-insns -fschedule-insns2 \
-finline-functions -DFLOAT=double -DFLOAT_MAX=DBL_MAX
.endif
1999-08-08 05:12:09 +02:00
Update lame to 3.97, using diff provided by wiz. LAME 3.97 September 24 2006 * 3.97 beta 3 becomes 3.97 LAME 3.97 beta 3 August 19 2006 * Gabriel Bouvigne: o Workaround against a short blocks detection issue LAME 3.97 beta 2 November 26 2005 * Gabriel Bouvigne: o Fixed an initialization error when input is not using a standard sampling frequency o Fixed a possible assertion failure in very low bitrate encoding o Slight change regarding ATH adjustment with V5 o Reinstated bit reservoir for 320kbps CBR o ReplayGain analysis should now be faster when encountering silent parts * Takehiro Tominaga: o Fixed a possible link problem of assembly code LAME 3.97 beta 1 September 12 2005 * Takehiro Tominaga: o Fixed an out of array access in mp3rtp o Fixed a quality setting in DLL o Fixed display when using --silent * Vitaly Ivanov: o Updated DirectShow interface * Robert Hegemann: o Fixed an out of array access o Fixed some small rounding problem in vbr-new quantization routines o Fixed a bug in vbr-new regarding high frequencies (sfb21) when using -Y o Fixed a few bugs in vbr-new when using -Y o Updated scalefactors allocation scheme in vbr-new o Fixed mingw32 configure problems o Resolved some compiler warnings o Updated command-line visualisation * Gabriel Bouvigne: o Changed some FLOAT8 to FLOAT o Added project files for VC7 o Reworked -q1 and -q0 o Updated presets o Fixed an error in ISO quantization on systems not using the IEEE754 hack o Faster quantization o SSE version of init_xrpow * Rog�io Brito: o Updated Debian packaging o Documentation work * Chris Miller: o Support for x64 platform SDK in makefile.msvc
2006-10-23 03:30:34 +02:00
.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
CONFIGURE_ARGS+= --enable-nasm
.endif
.include "../../mk/curses.buildlink3.mk"
1999-08-08 05:12:09 +02:00
.include "../../mk/bsd.pkg.mk"