# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
description library for sample rate conversion of audio data
long_description libsamplerate is a Sample Rate Converter for audio. \
The library is capable of arbitrary and time varying \
conversions from downsampling by a factor of 256 to \
upsampling by the same factor. Arbitrary in this case \
means that the ratio of input and output sample rates \
can be an irrational number. The conversion ratio can \
also vary with time for speeding up and slowing down effects.
homepage http://www.mega-nerd.com/libsamplerate/
checksums rmd160 ec6f3542b5e43f398ad7e5dfd9dc35902b06d762 \
sha256 0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1
depends_build port:pkgconfig
depends_lib port:libsndfile
patchfiles patch_examples_Makefile.in.diff
--enable-option-checking \
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README ${docdir}
livecheck.url ${homepage}download.html
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"