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

    libsndfile  most recent diff


    version 1.0.20

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


      The libsndfile Portfile 51058 2009-05-17 03:11:25Z perry macports.org $

      PortSystem 1.0

      Name: libsndfile
      Version: 1.0.20
      Revision: 0
      Category: audio
      Maintainers: perry
      Platform: darwin

      Description: libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.
      Long Description: ${description}
      Homepage: http://www.mega-nerd.com/libsndfile/

      depends_build port:pkgconfig
      depends_lib port:flac port:libogg port:libvorbis

      Master Sites: ${homepage}

      Checksums: rmd160 873802efaa3f1e3303167fe1b7302fe2ab4cbd59

      configure.args --disable-alsa --disable-octave --disable-sqlite --enable-external-libs

      post-configure {
      system "ed - ${worksrcpath}/src/config.h < ${filespath}/src__config.h.ed"
      }

      if {[variant_isset no_external_libs] && ![variant_isset sqlite]} {
      depends_build-delete port:pkgconfig
      }

      Variant: no_external_libs description {Disable support for FLAC, Ogg and Vorbis} {
      depends_lib-delete port:flac port:libogg port:libvorbis

      configure.args-append --disable-external-libs
      configure.args-delete --enable-external-libs
      }

      Variant: octave description {Enable support for GNU Octave} {
      depends_build-append port:gsed
      depends_lib-append port:octave

      configure.args-append --enable-octave
      configure.args-delete --disable-octave
      }

      Variant: sqlite description {Enable support for SQLite} {
      depends_lib-append port:sqlite3

      configure.args-append --enable-sqlite
      configure.args-delete --disable-sqlite
      }

    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/libsndfile
      % sudo port install libsndfile
      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 libsndfile
      ---> Verifying checksum for libsndfile
      ---> Extracting libsndfile
      ---> Configuring libsndfile
      ---> Building libsndfile with target all
      ---> Staging libsndfile into destroot
      ---> Installing libsndfile
    - 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 libsndfile with these commands:
      %  man libsndfile
      % apropos libsndfile
      % which libsndfile
      % locate libsndfile

     Where to find more information:

    Darwin Ports



    Lightbox this page.