Ticket #61658: pianod-343-port-patches.diff
File pianod-343-port-patches.diff, 3.2 KB (added by perette (Perette Barella), 4 years ago) |
---|
-
Portfile
old new 1 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 122412 2014-07-22 12:41:54Z ryandesign@macports.org $3 2 4 3 PortSystem 1.0 5 4 6 5 name pianod 7 version 1758 revision 16 version 343 7 revision 0 9 8 categories audio 10 9 platforms darwin 11 10 license MIT 12 11 maintainers deviousfish.com:perette 13 description Pandora client daemon14 long_description Client/server Pandora daemon with socket interface \15 and HTML5 websocket support.\16 Includesa shell script for command-line control. \12 description Music playing daemon with Pandora support 13 long_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. \ 17 16 Supports multiple listeners with adjustable privileges, \ 18 17 automatic station selection, script to run \ 19 programmed station sequences. \ 20 Web-based remote control available at deviousfish.com. 18 programmed station sequences. 21 19 22 20 homepage http://deviousfish.com/Pianod 23 master_sites http://deviousfish.com/Downloads/pianod 21 master_sites http://deviousfish.com/Downloads/pianod2 22 distname pianod2-${version} 24 23 25 checksums rmd160 386f64cfb322945ebfacae06061941f0aab70336 \ 26 sha256 19733d4937b48707eebcde75775d865d6bf925efa86d8989f0efb2392ab4cdf9 24 checksums size 826654 \ 25 rmd160 37688ee5051dde49c94f65b94616e3a2bd092569 \ 26 sha256 188d1f27f7ccba209ae48125ce48912afc0031b31e671243b4f91eae655c6cf6 27 27 28 28 depends_build port:pkgconfig 29 29 30 depends_lib port:libao \ 31 port:libgcrypt \ 32 port:gnutls \ 33 port:json-c \ 34 port:faad2 \ 35 port:libmad 30 depends_lib port:curl port:taglib 36 31 37 configure.args ac_cv_prog_AWK=/usr/bin/awk 32 configure.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 36 if {${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 } 38 42 39 43 startupitem.create yes 40 44 startupitem.logfile ${prefix}/var/log/pianod.log … … 42 46 43 47 livecheck.type regex 44 48 livecheck.url [lindex ${master_sites} 0] 45 livecheck.regex ${name} -(\[0-9\]+)${extract.suffix}49 livecheck.regex ${name}2-(\[0-9\]+)${extract.suffix}