Ticket #24107: Patchfile-alac_decoder.diff

File Patchfile-alac_decoder.diff, 3.2 KB (added by ex_adres@…, 15 years ago)

The diff for the Portfile of the port 'alac_decoder' to update it from version 0.1.0 to 0.2.0

  • Portfile

    old new  
     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
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem       1.0
    45name             alac_decoder
    5 version          0.1.0
     6version          0.2.0
    67categories       audio
    78maintainers      nomaintainer
    8 description      basic decoder for Apple Lossless Audio Codec files
    9 long_description \
    10         This is a basic decoder for Apple Lossless Audio Codec files \
    11         (ALAC). ALAC is a proprietary lossless audio compression scheme. \
    12         Apple never released any documents on the format. What I provide \
    13         here is a C implementation of a decoder, written from reverse \
    14         engineering the file format. It turns out that most of the \
    15         algorithms in the codec are fairly well known. ALAC uses an \
    16         adaptive FIR prediction algorithm and stores the error values \
    17         using a modified rice or golumb algorithm.
     9description      Basic decoder for Apple Lossless Audio Codec files
     10long_description This is a basic decoder for Apple Lossless Audio Codec files (ALAC). \
     11                 ALAC is a proprietary lossless audio compression scheme. Apple never \
     12                 released any documents on the format. What is provided here is a C \
     13                 implementation of a decoder, written from reverse engineering the \
     14                 file format. It turns out that most of the algorithms in the codec \
     15                 are fairly well known. ALAC uses an adaptive FIR prediction algorithm \
     16                 and stores the error values using a modified Rice or Golomb algorithm. \
     17                 This program will not be able to handle all ALAC files, it can only \
     18                 handle mono or stereo files. ALAC allows up to 8 channels. The ALAC \
     19                 decoder supports both 16 and 24 bit sample sizes. The decoder is fairly \
     20                 self explanatory, it can read an ALAC stream from either a file or from \
     21                 stdin, and write it as raw PCM data or as a WAV file to either stdout or \
     22                 a file. In theory one should be able to stream data to the decoder.
     23
    1824homepage         http://craz.net/programs/itunes/alac.html
    1925platforms        darwin
    2026master_sites     http://craz.net/programs/itunes/files/
    21 checksums        md5 f554fc11ee41a30bc5baf15a0fd07256
     27checksums        md5 cec75c35f010d36e7bed91935b57f2d1 \
     28                 sha1 a620f6293ef2d9490927d21ec341bbeff13eabe8 \
     29                 rmd160 72664dff4eeff6e484314f625f74337e60ba39fb
     30
     31extract.suffix   .tgz
    2232
    2333worksrcdir       ${name}
    2434
     
    2737build.target
    2838
    2939destroot {
    30         xinstall -m 555 ${worksrcpath}/alac ${destroot}${prefix}/bin
    31         xinstall -d ${destroot}${prefix}/share/doc/${name}
    32         xinstall -m 444 ${worksrcpath}/README \
    33                 ${destroot}${prefix}/share/doc/${name}
     40    xinstall -m 755 ${worksrcpath}/alac ${destroot}${prefix}/bin
     41    xinstall -d ${destroot}${prefix}/share/doc/${name}
     42    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
    3443}
    3544
    3645livecheck.type  regex
    37 livecheck.regex "<li><b>(.+)</b>"
     46livecheck.regex "<li><b>(.+)</b>"
     47 No newline at end of file