# -*- 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
# TODO: Improve atomics by using libkern/OSAtomics.h
# https://bugs.freedesktop.org/show_bug.cgi?id=67795
PortGroup active_variants 1.1
PortGroup compiler_blacklist_versions 1.0
license LGPL-2.1+ MIT BSD
maintainers {ionic @Ionic} openmaintainer
description A sound server for POSIX OSes
long_description PulseAudio is a sound server for POSIX OSes, meaning that it is a proxy \
for your sound applications. It allows you to do advanced operations \
on your sound data as it passes between your application and your hardware. \
Things like transferring the audio to a different machine, changing the \
sample format or channel count and mixing several sounds into one are \
easily achieved using a sound server.
homepage https://www.freedesktop.org/wiki/Software/PulseAudio/
master_sites https://www.freedesktop.org/software/${name}/releases/
checksums rmd160 44e6f70aab8cb514208016fc7ec90996a21837d8 \
sha256 5d93bccbfedc2510bd1766a0e66a5f0c3da8064d3464248c8c9b979f36a6612b \
depends_build port:pkgconfig \
port:p${perl_branch}-xml-parser
depends_lib port:libiconv \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/libspeexdsp.dylib:speexDSP \
# configure falls back to libatomic_ops as last resort
# if no linux kernel support and inline asm snippet fails to build
# likely to fail on Leopard and older
# https://trac.macports.org/ticket/42052
depends_lib-append port:libatomic_ops