source: trunk/dports/audio/alac_decoder/Portfile

Last change on this file was 124849, checked in by jmr@…, 3 years ago

alac_decoder: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 124849 2014-08-29 02:11:37Z ryandesign@macports.org $
3
4PortSystem       1.0
5
6name             alac_decoder
7version          0.2.0
8categories       audio
9license          MIT
10maintainers      nomaintainer
11description      Basic decoder for Apple Lossless Audio Codec files
12long_description This is a basic decoder for Apple Lossless Audio Codec files (ALAC). \
13                 ALAC is a proprietary lossless audio compression scheme. Apple never \
14                 released any documents on the format. What is provided here is a C \
15                 implementation of a decoder, written from reverse engineering the \
16                 file format. It turns out that most of the algorithms in the codec \
17                 are fairly well known. ALAC uses an adaptive FIR prediction algorithm \
18                 and stores the error values using a modified Rice or Golomb algorithm. \
19                 This program will not be able to handle all ALAC files, it can only \
20                 handle mono or stereo files. ALAC allows up to 8 channels. The ALAC \
21                 decoder supports both 16 and 24 bit sample sizes. The decoder is fairly \
22                 self explanatory, it can read an ALAC stream from either a file or from \
23                 stdin, and write it as raw PCM data or as a WAV file to either stdout or \
24                 a file. In theory one should be able to stream data to the decoder.
25
26homepage         http://craz.net/programs/itunes/alac.html
27platforms        darwin
28master_sites     http://craz.net/programs/itunes/files/
29checksums        md5 cec75c35f010d36e7bed91935b57f2d1 \
30                 sha1 a620f6293ef2d9490927d21ec341bbeff13eabe8 \
31                 rmd160 72664dff4eeff6e484314f625f74337e60ba39fb
32
33extract.suffix   .tgz
34
35worksrcdir       ${name}
36
37use_configure    no
38
39build.target
40
41destroot {
42    xinstall -m 755 ${worksrcpath}/alac ${destroot}${prefix}/bin
43    xinstall -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
45}
46
47livecheck.type  regex
48livecheck.regex "<li><b>(.+)</b>"
Note: See TracBrowser for help on using the repository browser.