# -*- 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 # $Id$ PortSystem 1.0 name libao version 1.2.0 revision 1 categories audio maintainers nomaintainer description A Cross-platform Audio Library long_description libao is a way to easily add cross-platform audio output to your \ program. Output devices are implemented as dynamic plugins, and \ OSS, ESD, ALSA, aRTs, PulseAudio, Solaris, and Irix outputs are \ currently supported. homepage http://www.xiph.org/ao/ platforms darwin license GPL-2+ master_sites http://downloads.xiph.org/releases/ao/ checksums sha1 6b1d2c6a2e388e3bb6ebea158d51afef18aacc56 \ rmd160 00921bf311f8d7a2be1f860221811924402beebd post-patch { reinplace "s|/etc/libao.conf|${prefix}/etc/libao.conf|" \ ${worksrcpath}/CHANGES \ ${worksrcpath}/doc/config.html \ ${worksrcpath}/libao.conf.5 \ ${worksrcpath}/include/ao/ao_private.h \ } configure.args --disable-arts \ --disable-esd \ --disable-pulse \ --without-x platform darwin { post-destroot { system "echo default_driver=macosx >> ${destroot}${prefix}/etc/libao.conf" } } variant esd description {Enable Enlightened Sound Daemon support} { depends_lib-append port:esound configure.args-delete --disable-esd configure.args-append --enable-esd } variant pulse description {Enable PulseAudio support} { depends_lib-append port:pulseaudio configure.args-delete --disable-pulse configure.args-append --enable-pulse } livecheck.type regex livecheck.url ${master_sites}?C=M&O=D livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)