# -*- coding: utf-8; 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           github 1.0
PortGroup           cmake 1.1

platforms           darwin macosx
categories          audio
license             Boost-1
maintainers         {ra1nb0w @ra1nb0w} openmaintainer

description         A DSP digital filtering library - IIR/FIR filtering
long_description    {*}${description}

github.setup        audiofilter spuce 0.4.3
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  492a296d34105c1a032cb02ebd58599616fee87e \
                    sha256  53dc8fcb8ab8230e59b06242436b015ac67550ef21eb6b5a1b10fddb938a2a72 \
                    size    4167961
revision            0

compiler.cxx_standard 2011

configure.args-append \
    -DENABLE_GUI=off \
    -DBUILD_TESTING=off

variant qtgui description {QT apps for illustration purposes fir_plot, iir_plot, window_plot and other_plot} {
    PortGroup               qt5 1.0
    qt5.depends_component   qtbase
    configure.args-replace  -DENABLE_GUI=off -DENABLE_GUI=on
}
