pkgsrc/audio/lame/Makefile
wiz 531cf3d0be Update to 3.98.3:
LAME 3.98.3    February 27 2010

    * Rogério Brito:
	  o Update the debian packaging for the new release.
    * Robert Hegemann
	  o The ignore-tag-errors switch had no effect when embedding
	  album art, fixed.
	  o Library API change: lame_decode functions are now
	  obsolete but still present, please use hip_decode instead.
	  The reason for this change is: lame_decode functions use
	  a single global variable within the library to store
	  decoder setup, hip_decode functions don't. The encoder
	  now uses hip_decode internally and it is now possible to
	  use clipdetect feature while reencoding mp3 to mp3.
	  o Workaround for FFMPEG bug, which uses to call
	  lame_encode_flush more than once in a loop.
	  o Windows: program icon and version info added (when
	  building with VC9)
	  o Fix for Bugtracker item [ 2688413 ] lib name problem
	  in Microsoft Visual Studio 6
	  o Fix for Bugtracker items [ 2051870, 2423650, 2928684
	  ] several small documentation issues
	  o Fix for Bugtracker item [ 2723518 ] resampling in 3.98
	  and 3.99alpha
	  o Fix for Bugtracker item [ 2891879 ] Because of Windows
	  API change, there was a problem with the prority switch.
	  o Fix for Bugtracker item [ 2893101 ] Access Violation
	  in BladeMP3EncDLL if UNICODE was defined.
	  o Fix for Bugtracker item [ 2887359 ] Wrong length in
	  ID3v2 tag when num_samples isn't set
	  o Fix for Bugtracker item [ 2872590 ] LameTAG: "Music
	  length" missmatch in LAME 3.98
	  o Fix for Bugtracker item [ 2824296 ] wrong enc_padding
	  value in LAME 3.99a and 3.98.3 (from CVS)
	  o Revisiting the FhG decoder problem (FhG V1.5 build 50,
	  ships with MS Windows): enabling the new-drain-code seems
	  to solve that issue better, than restricting the buffer
	  size (see below: 3.98 beta 1, May 16 2007).
	  o Patch submitted by Bernhard Doebler, tracker item [
	  2807676 ] Error when building Lame with NASM support
	  o Patch submitted by Mancuso Raffaele, tracker item [
	  2406420 ] compile lame_enc.dll under cygwin
2010-03-15 10:08:30 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.65 2010/03/15 10:08:30 wiz Exp $
DISTNAME= lame-3.98.3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lame/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lame.sourceforge.net/
COMMENT= Fast, high quality MP3 encoder
LICENSE= lame-license
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
LDFLAGS.SunOS+= -lm
.include "options.mk"
.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
.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin" && ${OPSYS} != "Interix"
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
CONFIGURE_ARGS+= --enable-nasm
.endif
.if !empty(PKGSRC_COMPILER:Msunpro)
CONFIGURE_ENV+= ac_cv_header_xmmintrin_h=no
.endif
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"