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

name            opus-tools
version         0.2
revision        2
categories      audio
license         BSD GPL-2
maintainers     {jeremyhu @jeremyhu} openmaintainer
description     The Opus Audio Codec (IETF RFC 6716), refrence implementation tools

long_description \
    Opus is the first state-of-the-art, fully Free and Open audio codec \
    ratified by a major standards organization.  It is reportedly better than \
    all pre-existing codecs across the spectrum for voice, audio, archival, \
    and real-time uses.

homepage        https://opus-codec.org/
master_sites    https://archive.mozilla.org/pub/opus/

depends_lib     port:libopus port:libogg port:flac port:libopusenc port:opusfile
depends_build   port:pkgconfig

checksums           rmd160  236b05a0cfbb1e03340c0e99bcef888b01ecf36e \
                    sha256  b4e56cb00d3e509acfba9a9b627ffd8273b876b4e2408642259f6da28fa0ff86 \
                    size    457680

compiler.blacklist  gcc-4.0 *gcc-4.2 {clang < 300}

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex ${name}-(\[\\d.\]+)${extract.suffix}
