# -*- 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 compiler_blacklist_versions 1.0 PortGroup github 1.0 github.setup espeak-ng pcaudiolib 1.2 revision 2 checksums rmd160 9f9d15d3c4302d5e9003047c773e60f26a445dc2 \ sha256 6fae11e87425482acbb12c4e001282d329be097074573060f893349255d3664b \ size 377066 # Stealth update of 1.2 on August 18: # https://github.com/espeak-ng/pcaudiolib/issues/8 # Remove at next version update. dist_subdir ${name}/${version}_1 categories audio maintainers nomaintainer license GPL-3+ description Portable C Audio Library long_description The Portable C Audio Library (pcaudiolib) provides a C API to different audio devices. github.tarball_from releases depends_build-append \ port:pkgconfig depends_lib-append port:pulseaudio patchfiles dynamic_lookup-11.patch # https://github.com/espeak-ng/pcaudiolib/pull/25 patchfiles-append 0001-Fix-headers-for-macOS.patch # fatal error: 'stdatomic.h' file not found compiler.c_standard 2011 compiler.blacklist-append \ {clang < 601} configure.args-append \ --disable-silent-rules \ --with-coreaudio \ --with-pulseaudio \ --without-alsa \ --without-qsa test.run yes test.target check post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} \ AUTHORS \ ChangeLog \ CHANGELOG.md \ COPYING \ README.md \ ${destroot}${docdir} }