# -*- 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
PortGroup               github 1.0

github.setup            hoene libmysofa 1.3.5 v
revision                0
categories              audio devel
maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
license                 BSD

description             Reader for AES SOFA files to get better HRTFs
long_description        ${name} is a simple set of C functions to read AES SOFA files, \
                        if they contain HRTFs stored according to the AES69-2015 standard.

checksums               rmd160  e61f010e6ff365e5365f1ce0145cb4539689c7fb \
                        sha256  f29508c335c83d8703f943ffc9ca783ac39aca84e851357f13a55af0f8143137 \
                        size    208427964
github.tarball_from     archive

depends_lib-append      port:zlib

configure.args-append   -DBUILD_TESTS=OFF

variant tests description "Enable tests" {
    test.run            yes
    configure.args-replace \
                        -DBUILD_TESTS=OFF \
                        -DBUILD_TESTS=ON
    depends_test-append port:cunit
}
