# -*- 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 libopus version 1.6 categories audio license BSD maintainers {jeremyhu @jeremyhu} openmaintainer description The Opus Audio Codec (IETF RFC 6716), reference implementation 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://www.opus-codec.org master_sites https://ftp.osuosl.org/pub/xiph/releases/opus/ # Checking how to get X86 CPU Info... configure: error: # no supported Get CPU Info method, please disable intrinsics # Also fails on powerpc with Xcode gcc. compiler.blacklist-append \ *gcc-4.* {clang < 500} checksums rmd160 6a39ee404d6051913efbc759c37a4e2ea87e4584 \ sha256 b7637334527201fdfd6dd6a02e67aceffb0e5e60155bbd89175647a80301c92c \ size 36317446 distname opus-${version} depends_build-append \ path:bin/pkg-config:pkgconfig configure.args --disable-silent-rules platform darwin 10 { # See: https://trac.macports.org/ticket/64611 if {${build_arch} eq "ppc"} { configure.args-append --build=powerpc-apple-darwin${os.major} } } livecheck.type regex livecheck.url ${master_sites} livecheck.regex opus-(\[\\d.\]+)${extract.suffix}