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

github.setup        knik0 faac 1.31.1 faac-
github.tarball_from archive
revision            0

categories          audio
license             Restrictive
maintainers         nomaintainer
description         ISO AAC audio encoder
long_description    FAAC is an AAC audio encoder. FAAC currently supports MPEG-4 \
                    LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW \
                    MPEG-2 object types. It also supports multichannel and \
                    gapless encoding.

checksums           rmd160  4d6dbe823f48bca4d11deb79ad9b26a89b67b86d \
                    sha256  3191bf1b131f1213221ed86f65c2dfabf22d41f6b3771e7e65b6d29478433527 \
                    size    244025

# error: use of undeclared identifier 'bit_SSE2'
compiler.blacklist-append   {clang < 500}
# error: cpuid.h: No such file or directory
compiler.blacklist-append   *gcc-4.0 *gcc-4.2
# This works around base not adding macports-gcc to the fallback list
# automatically on ppc prior to 2.6.2 (faac doesn't use C++ anyway)
# <https://trac.macports.org/ticket/59225>
compiler.cxx_standard

use_autoreconf      yes
