# -*- 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
# $Id: Portfile 115258 2013-12-30 09:07:17Z jeremyhu@macports.org $

PortSystem      1.0
PortGroup       muniversal 1.0
PortGroup       compiler_blacklist_versions 1.0

name            opus-tools
version         0.1.8
categories      audio
license         BSD
platforms       darwin
maintainers     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        http://www.opus-codec.org
master_sites    http://downloads.xiph.org/releases/opus

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

checksums           sha1    71e3cf393399af0231d86434923093ca79eea8ab \
                    rmd160  62e8034f0142fd2cc63fc0bd9eb6c1cac7709bcc \
                    sha256  e4e188579ea1c4e4d5066460d4a7214a7eafe3539e9a4466fdc98af41ba4a2f6

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

use_parallel_build  yes

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