# -*- 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           cmake 1.1

name                soxr
version             0.1.3
categories          audio multimedia
platforms           darwin
license             LGPL-2+

master_sites        sourceforge:soxr
distname            ${name}-${version}-Source
use_xz              yes

maintainers         nomaintainer
description         One-dimensional sample-rate conversion library
long_description    The SoX Resampler library `libsoxr' performs \
                    one-dimensional sample-rate conversion—it may be used, \
                    for example, to resample PCM-encoded audio.\
                    \n\nIt aims to give fast and high quality results for any \
                    constant (rational or irrational) resampling ratio. \
                    Phase-response, preserved bandwidth, aliasing, and \
                    rejection level parameters are all configurable\; \
                    alternatively, simple `preset' configurations may be \
                    selected. An experimental, variable-rate resampling mode \
                    of operation is also included.
homepage            http://sourceforge.net/projects/soxr/

checksums           rmd160  11aea28f2a944982bcd42b1724150e1bf3d80779 \
                    sha256  b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889 \
                    size    94384

configure.args-append \
                    -DBUILD_TESTS=no

patchfiles          patch-pffft.c.diff

livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)-Source"
