source: trunk/dports/audio/libao/Portfile @ 129902

Last change on this file since 129902 was 129902, checked in by rmstonecipher@…, 5 years ago

audio/libao upgraded version from 1.1.0 to 1.2.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 129902 2014-12-22 22:20:58Z rmstonecipher@macports.org $
2
3PortSystem 1.0
4
5name             libao
6version          1.2.0
7categories       audio
8maintainers      nomaintainer
9description      A Cross-platform Audio Library
10long_description \
11    libao is a way to easily add cross-platform audio output to your \
12    program. Output devices are implemented as dynamic plugins, and \
13    support for OSS, ESD, ALSA, aRTs, Solaris, and Irix outputs are \
14    currently supported.
15homepage         http://www.xiph.org/ao/
16platforms        darwin
17license          GPL-2+
18master_sites     http://downloads.xiph.org/releases/ao/
19
20checksums           sha1    6b1d2c6a2e388e3bb6ebea158d51afef18aacc56 \
21                    rmd160  00921bf311f8d7a2be1f860221811924402beebd
22
23post-patch {
24        reinplace "s|/etc/libao.conf|${prefix}/etc/libao.conf|" \
25                ${worksrcpath}/CHANGES \
26                ${worksrcpath}/doc/config.html \
27                ${worksrcpath}/libao.conf.5 \
28                ${worksrcpath}/include/ao/ao_private.h \
29}
30
31configure.args   --disable-arts --disable-esd \
32                 --disable-oss --disable-X
33
34platform darwin {
35    post-destroot {
36        system "echo default_driver=macosx >> ${destroot}${prefix}/etc/libao.conf"
37    }
38}
39
40variant esd description {Enable Enlightened Sound Daemon support} {
41    depends_lib-append    port:esound
42    configure.args-delete --disable-esd
43    configure.args-append --enable-esd
44}
45
46livecheck.type   regex
47livecheck.url    ${master_sites}?C=M&O=D
48livecheck.regex  ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.