# -*- 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
PortGroup           legacysupport 1.1

# getline
legacysupport.newest_darwin_requires_legacy 10

github.setup        audeering opensmile 3.0.2 v
categories          audio
maintainers         nomaintainer
# See: https://github.com/audeering/opensmile/blob/master/LICENSE
license             Restrictive

description         Open-source audio processing toolkit

long_description    openSMILE (open-source Speech and Music Interpretation \
                    by Large-space Extraction) is a complete and open-source \
                    toolkit for audio analysis, processing and classification \
                    especially targeted at speech and music applications, \
                    e.g. automatic speech recognition, speaker identification, \
                    emotion recognition, or beat tracking and chord detection.

checksums           rmd160  6a4b3947987077492efd84efb11fa70d85bb2203 \
                    sha256  b423c785c948e6e8d5b84c002419875ba456f048f5f86ce29f5e21bba9ef5bdd \
                    size    4788935
github.tarball_from archive

compiler.cxx_standard   2011

variant portaudio description {Build with PortAudio support} {
    depends_lib-append port:portaudio
    configure.args-append -DWITH_PORTAUDIO=ON
}

variant ffmpeg description {Build with FFmpeg support} {
    depends_lib-append port:portaudio
    configure.args-append -DWITH_FFMPEG=ON
}

variant no_static description {Do not build the OpenSMILE static library} {
    configure.args-append -DSTATIC_LINK=OFF
}
