# -*- 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 PortSystem 1.0 PortGroup cmake 1.1 PortGroup github 1.0 PortGroup qt5 1.0 epoch 1 github.setup hydrogen-music hydrogen 1.2.3 revision 0 checksums rmd160 93c296cc5a719ab29b113666cfe7d42aa969f11f \ sha256 47b374ca162538b4fd6bc042721f9c6ac60b8c0fec5e8b1a2ac885d8bb56b753 \ size 13692726 categories audio platforms macosx # https://github.com/hydrogen-music/hydrogen/issues/1239#issuecomment-854661271 license GPL-2+ maintainers nomaintainer 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. homepage http://hydrogen-music.org github.tarball_from archive # Needed to correctly set the install prefix using the cmake portgroup patchfiles patch-CMakeLists.txt.diff depends_build-append \ port:cppunit depends_lib-append port:libarchive \ port:libsndfile \ port:libtar \ port:pulseaudio \ port:zlib qt5.depends_component \ qttools \ qtxmlpatterns configure.args-append \ -DWANT_JACK:BOOL=OFF \ -DWANT_LRDF:BOOL=OFF \ -DWANT_SHARED:BOOL=ON post-destroot { move ${destroot}${prefix}/bin/hydrogen.app ${destroot}${applications_dir} } variant jack description {Compile with JACK support} { depends_lib-append port:jack configure.args-replace -DWANT_JACK:BOOL=OFF -DWANT_JACK:BOOL=ON } variant lrdf description {Compile with LRDF support} { depends_lib-append port:liblrdf configure.args-replace -DWANT_LRDF:BOOL=OFF -DWANT_LRDF:BOOL=ON }