# -*- 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
maintainers {darkcog.com:casr+macports @casr} \
homepage http://libsound.io/
description cross-platform audio input and output
long_description libsoundio is a lightweight abstraction over \
various sound drivers. It provides a \
well-documented API that operates consistently \
regardless of the sound driver it connects to. \
It performs no buffering or processing on your \
behalf\; instead exposing the raw power of the \
master_sites http://libsound.io/release/
checksums rmd160 61b8416e3feb9d6299b443c3e455cb2b0a2de350 \
sha256 ba0b21397cb3e29dc8f51ed213ae27625f05398c01aefcfbaa860fab42a84281
configure.args-append -DBUILD_EXAMPLE_PROGRAMS=Off \
-DENABLE_PULSEAUDIO=Off \
variant pulseaudio description {Enable PulseAudio support} {
depends_build-append port:pulseaudio
configure.args-replace -DENABLE_PULSEAUDIO=Off -DENABLE_PULSEAUDIO=On
# As PulseAudio is a build time only dependency we may as well let the
# buildbot take care of this
default_variants +pulseaudio
if {${os.platform} eq "darwin" && ${os.major} < 14} {
ui_error "${name} ${version} requires macOS 10.10 or greater."
return -code error "incompatible macOS version"
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}