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

    liblastfm  most recent diff


    version 0.3.0

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


      The liblastfm Portfile 59297 2009-10-13 08:15:07Z sharky macports.org $

      PortSystem 1.0

      Name: liblastfm
      Version: 0.3.0
      Revision: 2
      Category: audio
      Maintainers: nomaintainer
      Description: A set of libraries allowing use of the Last.fm site services.
      Long Description: liblastfm is a collection of libraries to help you integrate Last.fm services into your rich desktop software. It is officially supported software developed by Last.fm staff.
      Platform: darwin
      Homepage: http://www.last.fm
      Master Sites: http://cdn.last.fm/src/
      use_bzip2 yes
      Checksums: md5 3f73222ebc31635941832b01e7a494b6 sha1 1dabd8d67f4a36aebad29608c6f89b895472c25a rmd160 39098fe55f88c3831ab5b1380c1e978c2ef55aac

      depends_build port:ruby port:qt4-mac

      depends_lib port:libsamplerate port:fftw-3-single

      set qt qt4-mac
      set qtdir ${prefix}/libexec/${qt}

      configure.env PATH=${qtdir}/bin:$env(PATH)

      configure.pre_args --prefix ${prefix}
      configure.args --release

      build.env PATH=${qtdir}/bin:$env(PATH)

      # fix build failure on Snow Leopard
      Patch Files: patch-src-core-misc-cpp.patch

      # liblastfm libraries are not referencing their proper location.
      # Until we learn how to fix this properly, we fix it manually.
      post-destroot {
      system "install_name_tool -id ${prefix}/lib/liblastfm.0.dylib ${destroot}${prefix}/lib/liblastfm.dylib"
      system "install_name_tool -id ${prefix}/lib/liblastfm_fingerprint.0.dylib ${destroot}${prefix}/lib/liblastfm_fingerprint.dylib"
      system "install_name_tool -change liblastfm.0.dylib ${prefix}/lib/liblastfm.0.dylib ${destroot}${prefix}/lib/liblastfm_fingerprint.dylib"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.