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}
|
2000-11-15 14:52:57 +01:00
|
|
|
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/} \
|
2004-01-20 16:46:12 +01:00
|
|
|
http://hive.me.gu.edu.au/not_lame/
|
1999-10-13 07:52:45 +02:00
|
|
|
|
2006-12-15 15:34:18 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-09-06 12:46:03 +02:00
|
|
|
HOMEPAGE= http://lame.sourceforge.net/
|
2001-02-16 14:30:32 +01:00
|
|
|
COMMENT= Fast, high quality MP3 encoder
|
2000-11-15 14:52:57 +01:00
|
|
|
|
2006-10-23 03:30:34 +02:00
|
|
|
VERS= 3.97
|
2004-01-20 16:46:12 +01:00
|
|
|
|
2005-02-03 18:54:50 +01:00
|
|
|
LICENSE= lame-license
|
2003-08-27 10:32:54 +02:00
|
|
|
|
2004-05-31 18:47:47 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2002-08-28 08:49:34 +02:00
|
|
|
USE_LIBTOOL= yes
|
2006-10-24 02:03:45 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2002-08-28 08:49:34 +02:00
|
|
|
|
2002-10-03 10:43:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-11-15 14:52:57 +01:00
|
|
|
CONFIGURE_ARGS+= --without-vorbis
|
1999-10-13 07:52:45 +02:00
|
|
|
|
2004-03-20 03:23:38 +01:00
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
2005-12-05 21:49:47 +01:00
|
|
|
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"
|
2000-11-15 14:52:57 +01:00
|
|
|
|
2005-05-31 18:04:28 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2000-11-15 14:52:57 +01:00
|
|
|
|
2002-10-03 10:43:29 +02:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
2004-02-11 09:33:51 +01:00
|
|
|
. include "../../math/libffm/buildlink3.mk"
|
2000-11-15 14:52:57 +01:00
|
|
|
# double is faster than float on Alpha
|
|
|
|
CFLAGS+= -O2 -Wall -fomit-frame-pointer -ffast-math -funroll-loops \
|
|
|
|
-mfp-regs -fschedule-insns -fschedule-insns2 \
|
2004-03-27 18:33:28 +01:00
|
|
|
-finline-functions -DFLOAT=double -DFLOAT_MAX=DBL_MAX
|
2000-11-15 14:52:57 +01:00
|
|
|
.endif
|
1999-08-08 05:12:09 +02:00
|
|
|
|
2006-10-23 03:30:34 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
|
2005-08-30 18:12:49 +02:00
|
|
|
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
|
|
|
|
CONFIGURE_ARGS+= --enable-nasm
|
|
|
|
.endif
|
|
|
|
|
2004-02-20 12:25:25 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
1999-08-08 05:12:09 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|