5e938ba715
alac_decoder is a basic decoder for Apple Lossless Audio Codec files (ALAC). It is a C implementation of a decoder, written from reverse engineering the file format. ALAC uses an adaptive FIR prediction algorithm and stores the error values using a modified rice or golumb algorithm. The program located here will not be able to handle all ALAC files, it can only handle mono or stereo files. ALAC allows up to 8 channels. The ALAC decoder supports both 16 and 24 bit sample sizes. The decoder can read an ALAC stream from either a file or from stdin, and write it as raw PCM data or as a WAV file to either stdout or a file. An encoder is not provided. ok sthen@
34 lines
654 B
Makefile
34 lines
654 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/02/28 11:16:18 bentley Exp $
|
|
|
|
COMMENT = basic Apple Lossless Audio Codec decoder
|
|
|
|
DISTNAME = alac_decoder-0.2.0
|
|
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = http://crazney.net/programs/itunes/alac.html
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += c
|
|
|
|
MASTER_SITES = http://crazney.net/programs/itunes/files/
|
|
EXTRACT_SUFX = .tgz
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -Wall"
|
|
|
|
WRKDIST = ${WRKDIR}/alac_decoder
|
|
|
|
ALL_TARGET = alac
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/alac ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|