pkgsrc/audio/flac/Makefile
wiz 741b01ba5d Update to 1.1.2:
New in this release are small decoding speedups for all platforms,
small encoding speedups in fast (non-LPC) mode, streaming support
in the XMMS plugin, and several bug fixes. For developers there
are also a few additions and changes to the metadata API to make
working with tags easier. See the changelog entry for complete
details. This release actually wasn't supposed to happen so soon,
but needed to be made to fix library naming and build problems in
FLAC 1.1.1 that caused trouble for package maintainers, so unless
you are having trouble with one of the particular bugs that got
fixed in 1.1.2 then there is not much of a need to upgrade.
2005-02-28 14:09:19 +00:00

49 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2005/02/28 14:09:19 wiz Exp $
DISTNAME= flac-1.1.2
CATEGORIES= audio archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://flac.sourceforge.net/
COMMENT= Free lossless audio codec
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
USE_GNU_TOOLS+= make
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ENV+= ac_cv_path_XMMS_CONFIG="no"
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
.endif
.if !empty(MACHINE_PLATFORM:M*-*-powerpc)
.if ${OPSYS} != "Darwin"
CONFIGURE_ARGS+= --disable-asm-optimizations
CONFIGURE_ARGS+= --disable-altivec
.endif
.endif
.include "../../mk/compiler.mk"
# This version of flac doesn't seem to build correctly with -O3 using
# the MIPSpro compiler.
.if !empty(PKGSRC_COMPILER:Mmipspro)
BUILDLINK_TRANSFORM+= rm:-O3
.endif
# SunPro does not support __inline
.if !empty(PKGSRC_COMPILER:Msunpro)
CFLAGS+= -D__inline=inline
.endif
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"