# -*- 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
PortGroup legacysupport 1.0
legacysupport.newest_darwin_requires_legacy 10
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/
checksums rmd160 c795e46af4ca44d52bbb27c92f5cebc27e19d73d \
sha256 bdc73be1f007218d3ea6d2a503b38a217815a0e2ccc4ed441f6e850ed5d47cfb \
depends_build-append port:pkgconfig \
depends_skip_archcheck txt2man
depends_lib-append path:lib/libavcodec.dylib:ffmpeg \
patchfiles patch-wscript.diff \
configure.ldflags-delete \
configure.args-append --enable-fftw3f \
configure.post_args-delete --nocache
variant jack description {Enable jack support} {
configure.args-delete --disable-jack
depends_lib-append port:jack
livecheck.url ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"