# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup waf 1.0 # strnlen PortGroup legacysupport 1.0 legacysupport.newest_darwin_requires_legacy 10 name aubio version 0.4.9 revision 0 checksums rmd160 6595c969e1c7ea84b667b35ea10dc0d8f3a6fc5b \ sha256 d48282ae4dab83b3dc94c16cf011bcb63835c1c02b515490e1883049c3d1f3da \ size 397604 license GPL-2 categories audio maintainers nomaintainer platforms darwin description audio labeling library long_description ${name} is a library for audio labeling. \ Its features include segmenting a sound file before each of its attacks, \ performing pitch detection, \ tapping the beat and producing MIDI streams from live audio. homepage https://aubio.org/ master_sites ${homepage}pub/ use_bzip2 yes depends_build-append port:pkgconfig \ port:txt2man depends_skip_archcheck txt2man depends_lib-append path:lib/libavcodec.dylib:ffmpeg \ port:fftw-3-single \ port:libsamplerate \ port:libsndfile patchfiles patch-wscript.diff configure.ldflags-delete \ -L${prefix}/lib configure.args-append --enable-fftw3f \ --disable-jack \ --notests # Mountain Lion and older lacks vDSP_DCT_CreateSetup function in Accelerate framework. if {${os.platform} eq "darwin" && ${os.major} < 13} { configure.args-append --disable-accelerate } configure.post_args-delete --nocache variant jack description {Enable jack support} { configure.args-delete --disable-jack depends_lib-append port:jack } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"