# -*- 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           python 1.0

name                py-encodec
version             0.1.1
revision            0

categories-append   audio science
platforms           {darwin any}
supported_archs     noarch
license             Noncommercial
maintainers         {pguyot @pguyot} openmaintainer

description         High fidelity neural audio codec

long_description    EnCodec is a high fidelity neural audio codec from \
                    Meta AI Research providing state-of-the-art audio \
                    compression using neural networks.

homepage            https://github.com/facebookresearch/encodec

checksums           rmd160  89a286385a874e0814f6d0a3f1dbeb010cb3a5d4 \
                    sha256  36dde98ccfe6c51a15576476cadfcb3b35a63507b8b8555abd69889a6fba6772 \
                    size    3736037

python.versions     313 314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-einops \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pytorch \
                    port:py${python.version}-torchaudio
}
