Ticket #61658: pianod-329-port-patches.2.diff

File pianod-329-port-patches.2.diff, 2.6 KB (added by perette (Perette Barella), 3 years ago)

patchfile for pianod portfile, 175 to 329, revised with requests per Ryan

  • Portfile

    old new  
    33PortSystem          1.0
    44
    55name                pianod
    6 version             175
    7 revision            4
     6version             329
     7revision            0
    88categories          audio
    99platforms           darwin
    1010license             MIT
    1111maintainers         deviousfish.com:perette
    12 description         Pandora client daemon
    13 long_description    Client/server Pandora daemon with socket interface \
    14                     and HTML5 websocket support. \
    15                     Includes a shell script for command-line control. \
     12description         Music playing daemon with Pandora support
     13long_description    Client/server Pandora & local music daemon controllable \
     14                    via telnet or WebSocket.  Includes web client and \
     15                    a shell script for command-line control. \
    1616                    Supports multiple listeners with adjustable privileges, \
    1717                    automatic station selection, script to run \
    18                     programmed station sequences. \
    19                     Web-based remote control available at deviousfish.com.
     18                    programmed station sequences.
    2019
    2120homepage            http://deviousfish.com/Pianod
    22 master_sites        http://deviousfish.com/Downloads/pianod
     21master_sites        http://deviousfish.com/Downloads/pianod2
     22distname            pianod2-${version}
    2323
    24 checksums           rmd160  386f64cfb322945ebfacae06061941f0aab70336 \
    25                     sha256  19733d4937b48707eebcde75775d865d6bf925efa86d8989f0efb2392ab4cdf9
     24checksums           size    802609 \
     25                    rmd160  7c8eb6c4ee38d6e2cd2a1a0232457e2638f0b8c9 \
     26                    sha256  48f2409a0c033fc92ac90e2e4beafc736b119cdcd7532ab140f3cb32da5f7e68
    2627
    2728depends_build       port:pkgconfig
    2829
    29 depends_lib         port:libao \
    30                     port:libgcrypt \
    31                     port:gnutls \
    32                     port:json-c \
    33                     port:faad2 \
    34                     port:libmad
     30depends_lib         port:curl port:taglib
    3531
    3632configure.args      ac_cv_prog_AWK=/usr/bin/awk
    3733
     34if {${os.platform} eq "darwin" && ${os.major} <= 10} {
     35    depends_lib-append  port:ffmpeg port:libao
     36}
     37
    3838startupitem.create      yes
    3939startupitem.logfile     ${prefix}/var/log/pianod.log
    4040startupitem.executable  "${prefix}/bin/pianod"
    4141
    4242livecheck.type      regex
    4343livecheck.url       [lindex ${master_sites} 0]
    44 livecheck.regex     ${name}-(\[0-9\]+)${extract.suffix}
     44livecheck.regex     ${name}2-(\[0-9\]+)${extract.suffix}