Hydrogen version 0.9.4-rc1-1 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    hydrogen  most recent diff


    version 0.9.4-rc1-1

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


      # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
      The hydrogen Portfile 58617 2009-10-02 01:36:09Z snc macports.org $

      PortSystem 1.0

      Name: hydrogen
      Version: 0.9.4-rc1-1
      Category: audio
      Platform: macosx
      Maintainers: xenith.org:xenith
      Homepage: http://www.hydrogen-music.org/
      Master Sites: sourceforge

      Description: Hydrogen is an advanced drum machine.
      Long Description: ${description} Its main goal is to provide professional yet simple and intuitive pattern-based drum programming.

      Checksums: md5 88f036f32153843997837a95c46ecbc5 sha1 33e5691cb16defec282f17226778a477cde2d3d7 rmd160 c575b81f8a82177c63e36be7a10fa27e0d830e79

      depends_build port:scons

      depends_lib port:qt4-mac port:flac port:libsndfile port:libtar

      Patch Files: patch-Sconstruct.diff patch-qt4.py.diff

      post-patch {
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/Sconstruct
      reinplace "s| LDFLAGS |${configure.ldflags}|g" ${worksrcpath}/Sconstruct
      }

      use_configure no

      use_parallel_build yes

      build.cmd scons
      build.target
      build.args DESTDIR=${destroot} prefix=${prefix} alsa=0 coreaudio=1 flac=1 jack=0 lash=0 libarchive=0 lrdf=0 oss=0 portaudio=0 portmidi=0
      build.env QTDIR=${prefix}/libexec/qt4-mac

      destroot {
      set hydrogen_app ${destroot}${applications_dir}/Hydrogen.app
      xinstall -d ${hydrogen_app}/Contents/MacOS ${hydrogen_app}/Contents/Resources
      xinstall -m 755 ${worksrcpath}/hydrogen ${hydrogen_app}/Contents/MacOS/Hydrogen
      copy ${worksrcpath}/data ${worksrcpath}/macos/Hydrogen.icns ${hydrogen_app}/Contents/Resources
      copy ${filespath}/Info.plist ${hydrogen_app}/Contents
      reinplace "s| VERSION |${version}|g" ${hydrogen_app}/Contents/Info.plist
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.