Libao version 0.8.8 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 0.8.8

      View the most recent changes for the libao port at: libao.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libao.
      The raw portfile for libao 0.8.8 is located here:
      http://libao.darwinports.com/dports/audio/libao/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libao


      The libao Portfile 57810 2009-09-17 02:22:21Z toby macports.org $

      PortSystem 1.0

      Name: libao
      Version: 0.8.8
      Revision: 3
      Category: 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 support for OSS, ESD, ALSA, aRTs, Solaris, and Irix outputs are currently supported.
      Homepage: http://www.xiph.org/ao/
      Platform: darwin
      Master Sites: http://downloads.xiph.org/releases/ao/
      Checksums: md5 b92cba3cbcf1ee9bc221118a85d23dcd

      post-patch {
      reinplace "s|/etc/libao.conf|${prefix}/etc/libao.conf|" ${worksrcpath}/CHANGES ${worksrcpath}/doc/config.html ${worksrcpath}/libao.conf.5 ${worksrcpath}/src/ao_private.h }

      configure.args --disable-arts --disable-esd --disable-oss --disable-X

      platform darwin {
      if {${os.major} < 10} {
      patchfiles patch-AU-configure patch-AU-src__plugins__macosx__ao_macosx.c
      } else {
      patchfiles patch-AU-configure
      }
      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
      }

      livecheck.type regex
      livecheck.url ${master_sites}?C=M&O=D
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libao
      % sudo port install libao
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libao
      ---> Verifying checksum for libao
      ---> Extracting libao
      ---> Configuring libao
      ---> Building libao with target all
      ---> Staging libao into destroot
      ---> Installing libao
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libao with these commands:
      %  man libao
      % apropos libao
      % which libao
      % locate libao

     Where to find more information:

    Darwin Ports



    Lightbox this page.