Ticket #61658: pianod-343-port-patches.diff

File pianod-343-port-patches.diff, 3.2 KB (added by perette (Perette Barella), 3 years ago)

Further revised patch to straight from 175 to 343.

  • Portfile

    old new  
    11# -*- 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 122412 2014-07-22 12:41:54Z ryandesign@macports.org $
    32
    43PortSystem          1.0
    54
    65name                pianod
    7 version             175
    8 revision            1
     6version             343
     7revision            0
    98categories          audio
    109platforms           darwin
    1110license             MIT
    1211maintainers         deviousfish.com:perette
    13 description         Pandora client daemon
    14 long_description    Client/server Pandora daemon with socket interface \
    15                     and HTML5 websocket support. \
    16                     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. \
    1716                    Supports multiple listeners with adjustable privileges, \
    1817                    automatic station selection, script to run \
    19                     programmed station sequences. \
    20                     Web-based remote control available at deviousfish.com.
     18                    programmed station sequences.
    2119
    2220homepage            http://deviousfish.com/Pianod
    23 master_sites        http://deviousfish.com/Downloads/pianod
     21master_sites        http://deviousfish.com/Downloads/pianod2
     22distname            pianod2-${version}
    2423
    25 checksums           rmd160  386f64cfb322945ebfacae06061941f0aab70336 \
    26                     sha256  19733d4937b48707eebcde75775d865d6bf925efa86d8989f0efb2392ab4cdf9
     24checksums           size    826654 \
     25                    rmd160  37688ee5051dde49c94f65b94616e3a2bd092569 \
     26                    sha256  188d1f27f7ccba209ae48125ce48912afc0031b31e671243b4f91eae655c6cf6
    2727
    2828depends_build       port:pkgconfig
    2929
    30 depends_lib         port:libao \
    31                     port:libgcrypt \
    32                     port:gnutls \
    33                     port:json-c \
    34                     port:faad2 \
    35                     port:libmad
     30depends_lib         port:curl port:taglib
    3631
    37 configure.args      ac_cv_prog_AWK=/usr/bin/awk
     32configure.args      ac_cv_prog_AWK=/usr/bin/awk \
     33                    OBJCXXFLAGS="-std=c++14" \
     34                    --with-engine=osx --with-tls=osx --without-libsdl --without-libao --without-accesscontrol --without-compression
     35
     36if {${os.platform} eq "darwin" && ${os.major} <= 10} {
     37    depends_lib-append  port:ffmpeg port:libao
     38    configure.args     ac_cv_prog_AWK=/usr/bin/awk \
     39                       OBJCXXFLAGS="-std=c++14" \
     40                       --with-engine=ffmpeg --with-tls=osx --without-libsdl --without-accesscontrol --without-compression
     41}
    3842
    3943startupitem.create      yes
    4044startupitem.logfile     ${prefix}/var/log/pianod.log
     
    4246
    4347livecheck.type      regex
    4448livecheck.url       [lindex ${master_sites} 0]
    45 livecheck.regex     ${name}-(\[0-9\]+)${extract.suffix}
     49livecheck.regex     ${name}2-(\[0-9\]+)${extract.suffix}