diff --git a/audio/alac_decoder/Makefile b/audio/alac_decoder/Makefile new file mode 100644 index 00000000000..fa6902eba59 --- /dev/null +++ b/audio/alac_decoder/Makefile @@ -0,0 +1,33 @@ +# $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 diff --git a/audio/alac_decoder/distinfo b/audio/alac_decoder/distinfo new file mode 100644 index 00000000000..a73f8d3d7a3 --- /dev/null +++ b/audio/alac_decoder/distinfo @@ -0,0 +1,5 @@ +MD5 (alac_decoder-0.2.0.tgz) = zsdcNfAQ02577ZGTW1fy0Q== +RMD160 (alac_decoder-0.2.0.tgz) = cmZN/07v9uSEMU9iX3QzfmC6Ofs= +SHA1 (alac_decoder-0.2.0.tgz) = piD2KT7y2UkJJ9Iew0G77/E+q+g= +SHA256 (alac_decoder-0.2.0.tgz) = f4+XilYZ5t+gPcFAmU/XJVAI14ivhIumrPnPuqPkEi8= +SIZE (alac_decoder-0.2.0.tgz) = 19019 diff --git a/audio/alac_decoder/pkg/DESCR b/audio/alac_decoder/pkg/DESCR new file mode 100644 index 00000000000..2c28910c03f --- /dev/null +++ b/audio/alac_decoder/pkg/DESCR @@ -0,0 +1,15 @@ +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. diff --git a/audio/alac_decoder/pkg/PLIST b/audio/alac_decoder/pkg/PLIST new file mode 100644 index 00000000000..84d693acbc5 --- /dev/null +++ b/audio/alac_decoder/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/02/28 11:16:18 bentley Exp $ +@bin bin/alac